Evidence the run may read
- Invoice and time narratives
- Engagement terms and billing guidelines
- Matter and budget context
Compare invoice lines with approved engagement and billing guidance and prepare exceptions for legal operations.
Search intent: AI agent for legal invoice review
An outside counsel invoice enters review.
qualified legal reviewer
An authorized legal or finance owner approves payment, adjustment, or counsel follow-up.
legal invoice review time (minutes). Measure complete invoice to authorized disposition.
Each stage produces an artifact another stage can inspect. The final node is a person, not an autonomous write to an external system.
Validate and normalize the outside counsel invoice review inputs.
Produce the guideline comparison.
Produce the exception and question list.
Challenge the outside counsel invoice review result and prepare an approval packet.
An authorized legal or finance owner approves payment, adjustment, or counsel follow-up.
Source material is read-only. Drafts land in a case-specific output path. Tools may read or propose; the human gate owns the external write.
workspace/legal/outside-counsel-invoice-review/inputs/**Read only the evidence attached to this workflow instance.
workspace/legal/outside-counsel-invoice-review/outputs/**Write drafts and evidence artifacts without modifying source records.
legal:outside-counsel-invoice-review:read-or-proposeInvoke only tools explicitly granted for this run; external writes remain gated.
The blueprint starts private, caps its DAG, disables replanning, and exposes no public endpoint. Add only the tools and data adapters this workflow has approved.
name: legal-outside-counsel-invoice-review
version: 0.1.0
entrypoint: agent:BlueprintAgent
expose:
public: false
composition:
planning: deterministic_dag
max_nodes: 6
max_parallel: 1
max_replans: 0Every material conclusion cites an input artifact or a scoped tool result from this run.
Every exception identifies the line, guideline, amount, and evidence; the agent never moves funds.
The run stops at a proposal and records the human decision before any external side effect.
Containment: Return a partial result with unresolved items; do not broaden scope or perform an external write.
Operator: Attach the missing evidence, narrow the brief, or explicitly approve a new scoped run.
Containment: Stop the affected branch and preserve completed artifacts in the case output workspace.
Operator: Grant only the missing resource or continue with that branch marked out of scope.
Current platform receipts sign caller identity or classification, skill, bounded input evidence, verified grant IDs when present, outcome or result preview, and timing. Optional file, tool, artifact, handoff, evaluation, and review fields require separate instrumentation and are not populated by default. Price, fees, payouts, and later human approvals remain separate platform records.
The example uses only fields populated by the current platform sealing paths. It is illustrative, not a record of a real customer run.
{
"receipt_id": "rcpt_01J...",
"schema_version": 1,
"agent_name": "legal-outside-counsel-invoice-review",
"caller": "user:workflow-owner",
"task_id": "case_outside_counsel_invoice_review",
"skill_name": "outside_counsel_invoice_review",
"input_hash": "4d7c...9a2f",
"grant_ids": [
"grt_case_inputs",
"grt_tool_propose"
],
"status": "ok",
"result_preview": "Output prepared: Guideline comparison. Human decision remains separate.",
"elapsed_ms": 4218
}Normalize a contract request, identify document and owner gaps, and route it under the approved legal intake policy.
Compare an NDA with an approved template and prepare a clause-level deviation packet for counsel.
Extract specified clauses and attributes with source locations and confidence for a legal reviewer to verify.
Deploy the workflow as a bounded internal agent, verify its outputs and the receipt fields actually emitted, then expand only the scopes your acceptance test proves it needs.