Releases: sunilp/aip
Releases · sunilp/aip
aip-core v0.3.0 — A2A binding + interactive site
[0.3.0] - 2026-05-08
Added
- New
aip_a2amodule: AIP binding for the Agent-to-Agent (A2A) protocol.verify_a2a_task()— verify chained tokens carried in A2A taskmetadata.aip_tokenappend_delegation_block()— extend a chain before forwarding a taskA2AVerifyMiddleware— framework-agnostic wrapper for A2A task handlersparse_aip_identity()— extract and validate theaip_identityextension from agent cards- A2A-specific error types:
AudienceError,ScopeError,ChainError,ExpiryError,DepthError
- Rendered specification at https://sunilprakash.com/aip/spec/.
- Interactive protocol page at https://sunilprakash.com/aip/paper/ (verification flow, chain viewer, attack simulator).
Changed
agent-identity-protocolpackage now ships four sub-packages:aip_core,aip_token,aip_mcp,aip_a2a.ChainedToken.authorize()now correctly handles delegated tokens with budget constraints (was previously failing on any chained token withbudget_centsset on a delegation block) and explicitly enforces scope attenuation across delegation hops.
Notes
- No breaking changes. All
aip_core,aip_token,aip_mcpimports continue to work unchanged.
v0.2.0 — MCP Auth Proxy
What's New
aip-proxy CLI
Drop-in MCP authentication proxy that wraps any MCP server with AIP token verification. One command to add cryptographic identity to your MCP setup:
pip install agent-identity-protocol
aip-proxy --config proxy.tomlSecurity Self-Audit
New aip_mcp.audit module provides automated security analysis of AIP tokens:
- Token hygiene (expiry, audience binding, signature strength)
- Scope safety (overprivileged tokens, wildcard detection)
- Budget limits (missing or excessive spend ceilings)
- Chain integrity (delegation depth, attenuation violations)
Full Changelog
aip-proxyCLI entry pointaip_mcp.audit-- security self-audit for compact and chained tokensaip_mcp.config-- TOML-based proxy configurationaip_mcp.proxy-- HTTP proxy server for MCP transports__version__attribute added toaip_core- CHANGELOG.md added
Install: pip install agent-identity-protocol==0.2.0
Install with framework adapters: pip install aip-agents[all]==0.2.0
Links: