AgentLock v1.0.0 - The Open Authorization Standard for AI Agents
AgentLock v1.0.0
The first release of AgentLock — the open authorization standard for AI agent tool calls.
What's included
- Core authorization gate with deny-by-default enforcement
- Pydantic v2 schema for tool permission definitions
- Single-use, time-limited, operation-bound execution tokens
- Role-based access control
- Scope enforcement (data boundaries, max records, allowed recipients)
- Per-user per-session rate limiting
- PII detection and auto-redaction
- Structured denial responses with reason codes
- Audit logging (minimal/standard/full levels)
- @agentlock decorator for one-line tool protection
- CLI: validate, schema, init, inspect, audit
- Framework integrations: LangChain, CrewAI, AutoGen, MCP, FastAPI, Flask
- JSON schema for tool definition validation
- 267 tests passing, zero lint errors, zero type errors
Install
pip install agentlock
Links
- Interactive demo: https://agentlock.dev
- Documentation: https://github.com/webpro255/agentlock/tree/main/docs
- PyPI: https://pypi.org/project/agentlock/