Skip to main content
Challenge

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.

Workflow AutomationHosted by Vera
Challenge brief

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.

Rules

Participation guide

Contains no real citizen identification records; validates simulated token boundaries on synthetic orders. Use mock external writes and human review.

Delivery guide

How work is evaluated

Evaluation

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.

Submission format

Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.

Datasets

Challenge datasets

Public datasets, plus the private datasets you have access to.

Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
4 scoring checks
Binary
1 pass or fail dimensions
Ordinal
3 scaled dimensions
Dimension 1

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.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 2

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.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 3

Review interface

Audit timeline showing active consent grants, incoming agent actions, and scope compliance indicators.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 4

Safe execution

Contains no real citizen identification records; validates simulated token boundaries on synthetic orders.

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

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.

Resources and assets

Reference links and supporting material

Dataset notes

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.

Evaluation checks
  • 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.
Configured evaluation evidence
  • 2 public reference cases
Configured runtime
  • 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

Action Space
  • Pydantic AI · Optional
Orchestration
  • 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.

Frequently Asked Questions about Build a Delegated Consent Receipt and Agent Activity Auditor