AISmush

Cut your AI coding costs by 90%. One binary. Zero config. Drop-in replacement for Claude Code.

Live Global Savings

$0.00
Total Saved
0
Active Users
0
Requests Routed
0
Claude Turns
0
DeepSeek Turns

Install in one command

Linux & macOS. No dependencies. First run asks for your DeepSeek key.

curl -fsSL https://raw.githubusercontent.com/Skunk-Tech/aismush/main/install.sh | bash

Then just run: aismush-start

Windows Download All platforms →

What it does

AI Project Scanner

One command scans your codebase, sends it to AI for deep analysis, and generates agents customized to YOUR code — your patterns, your conventions, your architecture. 5-7 AI calls, ~$0.03 via DeepSeek. aismush --scan

Smart Model Routing

Planning and debugging go to Claude. File reads and mechanical edits go to DeepSeek at 1/50th the cost. Automatic, per-turn decisions.

Context Compression (RTK-inspired)

Content-type aware — strips comments from code, never touches JSON/YAML/XML. Deduplicates logs aggressively. Smart truncation preserves function signatures. 20-50% fewer tokens.

Context Window Management

Handles the Claude 200K vs DeepSeek 64K mismatch automatically. Truncates old tool results for DeepSeek, routes large contexts to Claude. Never blocks your work.

Persistent Memory (claude-mem inspired)

Captures every file read, edit, command, and search automatically. Remembers decisions across sessions. Your AI starts each day knowing what files you touched and what you decided.

Cost Tracking

Real-time dashboard showing actual cost vs what you would have paid. Per-request breakdown with token counts.

Automatic Fallback

If Claude is down, requests automatically fall back to DeepSeek. If DeepSeek fails, clear error. Your work is never blocked.

How it works

You type in Claude Code
  → Claude Code sends request to AISmush (localhost)
  → AISmush compresses context, checks window size
  → Routes to Claude (planning, debugging, large context)
  → Or routes to DeepSeek (tool results, mechanical coding)
  → Response streams back to Claude Code
  → You see no difference. Your wallet does.
View on GitHub

MIT Licensed · 2,200 lines of Rust · Single binary, zero dependencies