Observed since 20 Oct, 23:38 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Zero-trust credential manager for AI agents — Python SDK
Read-only Python SDK for agent-vault — a zero-trust credential manager for AI agents.
pip install agent-vault
# With MCP server support:
pip install 'agent-vault[mcp]'
from agent_vault import Vault
vault = Vault(
repo_path="/path/to/vault",
key_path="~/.agent-vault/agents/my-agent.key",
)
# Pull latest and decrypt
api_key = vault.get("stripe/api-key")
The SDK resolves the identity key in this order:
key_str= parameter (raw key string)key_path= parameter (path to key file)AGENT_VAULT_KEY environment variable (key as string)~/.agent-vault/owner.key (default owner key)Vault(repo_path, key_path=None, key_str=None, auto_pull=True)Create a read-only vault connection.
repo_path: Path to the Git repo containing .agent-vault/key_path: Path to an age private key filekey_str: Raw age private key stringauto_pull: Git pull before each get() (default: True)vault.get(secret_path) -> strDecrypt and return a secret. Raises SecretNotFoundError or NotAuthorizedError.
vault.list_secrets(group=None) -> list[SecretMetadata]List secret metadata without decrypting.
vault.list_agents() -> list[dict]List agents and their group memberships.
vault.pull()Manually pull latest changes from Git remote.
vault.reload()Reload the manifest from disk (e.g., after a pull).
The package includes an MCP server for use with MCP-compatible AI agents:
agent-vault-mcp --repo /path/to/vault --key ~/.agent-vault/agents/my-agent.key
This runs a stdio-based MCP server exposing:
agent_vault_get(secret) — retrieve and decrypt a secretagent_vault_list(group?) — list available secrets{
"mcpServers": {
"agent-vault": {
"command": "agent-vault-mcp",
"args": ["--repo", "/path/to/vault", "--key", "/path/to/agent.key"]
}
}
}
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 1 Mar 2026 | 6 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 23:38 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:b47d31d76758f7e85951d07798770718d376bb5b8b5ac693a7590e7766b367a3