✦ ✦ ✦ ✦
🌾 NEW · Pet harvest is live

Feed your pet code.
Collect tokens while you ship.

Claim a buddy for $1. Every line you write levels it up. Every 6 hours it hands you back up to 100k tokens β€” a rebate wrapped in a mining game.

✦ ✦ ✦ ✦
LIVE DEMO

Your pet, working the mine

Watch the counter climb. When you click harvest, the tokens fly into your account. This is a sped-up demo of exactly how the real thing works on /play/me β€” no wallet required to try.

Ready to collect
Rate scales with buddy level

Not a real balance β€” sign in and claim a buddy to start earning for real.

The full loop

Every level you push is a level of rebate. Code more, earn more β€” and reinvest it in the same product.

🥚
Step 1
Claim $1
One-time gate. Filters leeches, unlocks the loop.
💻
Step 2
Write code
Every token you burn fills your buddy’s XP bar.
📈
Step 3
Level up
Higher level = faster harvest rate. Linear, no mystery curve.
🌾
Step 4
Harvest
Every 6h, collect up to 100k tokens back. Hard cap; don’t sleep on it.
💸
Step 5
Spend β†’ repeat
Rebated tokens fund your next session. The loop tightens.

No wagers, no lotteries. The rebate size tracks your actual usage β€” rewarded for shipping, not rolling dice.

Under the hood: a real coding agent

Crab Code is a full CLI coding assistant β€” Claude-grade reasoning, your terminal. The pet loop is the reward for using it.

Terminal
🚀

Pay with USDT / USDC

Top up tokens from your dashboard. Connect your wallet, select an amount, and your tokens are credited after on-chain verification. Secure, transparent, instant.

🔒
💰
Login Connect Wallet Tokens credited
Top Up Now
✦ ✦ ✦ ✦
NEW Β· LIVE Β· $1 CLAIM
🥚

Claim a buddy. Earn while you code.

Pay $1 to claim your on-chain buddy. The $1 lands in your token balance as a top-up β€” the buddy is the side effect. Every buddy rolls into one of 27 SBTI personality types β€” and your buddy’s type actually shapes how Crab Code talks to you. Burn tokens to level up, unlock bigger commission rebates. Unhappy? Reroll for $5, never downgrades.

SBTI

Your buddy has a personality β€” and it shapes how Crab Code talks to you.

Every buddy rolls into one of 27 SBTI personality types across 15 dimensions and 5 models. The type isn’t cosmetic β€” a live soul-file injection makes your CLI assistant adopt the tone of your buddy on every turn. Correctness always wins over character.

CTRL BOSS GOGO THIN-K POOR MONK MUM THAN-K ZZZZ SOLO JOKE-R WOC! HHHH OH-NO FUCK MALO DEAD IMSB IMFW SHIT LOVE-R SEXY FAKE OJBK Dior-s ATM-er DRUNK ✦
Self
Emotion
Attitude
Action
Social

15 dimensions Γ— Low / Mid / High each. Plus 1 hidden type (DRUNK ✨).

1

Claim Β· $1

Pay $1 in USDT on BSC. The full $1 returns as tokens. You get a deterministic starter buddy with one of 27 SBTI personality types β€” your CLI takes on its vibe.

2

Burn Β· level up

Every token you burn is XP. Rarer buddies earn XP faster (up to 3Γ—), so they hit higher rebate tiers sooner.

3

Reroll Β· $5

Want a new pet? Reroll for $5. Your level and XP carry over β€” no progress lost. Rerolls never downgrade, and pity boost stacks up to +40pp.

The math
β†’ 5% base token rebate on every top-up
β†’ +2% β†’ +10% buddy level bonus, stackable
= = up to 15% back every time you top up
🤝

Invite Friends, Earn Rewards

Share your referral link and earn stablecoin commissions on every purchase your invitees make. They get bonus tokens too.

10%
Direct Referral
Your invitee purchases $100, you earn $10 USDT instantly on-chain
3%
Second-Level
Your invitee's invitee purchases $100, you earn $3 USDT on-chain
+5%
Buyer Rebate
Get 5%-15% extra tokens on every top-up β€” 5% base, plus up to +10% as your buddy levels
How it works
1
Get your link
2
Friends sign up
3
They top up
4
You earn USDT

Commissions are paid directly to your wallet via smart contract. No middleman, no delays.

Simple, transparent pricing

No subscriptions. No hidden fees. Pay only for what you use.

Free

Try it out

10K
tokens on signup
  • Full CLI access
  • Email registration only
  • No credit card needed
Start Free
Popular

Pay as you go

Top up anytime

$2 / M tokens
USDT / USDC on BSC
  • Claude Opus 4.6 API access
  • CLI + API, same balance
  • Pay via USDT / USDC
  • 10% referral commission
Top Up Now

Install in seconds

One command on any platform. macOS, Linux, and Windows.

curl -fsSL https://crabcode.ai/install-v0.8.3.sh | sh

Downloads the latest binary for your platform (macOS / Linux, x64 / arm64).

1

Login

crab-code login

Email + verification code

2

Top Up

crabcode.ai/dashboard

Pay with USDT/USDC on BSC

3

Code

crab-code "fix this bug"

AI reads & writes code for you

Built with Rust. Blazing fast.

Unlike TypeScript-based CLI tools, Crab Code is a native Rust binary. Zero runtime overhead, instant startup, minimal memory.

Startup Time
TS
~800ms
Rust
~5ms
160x faster
Memory Usage
TS
~120MB
Rust
~18MB
6.7x lighter
Install Size
TS
~250MB
Rust
~20MB
12x smaller

Single static binary. No Node.js, no node_modules, no runtime dependencies.

Self-developed AI agent

Crab Code is not a wrapper or proxy. It's a ground-up Rust implementation of an autonomous coding agent with its own tool system, session management, and plugin architecture.

  • 9 Rust crates β€” modular architecture: CLI, runtime, API, tools, commands, plugins, telemetry
  • 57K+ lines of Rust β€” production-grade, memory-safe, zero undefined behavior
  • Built-in tool execution β€” file read/write, bash, glob, grep, git, all native
  • Session persistence β€” auto-saved sessions, resume anytime with --resume latest
crab-code/rust/crates/
  β”œβ”€β”€ rusty-claude-cli/   CLI binary + REPL
  β”œβ”€β”€ runtime/            Session, prompt, hooks
  β”œβ”€β”€ api/                Provider clients
  β”œβ”€β”€ tools/              File ops, bash, search
  β”œβ”€β”€ commands/           Slash command registry
  β”œβ”€β”€ plugins/            Plugin lifecycle
  β”œβ”€β”€ telemetry/          Usage tracking
  β”œβ”€β”€ compat-harness/     Parity testing
  └── mock-anthropic-service/

Extensible with Skills & MCP

Add custom skills and connect external tools via the Model Context Protocol.

Skills

Drop a markdown file into .crab-code/skills/ and it becomes a slash command.

# .crab-code/skills/review/SKILL.md --- name: review description: Code review with best practices --- Review the current diff for: - Security vulnerabilities - Performance issues - Code style violations $ crab-code > /review # runs your custom skill

MCP Servers

Connect databases, APIs, and external tools. The agent calls them as needed.

# .crab-code/settings.json { "mcpServers": { "postgres": { "command": "npx", "args": ["@modelcontextprotocol/server-postgres", "postgresql://localhost/mydb"] } } } > show me the top 10 users by revenue MCP postgres: running query...

Claude API

OpenAI-compatible API powered by Claude Opus 4.6. Drop-in replacement β€” just change the base URL.

Quick Start

Get an API key from your dashboard, then make requests like you would to OpenAI.

curl https://api.crabcode.ai/v1/chat/completions \ -H "Authorization: Bearer sk-crab-..." \ -H "Content-Type: application/json" \ -d '{"model":"claude-opus-4-6","messages":[{"role":"user","content":"Hello"}],"stream":true}'

Works with any SDK

Compatible with OpenAI SDK, LangChain, LlamaIndex, and any tool that supports custom endpoints.

# Python (OpenAI SDK) from openai import OpenAI client = OpenAI( api_key="sk-crab-...", base_url="https://api.crabcode.ai/v1" ) resp = client.chat.completions.create( model="claude-opus-4-6", messages=[{"role": "user", "content": "Hello"}] )
Streaming
Real-time SSE streaming with [DONE] terminator
🔑
API Keys
Create up to 5 keys per account, revoke anytime
💰
Token Billing
Pay-per-token. Same balance as CLI usage
🌐
No Region Lock
No VPN needed. Access globally from anywhere
Get API Key