Back to browse
A native Rust TUI for Claude Code, because Ink got slow

A native Rust TUI for Claude Code, because Ink got slow

by srothgan·Apr 16, 2026·1 point·1 comment

AI Analysis

●●SolidBig BrainNiche Gem

Rewrote Claude Code's TUI in Rust because React Ink was the actual bottleneck.

Strengths
  • Memory drops from 200-400MB to 20-50MB with native Ratatui binary.
  • Startup time under 100ms versus 2-5 seconds for the stock Ink interface.
  • Three-layer architecture keeps Agent SDK unchanged while replacing presentation.
Weaknesses
  • Still constrained by upstream Claude Agent SDK runtime for end-to-end readiness.
  • Pre-1.0 with limitations around session availability before fully ready.
Target Audience

Developers using Claude Code daily with multi-agent workflows

Similar To

Claude Code · Aider · Continue

Post Description

I use Claude Code every day, and the React Ink TUI started buckling whenever the work got real. Multiple agents in parallel, big diffs streaming in, long tool-call chains. The frontend, not the model, was the bottleneck. It was frustrating to me.

So I rewrote it from scratch in Rust on Ratatui. It talks to Anthropic's official Agent SDK through a small TypeScript bridge, so it should follow Anthropic's ToS. Tool calls, file edits, and permissions all work the same. Only the terminal layer changed.

The thing that surprised me: you don't realize how much the UI was shaping your perception of the model until it's gone. With smooth rendering and no input lag, the same Claude that felt slow and buggy before suddenly feels sharp and responsive. The model didn't change. The friction did.

It's pre-1.0. Would love feedback from anyone :)

Similar Projects

Developer Tools●●Solid

Ambits – Claude Code agent coverage tooling

Tails Claude Code's JSONL and paints every function/struct/class by read-depth (unseen → name-only → full body) in a live terminal tree — plus automatic staleness marking when files change. The multi-agent tracking and optional Serena LSP backend are smart touches that make this more than a neat demo: it's practical observability for agent-driven workflows, though it's tightly coupled to Claude/Serena ecosystems.

Niche GemWizardry
joshLong145
104mo ago