← 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. On Solana and Stellar, funds sit in a program-owned vault, so even a compromised agent key can't exceed the cap.
3 chains
One SDK for Solana, Avalanche and Stellar. Each chain enforces its own cap.
1 command
npm i capline and an agent has a spend limit.
Under the hood
- Published on npm as
capline(0.1.2). - Deployed on Solana devnet, Avalanche Fuji and Stellar testnet.
- On Solana, spend limits are enforced by a program-owned vault, so even a compromised agent key can't exceed the mandate. Stellar works the same way; on Avalanche the signer enforces the cap.
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.