agent.py — your AI agent code
# No API key in your code. Ever.
from dustbureau import AgentVault

# One credential token — scoped, revocable
vault = AgentVault(credential="cred_r1x9...4f2a")

# Agent calls OpenAI — key stays in Vault, agent gets result
result = vault.call("openai", "chat.completions.create",
    model="gpt-4o", messages=[...])

# Every call gets a cryptographic proof ID
proof = vault.last_proof() # → "0xa3f9...7c2d"

1
# Admin Dashboard → Secrets → Add Secret
Service: openai
Key:    sk-...
2
# Admin Dashboard → Credentials → New
Label:     my-research-agent
Allowed:   openai
Token:     cred_r1x9...4f2a ← give this to your agent
3
# pip install dustbureau
from dustbureau import AgentVault

vault = AgentVault(credential="cred_r1x9...4f2a")
result = vault.call("openai", "chat.completions", {model: "gpt-4o-mini", ...})
proof  = vault.last_proof()  # audit trail
🌑

🌑
Gene
Vault Assistant · via Anthropic
🌑
Hi, I'm Gene — the Vault Assistant. Ask me anything about Dust Bureau, the Agent Vault, or how to use the features.