← All ivy-agents
IVYXSTUDIO · IVY AGENT
C

Contract Validation

ivy.agent.contract-validation · v1.0.0

ivyx

Extract contract details from a PDF, validate them against a numeric schema, and report results.

Steps

In the order the agent's file lists them. A branch or a loop is a step too; the wiring between steps is in the file.

  1. 01
    PDF Text
    ivy.node.pdf-text
    Ivy Node
  2. 02
    extract JSON fields from the extracted text
    Model turn
  3. 03
    Schema Validator
    ivy.node.schema-validator
    Ivy Node

Nodes it brings

Adding this agent in IVYX Studio adds these nodes with it. A node your workspace already has is kept as it is, even at another version.

What it touches

Collected from what each of its nodes declares, plus the model call when a step is a model turn. A declaration is the author's statement, and it is what policy rules select on.

Calls a model

Inputs

FieldTypeDescription
pathrequiredstringPath to the PDF file.

Outputs

FieldTypeDescription
pagesarrayEach page's text.
page_countintegerHow many pages the PDF has.
contract_jsonobjectthe extracted fields
validbooleanTrue when no problem was found.
problemsarrayOne sentence per problem, each naming the path.

Tests

2 of 2 test cases passed on Oct 1, 2026, in the publisher's own environment, before this version was published. The registry keeps that record; it does not run the cases again.

Requires: python:3.9

  • service-agreement

    Terms of a 12-month service agreement, checked against the schema.

  • maintenance-agreement

    Another contract gives other terms.