Open standard for protecting API keys, tokens, and secrets. From environment variables to hardware security modules.
from avp import Vault
from langchain_anthropic import ChatAnthropic
# Connect to hardware vault
vault = Vault("avp+usb:///dev/ttyACM0")
vault.authenticate(pin="******")
# API key from secure hardware
api_key = vault.retrieve("anthropic_api_key")
# Use with AI framework
llm = ChatAnthropic(api_key=api_key)
response = llm.invoke("Hello, Claude!")
Leaked in logs, process dumps, and error messages. Visible to any process on the system.
Accidentally committed to git. Backed up to cloud. Readable by other users.
Still software-based. Single point of failure. Complex setup and maintenance.
AVP provides a unified interface for credential management across all security levels
One API for file-based, keychain, hardware, and remote backends. Switch backends without changing code.
Optional hardware-backed storage with TROPIC01 secure element. Keys never leave the chip.
Works with LangChain, CrewAI, ZeroClaw, and any custom agent. Just import and use.
Apache 2.0 licensed. Community-driven. No vendor lock-in. Build your own implementation.
DISCOVER
Query capabilities
AUTHENTICATE
Start session
STORE
Save secret
RETRIEVE
Get secret
DELETE
Remove secret
LIST
List secrets
ROTATE
Update secret
Official clients and framework integrations
Python client library
pip install avp-py
TypeScript/Node.js client
npm install @avp/client
Rust client library
cargo add avp-rs
Go client library
go get avp-protocol/avp-go
Hardware Security Key for AI Agents
The first USB security key designed specifically for AI agents. Store your API keys in tamper-resistant silicon with TROPIC01 secure element.
Start with the specification, pick your implementation, and protect your credentials today.