Runs on your existing Lewis planView usage

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 | bash

Node.js 18+ · macOS & Linux · then lewis login

Work where your code lives

lewis

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.

Free
$0/mo
500K tokens / month
ProPopular
$25/mo
20M tokens / month
Max
$150/mo
100M tokens / month

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
First 500M tokens / mo$2.00 / 1M
Next 4.5B tokens / mo$1.50 / 1M
Beyond 5B tokens / mo$1.00 / 1M