agentkeyring
Python client for AgentVault — AI-native credential vault for autonomous agents.
Install
pip install agentkeyring
Quickstart
from agentkeyring import Vault
vault = Vault(
base_url="https://agentvault-api-production.up.railway.app",
agent_key="avk_...",
)
# Retrieve a credential (decrypted, TTL 300s)
stripe_key = vault.get("stripe_key", cost=0.05)
# List what this agent can access
names = vault.list()
# Async variant
import asyncio
from agentkeyring import AsyncVault
async def main():
async with AsyncVault(base_url="...", agent_key="avk_...") as v:
return await v.get("openai_key")
asyncio.run(main())
API
Vault(base_url, agent_key, timeout=10.0)— sync clientAsyncVault(base_url, agent_key, timeout=10.0)— async context-manager client.get(name: str, cost: float = 0.0) -> str— returns the decrypted value.list() -> list[str]— names accessible to this agent
Both raise VaultError on 4xx/5xx with the server's detail message.
License
MIT.
Metadata
Release files for agentkeyring 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agentkeyring-0.1.0.tar.gz | 2.4 kB | Without provenance | Details for agentkeyring-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agentkeyring-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for agentkeyring-0.1.0-py3-none-any.whl |
Total release size: 5.3 kB
Release files / agentkeyring-0.1.0.tar.gz
| Download URL | agentkeyring-0.1.0.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7856f0ecfbfa8df1667b46c3c573589b9717077b4e5f4787f9f70811a20228e
|
|
BLAKE2b-256 checksum How to use checksums |
7d10bd47ad5c8618065543e14d0e6bc8e1cdf704bac94c38fe2549dbe1241a28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / agentkeyring-0.1.0-py3-none-any.whl
| Download URL | agentkeyring-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40cf9c663889d07e6b07bfec3ed1378b015e9bc687b0d745252bce22c98b48ec
|
|
BLAKE2b-256 checksum How to use checksums |
5be56fef8ddb1c385f2bf0f196adfc5579eb6422ae2f98757d9ba3a842a716d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for agentkeyring 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.