services
Get a key

library / AI and blockchain

Solana agent kits

Solana agent kits in the Carbium Library: 5 working Solana examples, among them Agent kit on serverless routes and Typed agent actions from Codama.

  • Agent kit on serverless routes SI0124

    Load an agent kit's Carbium RPC client lazily in a Next.js route: one cached client per instance, key from env, and the cell cost of each request.

  • Typed agent actions from Codama SI0123

    Fetch accounts with Solana Kit and decode them into typed fields an agent action can return, the way a Codama client does, with owner and size checks.

  • ElizaOS chain state provider SI0121

    An ElizaOS-style provider that puts the confirmed slot, finalized slot and epoch progress in each prompt from one cached read of Carbium RPC.

  • Agent skill for chain reads SI0022

    A SKILL.md and one script that give an agent three read-only Solana commands: account info, token holdings and recent transactions.

  • Agent kit RPC setup SI0003

    Set up an agent kit's RPC on Carbium: key in a header or ?api-key=, one shared kit client, a 429 retry, and the cell cost of each tool.