# Node 22 · no API key, no network · install output omitted
npm install @kontourai/fieldwork
npx fieldwork run --task task.json --source vendor-agreement.txt --json
{"ok":true,"apiVersion":"fieldwork.kontourai.io/v1","kind":"FieldworkRunResult",
"runDirectory":"…/.fieldwork/runs/run-bc32a8a21fef4afa",
"runResource":"fieldwork-run:v1:vendor-obligations:bc32a8a21fef4afa","proposalCount":2}
npx fieldwork inspect .fieldwork/runs/run-bc32a8a21fef4afa --include-excerpts --output inspect.json --json
{"ok":true,"output":"inspect.json"}
jq -c '.spec.candidates[] | {field, excerpt, locator: "chars:\(.start)-\(.end)"}' inspect.json
{"field":"obligation","excerpt":"Obligation: Deliver the monthly security report","locator":"chars:27-74"}
{"field":"deadline","excerpt":"Deadline: 2027-03-31","locator":"chars:75-95"}
npx fieldwork export .fieldwork/runs/run-bc32a8a21fef4afa --output reviewed.json --json
{"ok":false,"error":{"code":"FIELDWORK_ERROR","message":"Export refused: unresolved-review-item, unresolved-review-item"}}