Documentation Index
Fetch the complete documentation index at: https://docs.getbindu.com/llms.txt
Use this file to discover all available pages before exploring further.
Restart your agent without losing who it is
Picture this. Your agent is running in Kubernetes. A pod crashes and restarts. The new pod comes up — but with a brand new DID and fresh OAuth credentials. Any app that remembered the old credentials? Broken. And Hydra slowly fills up with orphaned clients that no one is using. This release fixes that. Your agent can now save its identity (DID keys + Hydra credentials) in HashiCorp Vault — a safe place for secrets. When it restarts, it picks up the same identity and keeps going. From the outside, nothing changed.One thing to know first
What’s new
Agent identity that survives restarts
A newVaultClient stores and fetches your agent’s DID keys and Hydra credentials in Vault. When your agent starts up, it follows a simple priority order:
- Check Vault first. If credentials are there, use them.
- Fall back to the local filesystem. Maybe Vault is offline — that’s fine.
- Last resort: generate new ones. And then immediately save them to Vault so the next restart finds them.
Agent IDs that are predictable
Your agent ID is now generated fromSHA256(author:agent_name). That sounds fancy, but the idea is simple: same author + same agent name = same ID, every time, forever.
This means you don’t have to hardcode an ID anywhere. Bindu figures it out from details you’ve already provided.
What ends up in Vault
How to turn it on
Set three environment variables:VAULT_ADDR and VAULT_TOKEN names work too, if you’ve already got those set up.
On Kubernetes, pull the token from a Secret:
What got better
The startup flow is now: check Vault → check local files → generate new. If Vault is down, the agent doesn’t crash — it just uses local files or makes fresh keys, like before. Inside the code, agent IDs are handled as proper UUIDs where the type matters, and as strings where humans will read them. A few unused dependencies (agno, openai, ddgs) got removed from pyproject.toml.