Lewis Code
A command-line agent that studies your codebase before it acts — proposing edits, executing commands, and verifying results, always under your control.
curl -fsSL https://lewisos.com/code/install | bashNode.js 18+ · macOS & Linux · then lewis login
Work where your code lives
Welcome to Lewis Code. Type a task, or /help for commands.
model openai/gpt-oss-120b · ~/projects/app
❯ fix the failing signup test
• run_command(npm test) ⎿ exit 1 · 2 failing
• read_file(src/auth/signup.ts) ⎿ 182 lines
• write_file(src/auth/signup.ts) ⎿ wrote
• run_command(npm test) ⎿ exit 0 · all passing
Fixed — the email validator rejected plus-addressing. Updated the regex in signup.ts:47 and both tests pass.
tokens ████░░░░░░░░ 6.2M / 20M
Grounded in your codebase
Lewis inspects files, structure, and tests before answering, so its suggestions reflect the project as it actually is.
From request to verified result
It edits files, runs your test suite, and iterates until the change holds — a complete workflow, not snippets to paste around.
Approval built in
File writes and shell commands wait for your confirmation, and your source stays on your machine — only the conversation travels.
Plans
Lewis Code shares your account's token allowance. Monitor consumption and add capacity from your dashboard.
Extra capacity when you need it: 5M tokens $10·25M tokens $45·100M tokens $160 — one-time top-ups.
Lewis Platform
Scale Lewis across your product
Usage-based pricing for teams and products built on Lewis. Pay for the tokens you use, billed monthly — volume discounts as you scale. Metered monthly in arrears, with consolidated invoicing and usage reporting per seat and per agent.
Talk to sales