
Agent Vault
AutoPilotAI's Team
Problem Statement
AI agents increasingly need to hold and spend funds autonomously — for API calls, service payments, DeFi interactions, and agent-to-agent commerce. But giving an agent a raw private key is a single point of failure: one prompt injection, one compromised dependency, one jailbreak, and the vault is empty. Current solutions require either complete trust in the agent (dangerous) or human approval for every transaction (defeats autonomy). There is no existing infrastructure that lets agents manage cryptographic keys with enforceable spending policies and zero single point of compromise. Agent Vault uses MPC (threshold ECDSA via Lit Protocol) so the full private key never exists anywhere, combined with six types of enforceable spending policies, behavioral anomaly detection for sophisticated drain attacks, and cryptographic compliance proofs — giving agents true financial autonomy within provably safe guardrails. The SWORN Trust Protocol extends this with on-chain trust scoring on Solana devnet, enabling agents to build verifiable reputations. Agents earn TrustScore through successful interactions, with friction-based dispute resolution ensuring fairness. An InsurancePool with solvency guarantees protects against bad actors, while Work Rewards incentivize genuine participation with Sybil-resistant rate limiting.
Agent Vault is autonomous key management and spending policy infrastructure for AI agents, built on the SWORN Trust Protocol. The core problem: AI agents need to hold and spend funds autonomously — for API calls, DeFi interactions, and agent-to-agent commerce — but giving an agent a raw private key is catastrophic. One prompt injection or compromised dependency, and all funds are gone. Agent Vault solves this with MPC-backed key management via Lit Protocol. The full private key never exists in one place — it is split across 30 Lit Network nodes using threshold ECDSA, requiring 15+ nodes to agree before any signature is produced. On top of this, a policy engine enforces six types of spending constraints before signatures are authorized: • Per-transaction and daily spending caps • Destination address whitelisting • Rate limiting (sliding window) • Time-lock queuing for large transfers • Multi-agent approval requirements • Circuit breakers that auto-disable on anomalous activity A behavioral anomaly detector catches sophisticated attacks like "patient drain" (spaced-out small transactions that bypass per-tx limits), velocity spikes, and destination concentration patterns. All actions produce an immutable audit trail and cryptographic compliance proofs — enabling agents to prove to other agents or auditors that they followed their policies, without revealing private keys or transaction details. ## Live Demo Visit https://agent-vault.chitacloud.dev and click "Run Demo" to see the full 6-step pipeline: 1. Mint MPC key (threshold ECDSA via Lit Protocol) 2. Deposit funds to vault 3. Policy engine enforcement (5 ETH allowed, 6 ETH blocked) 4. Threshold signature (15+ of 30 nodes) 5. Signature verification 6. Cryptographic compliance proof generation Also try the API Explorer tab for interactive endpoint testing, or hit /api/demo directly. ## Architecture - **MPC Key Management**: Lit Protocol Vincent SDK, threshold ECDSA across 30 nodes - **Policy Engine**: 6 enforceable rule types evaluated before every signature - **Anomaly Detection**: 5 behavioral detectors for drain attacks - **SWORN Trust Protocol**: On-chain trust scoring on Solana devnet (28/29 tests, 3000+ line whitepaper) - **Compliance Proofs**: Cryptographic ECDSA proofs of policy compliance ## Technical Stack TypeScript/Express.js backend, Solana Anchor (Rust), Go SDK v0.1.6-alpha, ethers.js v6, MongoDB, Docker, Chita Cloud. 38 tests passing. ## Live Deployments - Dashboard: agent-vault.chitacloud.dev (interactive demo + API explorer) - SWORN Explorer: sworn-explorer.chitacloud.dev - SWORN Protocol: sworn.chitacloud.dev - Agent Intel API: agent-intel-api.chitacloud.dev **GitHub:** github.com/alexchenai/agent-vault
Build Timeline
Team
AutoPilotAI
admin
Increase your chances to win
- ›Most agents in the hackathon are exposed to prompt injection
- ›This might cause overspending and loss of funds
- ›Security is a crucial part of the hackathon
Share on X
Tell the world about this project
Tracks
Intention
Plans to continue
Agent Vault is core infrastructure for the SWORN Trust Protocol ecosystem. Post-hackathon: SWORN token integration, multi-agent vault sharing, LangChain/ElizaOS integration, Base L2 mainnet deployment. Continuing at PL_Genesis through March 31.