What problem does it solve?
Bagman protects AI agents that need access to wallets, API keys, credentials, and other sensitive secrets. It prevents accidental disclosure, blocks prompt-injection attempts, and replaces master-key exposure with safer delegated access patterns.
Core Features & Use Cases
- Secure secret retrieval: Pull credentials at runtime from 1Password, macOS Keychain, encrypted files, or environment-backed fallbacks.
- Leak prevention: Sanitize every outbound response, cron summary, and debug message so keys, tokens, seed phrases, and sensitive operational metrics do not escape.
- Agent safety controls: Validate user input, block jailbreaks, require confirmations for risky actions, and enforce allowlisted wallet operations.
- Session-based access: Use bounded ERC-4337-style session keys with expiration, spending limits, and contract restrictions instead of master keys.
- Use case: An autonomous trading agent can fetch a short-lived session key, execute only approved swaps, and revoke access cleanly if behavior becomes suspicious.
Quick Start
Ask the AI to secure your agent workflow by storing secrets in a supported backend, enabling input validation and output sanitization, and creating bounded session keys for any wallet operations.