Silo is a four-layer on-chain firewall for Solana AI agents. It intercepts every transaction, analyzes it with Claude AI, and only releases it after a cryptographically-verified verdict.
npm install @silo-sol/sdk
import { Silo } from '@silo-sol/sdk';
const silo = new Silo({
rpcUrl: 'https://devnet.helius-rpc.com',
relayUrl: 'https://relay.silo.xyz',
agentId: 'my-agent',
agentOwner: wallet,
programId: 'Si1o...',
});
const result = await silo.protect({
prompt: 'Swap 10 SOL for USDC',
transaction: tx,
});
if (result.status === 'approved') {
await sendAndConfirm(result.transaction);
}| Score Range | Verdict | Description |
|---|---|---|
| 0-20,000 | APPROVE | Routine DeFi operations |
| 20,001-60,000 | ESCALATE | Unusual but not clearly malicious |
| 60,001-100,000 | BLOCK | Active attack pattern detected |