Contract Risk Analysis
ivy.agent.contract-risk-triage · v1.0.0
ivyx
Analyze a contract PDF, determine risk level and auto-renewal status using Jev, and write a Markdown summary.
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.
- 01Ivy NodePDF Textivy.node.pdf-text
- 02Model turnprepare context for Jev risk assessment
- 03Ivy NodeJev · Choiceivy.node.jev-choice
- 04Model turnprepare context for Jev auto-renewal check
- 05Ivy NodeJev · Noulivy.node.jev-noul
- 06Model turncompose the Markdown summary with file name, risk level and auto-renewal answer
- 07Ivy NodeFile Writeivy.node.file-write
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.
What it needs
- A stored secret named
jev-api-key. The agent's file carries the name, never the value.
Inputs
| Field | Type | Description |
|---|---|---|
| pathrequired | string | Path to the PDF file. |
Outputs
| Field | Type | Description |
|---|---|---|
| pages | array | Each page's text. |
| page_count | integer | How many pages the PDF has. |
| risk_context | string | the PDF text |
| is | object | For each option, as lowercase words joined by _, whether it is the one chosen; a branch reads is.<option>. |
| confidence | number | 0–1, how peaked the probabilities are. |
| probabilities | object | Each option's probability; they add up to 1. |
| model | string | The model version that answered. |
| renewal_context | string | the PDF text |
| noul | number | The probability that the answer is yes, 0 to 1. |
| threshold | number | The threshold used. |
| summary | string | the Markdown note content |
| path | string | The absolute path written. |
| bytes | integer | How many bytes were written. |
Tests
2 of 2 test cases passed on Oct 2, 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: the stored secret jev-api-key, python:3.9
- service-agreement
The service agreement's note names contract.pdf and is written to reports/contract-risk.md.
- maintenance-agreement
The maintenance agreement's note names contract-b.pdf.