← Back to the board
Capline
Spend limits for AI agents that a jailbreak can't talk its way past.
The problem
An AI agent with a wallet is one prompt injection away from an empty balance. Instructions can be argued with. A contract can't.
2 layers
The signer refuses an over-cap spend. If the key leaks anyway, the contract reverts on-chain.
3 chains
One spend policy across Solana, Avalanche and Stellar.
1 command
npm i capline and an agent has a hard limit.
Under the hood
- Published on npm as
capline(0.1.1). - Deployed on Solana devnet, Avalanche Fuji and Stellar testnet.
- Two layers: the signer refuses, and if the key is stolen anyway, the contract reverts
CapExceededon-chain.
Stack
SolidityAnchor (Rust)SorobanTypeScriptx402ERC-8004
Install
← PreviousInstall
npm i caplineCerberus
Rate limiting as a service, atomic down to the Redis script.
Next →FLIP
Escrow-based settlement for Flare FAssets, instead of prefunded insurance pools.