The new
way to code.

Built from the ground up in rust around developers, agents, and the work between them.

Subagents

Up to 3,000
tokens per second.

Frontier models are smart, but they write at well under a hundred tokens per second, and most of a coding task doesn’t need that much intelligence. In ngram, your main agent, whether that’s Sansa Auto, Codex, Claude, or Grok, plans the work and hands the pieces to subagents that write it up to thirty times faster.

Resilient fallback chain2,870 tps

Make the fallback chain resilient: skip providers in cooldown, time out slow ones, and cover both in tests.

Split the work into three tasks
Skip Providersstarted working
Time Out Slowstarted working
Fallback Testsstarted working
Read filesrc/lib/router.ts90 lines
3 subagents2 running
Skip Providers+14−2
Time Out Slow+18−0
Fallback Tests+46−3
Ask anything
HighAutoSansa Auto

Predictions

Good prompts without the typing.

Agents do their best work with clear, specific prompts, but writing them takes time you’d rather spend on the problem. ngram predicts what you’re about to write: the rest of your prompt, the next edit in your code, the command you need in the terminal. Press Tab to accept, or keep typing.

Resilient fallback chain
Editedsrc/lib/timeout.ts

Slow providers now time out after maxLatencyMs and the chain moves on to the next one.

Predicted promptescReject⇥Accept
now add tesAdd tests for the timeout path in router.test.ts, stubbing isCoolingDown like the fallback tests do.
now add tes
HighAutoSansa Auto

dev@workstation sansa-router %pnpm vitest run && pnpm tsx scripts/update-router-pool.ts

run the tests and update the router pool
sansa-router — zsh

Codebase graph

Keep up with what your agents write.

When agents write most of the code, it piles up faster than you can read it, and it gets hard to steer them once you lose track of how the pieces fit. ngram draws your codebase as a map of files and the connections between them, so you can see how it’s put together, find what a change will touch, and point your agents at the right place.

sansa-app
feature/agents-ide

Bring your subscription

Make your
plan last the week.

Nothing kills momentum like hitting your usage limit halfway through a task and waiting for it to reset. ngram connects to your subscriptions and sends each request to the model that fits it, so renames and small fixes stop using up the limit you need for the hard problems.

Rename RouteOptions

Rename RouteOptions to RoutingPolicy everywhere it's used.

Thought 0.4s
SearchedRouteOptions9 matches
Ask anything
HighAuto
Select a model…
Sansa Auto
Subscriptions
GPT-6 Astra
GPT-6.1 Sol
Grok 4.6
Grok 4.7
Sansa Auto

Open source, built in Rust

Your editor shouldn’t need a gigabyte.

VS Code, Cursor, and the Codex app are built on Electron, so each one runs a whole web browser to draw a text editor. Put a few agents to work and they eat gigabytes of memory and start to lag. ngram is written from scratch in Rust, which runs many times faster and needs a fraction of the memory.

Memorysame project
AppIdleWith agents
Codex4 GB5 GB
Antigravity2.8 GB8 GB
Cursor1.5 GB7 GB
VS Code + Copilot1.2 GB3 GB
Claude550 MB3.5 GB
Zed300 MB2 GB
ngram150 MB250 MB

Get early access.