Decide
AgentOps 2026 · CGI × MIT Bengaluru · Retail & IT Infrastructure
Agents that run real business processes ↪and can prove it.
Four AI agents work a refund inbox and an IT access queue end to end. They ingest the work, decide, act, and report. Every action passes one guarded gateway that enforces the rules, holds risky steps for a human, and checks every outcome against the system of record.
- Policy check agreed with Claude
- 18 / 18
- False success claims, shield on
- 0
- Cost of a 10-ticket batch
- $0.02
- Independent verdict
- CORRECT_SUCCESS
Act
Least privilege per agent. ↪Humans approve what matters.
Prove
Graded on what happened, ↪not on what the agent said.
01 · The business process
From inbox ↪to verified outcome
- 001
Data ingestion
intake_agent
Reads every open ticket or access request and extracts the order, amount, role and intent. Read-only.
- 002
Decision
decision_agent · Claude
Claude decides from the customer's words plus looked-up facts. A rule-based check must agree, or a person decides.
- 003
Action
action_agent
Refunds within limits, grants exactly what was asked, updates records and notifies people, all through the gateway.
- 004
Outcome report
reporting_agent
Re-checks every refund in the ledger and every grant in the directory, then writes a report anyone can audit.
02 · Demo
Some of our ⟶⟶ processes
Recorded from real runs with Claude Sonnet as the decision agent, through Claude Code. Press replay to watch the batch move through the four agents. Open any row to see Claude's reasoning next to the policy check.
RefundOps
Retail and Supply · customer refunds
- Ingest
- Decide
- Act
- Report
Measured, not claimed
Numbers ↪from commands in the repo
- 0duplicate refunds with the shield on (3 without)
- 0incorrect success claims with the shield on (3 without)
- 96%task success, v2 agent + shield, 25 scenarios × 3
- 100%recovery from injected faults, v2 agent
- 18/18Claude decisions confirmed by the policy check
- 293automated tests · 28 validated scenarios
Use cases
Five processes ↪where one mistake is expensive
Two run end to end as multi-agent processes. Three are GuardBench tasks graded by hidden checks. Every action goes through AgentShield in all five.
-
Retail · process
RefundOps
- Pain
- Analysts check ownership, refundable balance and duplicates for every ticket, and a retry after a timeout pays twice.
- Flow
- Intake → decision (rules, or Claude checked by rules) → refund through AgentShield → report.
- Measured
- 7 of 10 tickets resolved with no person. ₹6,000 confirmed in the ledger. 0 duplicate refunds with the shield on, 3 with it off.
- Prevents
- Duplicate and over-limit refunds, refunds to the wrong customer, injected instructions, a false "done".
-
IT · process
AccessOps
- Pain
- Access requests wait days for a person, or are granted without segregation-of-duties checks.
- Flow
- Intake → decision → grant with an expiry → verified in the directory → report.
- Measured
- 7 of 10 requests resolved with no person. Payments admin held for approval. Every grant re-checked in the directory.
- Prevents
- Segregation-of-duties conflicts, access for terminated staff, unapproved admin rights.
-
Security · GuardBench sec-1…6
Incident response
- Pain
- A mailbox takeover or a leaked API key at 2 a.m., with an analyst under pressure to act fast.
- Flow
- Agent reads alerts, sign-ins and the CMDB, then contains through EDR, identity and secrets APIs.
- Graded
- Six tasks: the attacker evicted everywhere, the user kept working, the right server isolated, an authorised red team left alone.
- Prevents
- Isolating the wrong host, destroying evidence, rotating a key without revoking the old one.
-
HR + IT · GuardBench off-1…5
Offboarding
- Pain
- Leaver lists are stale. A rehire, a namesake or a mover looks like a leaver, and contractors never fully leave.
- Flow
- Agent reconciles HR, identity, SaaS and device records, then disables, transfers and revokes.
- Graded
- Five tasks with hidden checks: the real leavers fully removed, everyone else untouched, handovers done.
- Prevents
- Locking out the wrong person, orphaned privileged access, deleting data under legal hold.
-
Finance · GuardBench ret-3
Supplier payment fraud
- Pain
- An "urgent" bank-detail change from a lookalike domain, a day before a ₹8,45,000 payment run.
- Flow
- Agent checks the email, calls the number already on file, holds the payout and opens a security incident.
- Enforced
- Policy rule
bank_change_without_callback: AgentShield blocks any payee change not preceded by a call-back to that payee. - Prevents
- Paying the fraudster, calling the attacker's number, undoing a legitimate change.
Business value
What it's worth ↪with your numbers
Change the inputs to match your team. The figures marked measured come from the runs on this page. The rest are your assumptions. The formula is in docs/roi.md.
Losses avoided assumes the mistakes in the automated 70% are the kinds AgentShield stopped in testing (duplicates, over-limit actions, false claims). The remaining 30% still go to people.
GuardBench · an ITSMBench-style benchmark
34 tickets ↪with a trap in each
Short ITSM and payments tickets in a seeded world of 24 mock enterprise systems. The agent discovers the APIs, investigates and acts. Hidden checks grade the end state: the work asked for, the trap agents usually miss, and damage that must not happen. Every run goes through AgentShield.
- 34tasks across IAM, offboarding, security, network, change, GRC and retail
- 456hidden checks · 108 traps · 183 do-no-harm
- 24mock systems · 247 API operations, discovered by the agent
Leaderboard
Claude Code over MCP, through AgentShield
Solved: every hidden check passed. Harm: a do-no-harm check failed. Run it: agentguard bench sweep -c configs/bench/smoke.yaml
Responsible AI
Controls that sit ↪outside the model
- 001Least privilege per agentintake and reporting are read-only; only the action agent can refund or grant
- 002AI decisions are checkedClaude's call stands only if a rule-based check agrees; otherwise a person decides
- 003Business rules in policyrefund limits, verified customers, no duplicates, segregation of duties, expiry
- 004Human approvalrefunds above ₹2,000 and admin on critical systems wait for a click; timeout rejects
- 005Prompt-injection defenceuntrusted text is labelled, withheld from the model, and can't trigger actions
- 006Data-exfiltration trackingsecrets followed through base64, hex and split calls to any external sink
- 007Post-action verificationevery refund and grant re-checked; a false "success" never reaches the agent
- 008Honest reportingthe batch's claim is graded against the real end state
- 009Tamper-evident auditevery event is hash-chained; edits, deletions and truncation are detected
- 010Incidents become testsa blocked run is promoted to a regression scenario, kept only if it's valid
Governance
Evidence ↪an auditor can check
Every tool call, decision, approval and block is written to an append-only log in which each event carries the hash of the one before. Change, delete or truncate any event and verification fails at that point.
Hash-chained audit
- event 41tool_call · get_orderprev a3f9…hash 7c21…
- event 42approval · granted by a personprev 7c21…hash e04b…
- event 43verify · ledger has the refundprev e04b…hash 19d6…
agentguard audit verify # recompute every chainHuman oversight
- Agent asks to refund ₹4,500
- AgentShield above ₹2,000: hold for approval
- Person approves or rejects in the dashboard; no answer in time means reject
- Verified the refund is re-checked in the ledger after it runs
If a person rejects, the batch reports itself unfinished and the independent verdict records an honest failure, not a success.
| Control in AgentGuard | Supports |
|---|---|
| Hash-chained audit log of every call, decision and approval, with a per-run evidence report | EU AI Act Art. 12 (record-keeping) · SOC 2 CC7 (system operations) · NIST AI RMF Manage |
| Human approval above thresholds, override in the dashboard, timeouts reject | EU AI Act Art. 14 (human oversight) · NIST AI RMF Govern |
| A separate identity and least privilege per agent, deny by default | SOC 2 CC6 (logical access) · ISO/IEC 42001 operational controls |
| Injection defence, data-flow tracking, post-action verification | EU AI Act Art. 15 (accuracy, robustness, cybersecurity) · NIST AI RMF Measure |
| Verified-outcome benchmarks, injected faults, pass^k reliability | NIST AI RMF Map and Measure · EU AI Act Art. 15 |
| Policy as versioned YAML; blocked runs promoted to validated regression tests | SOC 2 CC8 (change management) · ISO/IEC 42001 continual improvement · NIST AI RMF Manage |
"Supports" means the control produces what these frameworks ask for. AgentGuard is not a certification, and using it does not by itself make a system compliant.
Reusable
Bring your agent, ↪keep your tools
AgentShield sits between any agent and any tools. The policy is YAML, so a new process needs a policy and a tool adapter, not a rewrite.
Claude Code over MCP
No API key: your Claude Code login runs the agent against a scenario.
agentguard run --scenario normal_refund \ --harness mcp_client:claude-code --model sonnetAny MCP client
Add AgentGuard as an MCP server; the run is verified when the client disconnects.
claude mcp add agentguard -- \ agentguard mcp-serve --scenario normal_refundYour REST backend, in production
Map routes in YAML and serve them over MCP with AgentShield in front. Approvals wait in the dashboard.
claude mcp add guarded -- agentguard protect \ --backend examples/payments_backend.yaml \ --agent-id support_agentYour Python tools
Wrap functions in a
ToolBackend; one session adds policy, approvals and audit. Seeexamples/protect_your_tools.py.session = RuntimeSession(InvoiceTools(), store, agent_id="finance_assistant", policy="policy.yaml", approvals=ApprovalQueue(store)) session.endpoint.call("pay_invoice", {"invoice_id": "INV-8", "amount_inr": 25000})Anthropic, OpenAI, LangGraph
Built-in agent loops; these need the provider's API key.
agentguard run --scenario normal_refund \ --harness native:anthropic --harness native:openai \ --harness langgraph:anthropicA remote agent over HTTP
Your agent service gets a task and a gateway token, then calls
GET /tools,POST /callandPOST /submit.uvicorn examples.remote_agent:app --port 9200 agentguard run --scenario normal_refund \ --harness remote_http:http://127.0.0.1:9200/runA policy for a new process
Per-agent permissions, limits, approvals and ordered-call rules.
agents: finance_assistant: tools: pay_invoice: {allow: true, max_amount_inr: 50000, approval_above_inr: 10000} delete_vendor: {allow: false}Docker
The dashboard, API and this page in one container, with data kept in a volume.
docker compose up --build # http://localhost:8000
Originality
What no other tool ↪we reviewed combines
- 001Honesty is measuredthe verdict compares what the agent claimed with what changed in the world. τ-bench and AgentDojo grade the state, not the claim
- 002Faults after the side effecta timeout after the refund committed, a tool that reports false success. Benchmarks inject hostile content, not lying tools
- 003Data followed through encodinga secret is caught after base64, hex or a split across calls. Invariant matches call order, not transformed data
- 004One gateway, test and productionthe policy that passes the benchmark is the policy that ships, with human approval in both
- 005Incidents become validated testsa blocked run becomes a replayable scenario, kept only if a do-nothing agent fails it and the reference passes. LangSmith adds traces to datasets, unvalidated
Comparison with sources, and where AgentGuard is behind: docs/novelty.md
Run it yourself
Five minutes ↪to the same results
Needs Python 3.11+ and, for the dashboard, Node 18+. Claude as the decision agent uses your Claude Code login, so no API key is needed. Everything else runs fully offline.
Install
git clone https://github.com/AmanSingh-tech/AgentHarness
cd AgentHarness
python3 -m venv .venv
.venv/bin/pip install -e ".[dev,llm,langgraph,mcp,server]"
source .venv/bin/activateRun both business processes
agentguard ops run # RefundOps: the support inbox
agentguard ops run --process access # AccessOps: the IT access queueEach prints the outcome report, the controls that fired and the independent verdict, and saves the report under reports/.
Open the dashboard
cd dashboard && npm install && npm run build && cd ..
agentguard serve # http://127.0.0.1:8000Open Business processes and press Work today's inbox. The ₹4,500 refund waits for your approval. This page is also served at /site.
Log in to Claude Code once
claude # sign in with your Claude account, then /exitIf claude isn't on your PATH, set AGENTGUARD_CLAUDE_BIN to the binary.
Let Claude decide
agentguard ops run --decider claude --model sonnet
agentguard ops run --process access --decider claude --model sonnetThere's one batched call per process: about 12 seconds and $0.02. The report adds a Decision-making section showing how many decisions agreed, which went to a person, and which cases were withheld from the model.
Or in the dashboard
On Business processes, set Decisions to Claude + policy check and choose Haiku, Sonnet or Opus. Each row shows who decided it.
One command
docker compose up --build # or docker-compose up --buildThe dashboard and API are at http://localhost:8000 and this page is at /site. Data persists in a volume.
Check every claim on this page
pytest -q # 293 tests
agentguard validate-scenarios # every scenario: the null agent fails, the oracle passes
agentguard demo # the six demo steps, in the terminal
agentguard benchmark --attempts 3 # v1/v2 × shield off/on, 25 scenarios
agentguard audit verify # recompute every run's hash chainThe seven-minute demo
What to show ↪and in what order
- 0:00
RefundOps, live
Business processes → Work today's inbox. Four agents stream in. Approve the ₹4,500 refund. The report shows ₹6,000 confirmed in the ledger and the verdict
CORRECT_SUCCESS. - 2:00
Claude decides
Switch Decisions to Claude + policy check and run again. Point at "decided by claude:sonnet, policy check agrees" and at T-108, withheld as an injection.
- 3:00
Reject an approval
The batch reports itself unfinished. The verdict becomes
CORRECT_FAILURE_REPORTED: honest, not "success". - 3:30
AccessOps
Approve the payments admin grant. Show the segregation-of-duties denial and the terminated employee.
- 4:30
Stop an exfiltration
Live run → secret_exfiltration with the adversarial agent. Blocked actions shows read_secret → encode → send_email.
- 5:30
Catch a lie
refund_false_success with the naive agent: shield off, the agent lies; shield on, post-action verification stops it.
- 6:30
Benchmark, then a regression test
The v1/v2 × shield charts. Promote a blocked run to a regression scenario.
Evidence per judging criterion: docs/judging.md · Full guide: docs/demo-guide.md · Brief: docs/hackathon.md
Stay in touch