← All ivy-agents
IVYXSTUDIO · IVY AGENT
C

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.

  1. 01
    PDF Text
    ivy.node.pdf-text
    Ivy Node
  2. 02
    prepare context for Jev risk assessment
    Model turn
  3. 03
    Jev · Choice
    ivy.node.jev-choice
    Ivy Node
  4. 04
    prepare context for Jev auto-renewal check
    Model turn
  5. 05
    Jev · Noul
    ivy.node.jev-noul
    Ivy Node
  6. 06
    compose the Markdown summary with file name, risk level and auto-renewal answer
    Model turn
  7. 07
    File Write
    ivy.node.file-write
    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.

Writes filesCalls a modelNetwork

What it needs

  • A stored secret named jev-api-key. The agent's file carries the name, never the value.

Inputs

FieldTypeDescription
pathrequiredstringPath to the PDF file.

Outputs

FieldTypeDescription
pagesarrayEach page's text.
page_countintegerHow many pages the PDF has.
risk_contextstringthe PDF text
isobjectFor each option, as lowercase words joined by _, whether it is the one chosen; a branch reads is.<option>.
confidencenumber0–1, how peaked the probabilities are.
probabilitiesobjectEach option's probability; they add up to 1.
modelstringThe model version that answered.
renewal_contextstringthe PDF text
noulnumberThe probability that the answer is yes, 0 to 1.
thresholdnumberThe threshold used.
summarystringthe Markdown note content
pathstringThe absolute path written.
bytesintegerHow 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.