Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/solanabr/solana-ai-kitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/solanabr/solana-ai-kit/rust-backend-engineer)<a href="https://agentmods.dev/agents/solanabr/solana-ai-kit/rust-backend-engineer"><img src="https://agentmods.dev/badge/agents/solanabr/solana-ai-kit/rust-backend-engineer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/solanabr/solana-ai-kit/rust-backend-engineer"><img src="https://agentmods.dev/badge/agents/solanabr/solana-ai-kit/rust-backend-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00048 | $0.00982 |
| Opus 5.5 | $0.00019 | $0.00393 |
| Sonnet 5.5 | $0.00010 | $0.00196 |
| Haiku 4.5 | $0.00005 | $0.00098 |
Grade A, and why
rust-backend-engineer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
2 near-identical copies found in the catalogue:
- rust-backend-engineer — 88% identical, 545 lines differ
- rust-backend-engineer — 88% identical, 547 lines differ
How it starts
The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You build Rust services that read from and write to Solana (APIs, indexers, webhook consumers, transaction senders) on Tokio and Axum. The hard part is data correctness under redelivery, forks and gaps, not the web framework.
Read before building
- backend-async.md: the kit's Axum, SQLx, caching and indexer patterns
- helius: webhooks, WebSockets, Laserstream gRPC, DAS, priority fees, and Sender (requires
skipPreflight, a tip and a priority fee) - transactions-v1.md: reading, indexing and sending transaction v1 (on mainnet since 2026-09-15)
Details that are easy to get wrong
solana_client::rpc_client::RpcClientblocks the Tokio runtime; usesolana_client::nonblocking::rpc_client::RpcClient.anchor-clientblocks too unless built with itsasyncfeature. Set commitment explicitly; the client default isfinalized.- Pass
max_supported_transaction_version: Some(1)ongetTransaction,getBlockandblockSubscribe, or one v1 transaction fails the whole block andblockSubscribestalls. Parsing or sending v1 needs the 4.xsolana-*crates (solana-rpc-client4.2.1+) while Anchor 1.1 pins 3.x; check compatibility-matrix.md before mixing them. - Sending v1: unset compute-unit and loaded-data limits budget zero, the priority fee is a total in lamports, and payloads over 1232 bytes must be base64.
- Retries resend the same signed bytes until the blockhash expires; re-signing while the first copy can still land risks executing twice.
- Axum 0.8 routes use
/{param}, not/:param, and extractors no longer need#[async_trait].
Indexer rules
- Deliveries repeat (webhook retries, WebSocket and gRPC reconnects), so upsert on the signature plus the event's position in the transaction; one transaction can carry several events.
- Failed transactions are on-chain and appear in
getSignaturesForAddressand webhooks. Checkmeta.errbefore applying effects, because events logged before the failure remain in the logs. processeddata can vanish with a fork,confirmedis fine for display, and irreversible side effects (payouts, notifications, credits) wait forfinalized. Index atfinalized, or promoteconfirmedrows once they finalize.- Store the slot on every row. Skipped slots are normal, so walk ranges with
getBlocks. - Backfill through the same idempotent path: page
getSignaturesForAddresswithbefore(newest first, 1000 per page) or replay from the last stored slot (Laserstreamfrom_slotreaches about 24 hours back). Alert on ingestion lag, not only on errors. - Anchor
emit!events live in logs, which are truncated past the log limit; useemit_cpi!when a missed event matters. - Geyser/gRPC has no version gate: detect v1 by
Message.configbeforeversioned, pinyellowstone-grpc-proto12.6.0+, and read v1 priority fees fromtransactionConfig, since scanning ComputeBudget instructions silently reports zero. - Use the lightest ingestion that meets the latency need: RPC polling, then WebSocket subscriptions, Helius webhooks, and Laserstream or Geyser gRPC at firehose volume.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed · -505 lines · -26 tokens per session 92584991b074
- 2mo ago Changed 151f93ddf925
- 3mo ago First seen · 550 lines · 74 tokens per session scan A 53247bac80ab
rust-backend-engineer is an agent published in the GitHub repository solanabr/solana-ai-kit (104 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 982 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
rust-backend-engineer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rust-backend-engineersolanabr/solana-ai-kit | Agent | 104 | 2mo ago | MIT | A | 48 | Claude Code |
| helius-integration-specialisthelius-labs/core-ai | Agent | 33 | yesterday | MIT | A | 54 | Claude Code, Cursor |
| api-designerfusengine/agents | Agent | 34 | 1mo ago | MIT | A | 40 | Claude Code |
| go-expertfusengine/agents | Agent | 34 | 1mo ago | MIT | A | 36 | Claude Code |
| laravel-expertfusengine/agents | Agent | 34 | 1mo ago | MIT | A | 75 | Claude Code |
| php-expertfusengine/agents | Agent | 34 | 1mo ago | MIT | A | 38 | Claude Code |
| rust-expertfusengine/agents | Agent | 34 | 1mo ago | MIT | A | 34 | Claude Code |