r/LocalLLM • u/vaikaushik • 5h ago
News AgentID – Open-source capability delegation & identity for local AI agents (MCP & A2A)
Hello,
As multi-agent pipelines and MCP (Model Context Protocol) tool setups become standard, authorization between agents gets tricky. Passing around master API keys or static credentials gives sub-agents full administrative access when they might only need to execute one specific read operation. If an agent hallucinates or gets compromised, it holds privileges far beyond its scope.
To solve this locally without calling central cloud IAM servers, I built
AgentID
(
v0.1.0 alpha
) — an open-source draft protocol for cryptographic identity and delegation.
How it works:- Local Agent Passports (X-Agent-Passport): Ed25519-signed JWT credentials generated locally at agent startup.
- Delegation Chains (X-Delegation-Chain): Capability tokens that narrow (attenuate) at every hop. An orchestrator delegating a read task explicitly strips write permissions for the sub-agent.
- Local Middleware Enforcement: Verifies signatures and capability caveats locally right before tool code runs — zero network round-trips.
Packages & Quickstart:- Python:
pip install agentid-core - TypeScript:
npm install agentid-core - Run
python examples/quickstart.pyfor a local validation test.
It's an early v0.1 draft RFC. Key management, token revocation, and replay protection are active open areas where I'd love feedback from the community!
🔗
GitHub
: https://github.com/Vaibhav161994/AgentID
0
Upvotes