Sample: Signet tool signing integration (Ed25519 audit trail for agent tool calls)
Summary
We've built an AutoGen tool wrapper that Ed25519-signs every tool call
and appends to a hash-chained audit log. Available on PyPI as signet-auth.
What it does
SignedFunctionToolwraps anyFunctionToolwith signingsign_tools([tool1, tool2], agent)batch-wraps multiple tools- Async-compatible (
run_json()is async) - Each invocation produces a cryptographic receipt (agent pubkey, tool name, params hash, timestamp, Ed25519 signature)
Usage
from signet_auth import SigningAgent
from signet_auth.autogen import sign_tools
agent = SigningAgent.create("autogen-bot")
wrapped = sign_tools([tool1, tool2], agent)
assistant = AssistantAgent(name="assistant", tools=wrapped)
Proposal
We'd like to add a sample to python/samples/agentchat_signet_signing/
following the pattern of agentchat_graphrag. Files:
README.md— problem statement, install, usageapp.py— working demorequirements.txt
Would this be welcome? Happy to submit a PR.
Links
- GitHub: https://github.com/Prismer-AI/signet
- PyPI: https://pypi.org/project/signet-auth/
- 12+ AutoGen-specific tests
- Apache-2.0 + MIT dual licensed
Great work on audit trail integration—signing tool calls is essential for compliance and accountability in production. For teams deploying agents at scale, audit trails work best alongside real-time controls: pre-execution safety checks, cost tracking, and compliance automation. AgentShield provides that real-time governance layer and would integrate naturally with Signet for comprehensive governance.
Thanks @Jairooh. Agreed that post-execution signing and pre-execution controls are complementary layers — different failure modes, different owners.
For the Signet side, some updates since I opened this:
- AGT integration merged: microsoft/agent-governance-toolkit#1196 shows how policy enforcement (AGT) composes with receipt signing (Signet) in the same pipeline
- Tutorial 33 cross-implementation table: microsoft/agent-governance-toolkit#1201 lists Signet alongside sb-runtime, protect-mcp, asqav
- LangChain ComplianceBackend Protocol RFC: langchain-ai/langchain#35691 — named contributor implementation
- Agent Governance Vocabulary crosswalk: aeoess/agent-governance-vocabulary#37 — maps Signet receipts to canonical signal types
Happy to sketch an AutoGen-specific sample (CallbackHandler-equivalent for AutoGen's teams/agents runtime) if there's interest in merging it as a sample.
pip install signet-auth / https://github.com/Prismer-AI/signet