autogen - 💡(How to fix) Fix Feature: Cryptographic action receipts for enterprise agent governance (AAR) [26 comments, 12 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
microsoft/autogen#7353Fetched 2026-04-08 00:39:44
View on GitHub
Comments
26
Participants
12
Timeline
36
Reactions
0

Code Example

npm install botindex-aar
RAW_BUFFERClick to expand / collapse

Problem

AutoGen enables multi-agent conversations and workflows for enterprise use cases. Enterprise deployments require verifiable audit trails — not just logs, but cryptographic proof of:

  • Which agent was instructed to do what
  • What each agent actually executed
  • What data was consumed and produced
  • Whether outputs were tampered with between agents

Current observability (LLM traces, conversation logs) captures what happened but can't prove it to an external auditor or compliance system.

Proposal: Agent Action Receipt (AAR) Integration

AAR v1.0 provides exactly this:

  • Ed25519 signatures over canonicalized JSON (JCS-SORTED-UTF8-NOWS)
  • SHA-256 input/output hashing — proves data without revealing sensitive content
  • Selective disclosure — share minimum information per party (aligned with Mastercard's Verifiable Intent standard)
  • Chain-able receipts — multi-agent conversations produce a verifiable receipt chain

Enterprise relevance

  • Mastercard Verifiable Intent (announced March 5, 2026 with Google, IBM, Fiserv) — AAR includes bidirectional mapping
  • HIPAA/SOC2 audit requirements → AAR provides non-repudiable action evidence
  • x402 (Coinbase) compatible for agent payment verification

SDK

npm install botindex-aar

TypeScript. Single dependency (tweetnacl). Express middleware or manual builder. Python SDK in development.

Happy to discuss integration approach or contribute a PR. MIT licensed.

extent analysis

Fix Plan

To integrate Agent Action Receipt (AAR) into AutoGen for verifiable audit trails, follow these steps:

  • Install the botindex-aar SDK using npm:
npm install botindex-aar
  • Import the SDK in your TypeScript code:
import { buildReceipt } from 'botindex-aar';
  • Create a function to generate AARs for agent actions:
function generateAAR(action: string, inputData: string, outputData: string): string {
  const receipt = buildReceipt({
    action,
    input: inputData,
    output: outputData,
  });
  return receipt;
}
  • Integrate the AAR generation function into your agent workflow:
const action = 'agent-instructed-action';
const inputData = 'sensitive-input-data';
const outputData = 'generated-output-data';
const aar = generateAAR(action, inputData, outputData);
console.log(aar);
  • Use the botindex-aar SDK as Express middleware to automate AAR generation for incoming requests:
import express from 'express';
import { aarMiddleware } from 'botindex-aar';

const app = express();
app.use(aarMiddleware());

Verification

To verify that the AAR integration is working correctly:

  • Check the console output for the generated AAR
  • Verify that the AAR contains the expected action, input, and output data
  • Use the botindex-aar SDK to validate the AAR and ensure it has not been tampered with

Extra Tips

  • Ensure that sensitive input and output data is properly hashed using SHA-256 to prevent exposure
  • Use the selective disclosure feature to share only the minimum required information with external parties
  • Consider contributing to the botindex-aar SDK to improve its functionality and compatibility with your use case.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING