services
Get a key

library

AI and blockchain

AI models, agents and tool calling connected to Solana through Carbium.

01

Your own MCP server on Carbium RPC

  • Claude Code MCP setup SI0021

    Register a stdio MCP server with Claude Code: three read-only Solana tools on Carbium RPC, the key in the environment and a check you can run by hand.

  • MCP live RPC example tool SI0043

    An MCP tool that replays a stored Solana RPC example against Carbium, checks the live answer for its expected keys and reports match or mismatch.

  • Read-only MCP server SI0002

    A one-file stdio MCP server with four read-only Solana tools on Carbium RPC, a fixed method table, no signing code and errors the model can read.

  • Transaction debugging MCP tools SI0020

    A stdio MCP server with three read-only tools that find an address's failed transactions, read why one failed and check a signature's status.

02

Solana agent kits

  • 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.

  • 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.

03

General agent frameworks

  • ElizaOS account plugin SI0004

    A read-only ElizaOS-style plugin for Solana: one provider adds the current slot to each turn and one action reads an account on request.

  • Event-driven agent loop SI0023

    A read-only Node loop that sleeps on a logsSubscribe feed, picks the event worth reading, calls getTransaction and sleeps again, with a slot for a model.

04

Model tool calling

  • Custom GPT action for chain reads SI0024

    A small service that gives a Custom GPT two read-only Solana operations through an OpenAPI schema, with the Carbium key kept on your server.

  • LLM tool calling SI0005

    How a model's tool call reaches Solana RPC: the schema you send, the tool_use block back, the tool_result you return, shown with three read-only tools.

  • Read-only model tools SI0001

    getAccountInfo only reads; a fixed method allowlist and two retry rules keep a model's Solana tools to reads.

  • Strict JSON wallet summaries SI0046

    Fill a wallet summary from three chain reads, let a model write one sentence, and check the whole object with a hand-written validator.

05

Agent sign-up and keys

  • Agent registry reader SI0026

    A read-only Node reader that checks agent registry records by owner program, hashes their data and shows each record's last activity.

  • Agent RPC key safety SI0006

    A React front end cannot hide a Carbium RPC key, so the key stays on a server, and a short script scans a build folder for it.

  • API key setup for agents SI0025

    Get a Carbium API key for an agent, send it the right way on RPC, WebSocket and gRPC, and run a preflight script that checks the calls go through.

06

Agent wallets and signing safety

  • Agent wallet watcher SI0007

    A read-only Node watcher that follows an agent's wallet over logsSubscribe and flags any transaction its own signer never recorded.

  • Fee-payer lamport delta check SI0064

    Read landed transactions and print what the fee payer lost beyond the fee, plus a count of instructions that list the payer, to check an agent's spend.

  • Pre-sign transaction guard SI0028

    A read-only check that decodes an unsigned transaction and blocks a wrong payer, unknown program, token approval or oversized SOL transfer before signing.

  • Program interaction audit SI0070

    List the programs a wallet's newest transactions invoked, with call counts, known names and slot range, to see which past interactions to inspect.

  • Token delegate exposure scan SI0029

    Read a wallet's token accounts for delegates that can move tokens with no new signature, on the Token program and Token-2022.

  • Unsigned transaction handoff SI0027

    An agent builds an unsigned Solana transaction and a separate signer approves it; a short script prints the message, fee and expiry for review.

07

Agent payments

  • Agent payment reconciliation SI0030

    A read-only Node check that matches an agent's payment ledger against the balance change each landed transaction made to a Solana wallet.

  • Prepaid MCP tool credits, vendor-neutral SI0051

    A SQLite balance recomputed from USDC deposits keyed by transaction signature and local debits, so a rescan never double-credits prepaid MCP tool calls.

  • x402 payment verifier SI0008

    A read-only check that an x402 payment landed on Solana: right token, right recipient, enough, fresh and never used before, read back at finalized.

08

Plain-English chain queries

  • Address type explainer SI0031

    A read-only Node checker that tells a Solana wallet from a PDA by curve test and owner read, and names who can sign to move funds.

  • Plain-English balance comparison SI0032

    One getMultipleAccounts call reads every wallet at the same slot, code ranks the SOL balances, and the model gets a sentence naming which holds more.

  • Plain-English network status SI0033

    Read slot time, throughput, finalization lag and fee pressure over RPC and print one plain-English status line for a person, an alert or a model.

  • Program behavior summary SI0054

    Summarize a Solana program's recent activity from 20 signatures and 4 transactions: failure rate, callers, instruction names and token flow.

  • Program size and balance answers SI0055

    Why `solana program show` and `solana account` differ on size and balance for one program, and a script that prints both views and the gap.

  • Recent wallet history Q&A SI0034

    Walk a wallet's recent history with getSignaturesForAddress, getTransaction and getBlock, and see what each of the three methods is for.

  • Writable account explainer SI0053

    A script that prints each account's writable flag for one transaction beside the lamports that changed, since writable is only a lock the sender requested.

09

ML classification

  • Fee-pressure sentiment index SI0058

    A read-only script that turns recent priority fees and slot fill into one sentiment number from -100 to +100, with its parts and no transaction decoding.

  • Inbound transaction triage SI0056

    Sort a wallet's unexpected incoming transactions into classes from who signed, what arrived, its size in token units and how many others were paid.

  • LP token classifier SI0009

    Scores SPL mints as LP-like from one getMultipleAccounts read, using the mint authority, freeze authority and fixed-supply flags.

  • Rug-risk token scorer SI0035

    Scores an SPL token mint for rug risk from its live authorities, Token-2022 extensions and age, and prints the reasons behind the number.

  • Wallet spam token filter SI0036

    Score every token in a wallet for spam with a small logistic model over mint authority, freeze authority, balance and supply, read through Carbium RPC.

10

Anomaly detection

  • Flagged-address flow alerts SI0039

    A read-only Node script that prints what moved in and out of addresses on your watch list, who was on the other side, and watches for new transfers.

  • Unrecognized outgoing transfer alert SI0065

    Flag a wallet's outgoing lamport transfers to first-seen destinations, large sends and full drains, with JSON evidence a model can read.

  • Wallet anomaly alerts SI0010

    A read-only watcher that learns a wallet's normal pace from 100 signatures, flags bursts, failure spikes and silence, then scores live transactions.

11

RAG and embeddings

  • Copycat token name matcher SI0037

    Compare a token's on-chain name and symbol with well-known mints after folding lookalike characters, and flag COPYCAT or CLOSE matches.

  • Live account RAG SI0011

    Retrieve accounts by embedding similarity, read them live in one getMultipleAccounts call and stamp the prompt with its slot.

  • On-chain IDL retrieval for models SI0060

    Derive a program's Anchor IDL address, inflate the account and cut it into instruction, account and error chunks a model can retrieve.

  • Slot-cited chain answers SI0079

    Attach a slot, commitment and block time to every chain fact in a model's context, then recheck any citation with minContextSlot.

  • Streamed transaction embeddings SI0073

    Subscribe to one program's logs, turn each transaction into a text record and vector, store rows in SQLite and query nearest neighbours.

12

Swap assistants

  • Fake-pool route check SI0041

    Check the token mints on a swap route before you sign: known, look-alike or unknown, with authorities and extensions from one account read.

  • Swap price-impact explainer SI0040

    Read a token's latest swaps from its address and compute each one's price impact against the pool's own reserves before the swap.

  • Swap transaction decoder SI0012

    Identify a swap from a signature or address and read its details: assets in and out, fee, slot and programs, from balance changes.

13

Monitoring copilots

  • WebSocket monitoring copilot SI0013

    Subscribe to an address over WebSocket with logsSubscribe, print compact events a copilot can read, and backfill the gap after each reconnect.

14

Training datasets

  • 30-day training dataset SI0014

    Page an address's last 30 days of signatures into SQLite, add fee and compute units per transaction, and see where Carbium's history stops.

15

Agent evals

  • Model claim checker SI0015

    Test what a model said about a Solana account or commitment level against finalized reads, and get HOLDS, CONTRADICTED or UNCHECKED for each claim.

16

Agent context files

  • llms.txt for agents SI0016

    Generate an llms.txt for a Solana agent whose slot and account lines are read live through Carbium; the commitment rule is written in.

17

Verifiable AI and oracles

  • LLM oracle reader SI0017

    A read-only reader that gathers Solana evidence for an LLM oracle, hashes the record and re-checks its re-readable part against the chain.

  • Oracle accounts explained SI0018

    Read an oracle-style Solana account with getAccountInfo, decode its bytes, refuse a wrong owner or size and flag a stale value.

18

AI product ideas

  • Hackathon agent ideas SI0019

    Five read-only Solana AI agent ideas for a hackathon, plus a one-file tool shelf that gives a model four capped Carbium reads.