
High-performance agentic runtime built on @solana/kit and Bun. Typed actions, composable routines, event triggers, and full operator control from the command line.
Schema-driven orchestration with TypeScript, Solana Kit, and Bun. No legacy dependencies. Operator-first design.
Bun runtime + @solana/kit (100KB vs 450KB web3.js). Modular imports, native Web Crypto, zero userspace polyfills.
Zod-first tool contracts. Compile-time transaction checks. Runtime validation of untrusted LLM-generated args before execution.
Immutable transaction pipelines. Modular actions, routines (DCA/swing/sniper), and triggers. Policy middleware built-in.
$ bun run src/cli.ts start
Loading runtime config...
✓ Wallet keypair loaded
✓ Solana Kit initialized
✓ RPC connection verified
✓ SQLite schema synced
✓ Zod schemas registered
✓ AI SDK orchestrator ready
→ Listening for triggers...
[DCA routine] next execution in 14m 22s
[Price trigger] SOL target: $185.00 | current: $178.42
Every dependency is intentional. No legacy baggage. Built on the fastest, most modern primitives available in 2026.
JavaScript runtime & package manager
Strict type-safe codebase throughout
Modern modular Solana SDK (~100KB)
Best-price DEX aggregation & routing
Provider-agnostic RPC adapters
Agent tool-calling & LLM orchestration
Runtime schema validation for tool args
Native SQLite with auto schema sync
TrenchClaw uses modern @solana/kit. No legacy web3.js. No unnecessary dependencies.
| Feature | TrenchClaw | Legacy Approach |
|---|---|---|
| Primary SDK | @solana/kit | @solana/web3.js v1 |
| Bundle Size | ~100KB | ~450KB |
| Architecture | Modular + Tree-shakeable | Monolithic |
| Crypto API | Web Crypto (native) | Polyfills |
| Type Safety | Compile-time TX checks | Loose typing |
| Runtime Focus | Operator CLI + Agent | Generic toolkit |
Join operators building the future of Solana agents. TrenchClaw is ready for the dangerous work.
Get Started on GitHub