Build a Delegated Consent Receipt and Agent Activity Auditor
Inspect delegated agent actions across e-commerce procurement workflows against user consent receipts. Verify authorization bounds, time-to-live expirations, and permissible transaction values.
What you are building
The core problem, expected build, and operating context for this challenge.
Inspect delegated agent actions across e-commerce procurement workflows against user consent receipts. Verify authorization bounds, time-to-live expirations, and permissible transaction values.
Digital Governance Auditor
Parse machine-readable consent receipts containing delegation scopes and expiry timestamps.
Ingest simulated autonomous agent transaction logs from buyer platform adapters.
Compare item purchase categories and monetary values against authorized consent thresholds.
Emit audit reports flagging out-of-scope actions and revoking breached delegation tokens.
Audit timeline showing active consent grants, incoming agent actions, and scope compliance indicators.
Generate synthetic JSON consent receipts and mocked Beckn order transaction records. Starter examples below are synthetic. They are not downloaded records.
ONDC protocol specifications Uses ONDC open network transaction semantics to validate delegated ordering requests against buyer intent.
pydantic-ai, sqlmodel, rich. Enforces strict typing and condition checking on consent receipt bounds and audit claims. Local or hosted LLM for explaining discrepancy reasons in human-readable terms.
Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.
Accurately detects transactions that exceed permitted spending thresholds.
Validates consent expiry timestamps against transaction receipt context.
Outputs structured compliance scorecards with explicit violation line-items.
Maintains an immutable mock ledger of evaluated transactions.
```json [ { "input": { "consent_receipt": { "consent_id": "CON-101", "delegate_agent_id": "AGT-AUTO-BUY", "allowed_categories": [ "grocery", "stationery" ], "max_transaction_inr": 2000, "valid_until": "2026-12-31T23:59:59Z" }, "transaction_event": { "event_id": "EVT-881", "timestamp": "2026-05-10T10:15:00Z", "category": "grocery", "amount_inr": 1450, "item_count": 4 } }, "expected_output": { "status": "APPROVED", "consent_valid": true, "violations": [] } }, { "input": { "consent_receipt": { "consent_id": "CON-102", "delegate_agent_id": "AGT-AUTO-BUY", "allowed_categories": [ "stationery" ], "max_transaction_inr": 500, "valid_until": "2026-06-01T00:00:00Z" }, "transaction_event": { "event_id": "EVT-882", "timestamp": "2026-06-02T11:00:00Z", "category": "electronics", "amount_inr": 1200, "item_count": 1 } }, "expected_output": { "status": "BLOCKED", "consent_valid": false, "violations": [ "CONSENT_EXPIRED", "UNAUTHORIZED_CATEGORY_ELECTRONICS", "SPEND_LIMIT_EXCEEDED" ] } } ] ```
Contains no real citizen identification records; validates simulated token boundaries on synthetic orders. Use mock external writes. Require human review before any real deployment.
Participation guide
Contains no real citizen identification records; validates simulated token boundaries on synthetic orders. Use mock external writes and human review.
How work is evaluated
Accurately detects transactions that exceed permitted spending thresholds. Validates consent expiry timestamps against transaction receipt context. Outputs structured compliance scorecards with explicit violation line-items. Maintains an immutable mock ledger of evaluated transactions.
Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
Complete workflow
Parse machine-readable consent receipts containing delegation scopes and expiry timestamps. Ingest simulated autonomous agent transaction logs from buyer platform adapters. Compare item purchase categories and monetary values against authorized consent thresholds. Emit audit reports flagging out-of-scope actions and revoking breached delegation tokens.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Correctness and evidence
Accurately detects transactions that exceed permitted spending thresholds. Validates consent expiry timestamps against transaction receipt context. Outputs structured compliance scorecards with explicit violation line-items. Maintains an immutable mock ledger of evaluated transactions.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Review interface
Audit timeline showing active consent grants, incoming agent actions, and scope compliance indicators.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Safe execution
Contains no real citizen identification records; validates simulated token boundaries on synthetic orders.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Parse machine-readable consent receipts containing delegation scopes and expiry timestamps.
Ingest simulated autonomous agent transaction logs from buyer platform adapters.
Compare item purchase categories and monetary values against authorized consent thresholds.
Emit audit reports flagging out-of-scope actions and revoking breached delegation tokens.
Reference links and supporting material
Generate synthetic JSON consent receipts and mocked Beckn order transaction records. Supplied starter examples are synthetic, not source extracts.
Challenge setup
Configuration summary for this challenge.
Challenge input
Input details are not configured.
Pydantic AI
Typed Python agent framework.
Evaluated output
No output checks are configured.
- Parse machine-readable consent receipts containing delegation scopes and expiry timestamps. Ingest simulate...
- Accurately detects transactions that exceed permitted spending thresholds. Validates consent expiry timesta...
- Audit timeline showing active consent grants, incoming agent actions, and scope compliance indicators.
- 2 public reference cases
- 2 configured tools
Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.
View technical recipe
Configured tools
- Pydantic AI · Optional
- Pydantic AI · Optional
Evaluation contract
- Complete workflow · Weight 40
- Correctness and evidence · Weight 30
- Review interface · Weight 20
- Safe execution · Weight 10
Reference cases
- 2 public reference cases
Workflow tasks
No workflow tasks are configured.
Recipe freeze marker
No recipe freeze time is recorded.