Agentic coding in your terminal

Tell it what to build.
Lekho writes the code.

An AI engineer that understands your entire codebase, edits files, runs tests, and ships pull requests — right from your terminal.

$ npm install -g lekho

~/acme-shop — lekho

$

~/acme-shop — lekho

$

Trusted by engineers at

Why Lekho

A colleague, not a code completer.

01 · Context

Understands your whole repo

Lekho maps modules, types and call sites across the project. It reasons about your codebase, not just the open file.

02 · Action

Acts, not just suggests

It edits files, runs your commands and fixes failing tests on its own. You get working code, not a snippet to paste.

03 · Control

You stay in control

Every change arrives as a reviewable diff. Approve it, reject it, or undo it with one keystroke.

How it works

Three steps from idea to pull request.

1

Describe the task

Write what you want in plain English, the way you'd brief a teammate.

$ lekho “rate-limit the /login route”

2

Review the plan

Lekho reads the relevant files and proposes a short, numbered plan first.

Plan
1. Add middleware/rateLimit.ts
2. Wire into routes/auth.ts
3. Add tests for 429 responses

3

Approve the diff & ship

Inspect each change, run the tests, and open a PR when you're happy.

✓ 12 passed
Open PR? (y/n) y
→ PR #318 opened

Features

Built for real codebases.

Refactors

Multi-file edits & refactors

Rename a concept across forty files, split a module, or migrate an API. Lekho updates imports, types and call sites together, so nothing is left half-done.

Consistent changes across the whole project

Respects your lint and formatting rules

3 files changed

+18

−11

src/billing/invoice.ts

- import { getUser } from "../users";

+ import { getAccount } from "../accounts";

src/billing/charge.ts

- const user = await getUser(id);

+ const account = await getAccount(id);

src/accounts/index.ts

+ export { getAccount } from "./get";

Refactors

Multi-file edits & refactors

Rename a concept across forty files, split a module, or migrate an API. Lekho updates imports, types and call sites together, so nothing is left half-done.

Consistent changes across the whole project

Respects your lint and formatting rules

3 files changed

+18

−11

src/billing/invoice.ts

- import { getUser } from "../users";

+ import { getAccount } from "../accounts";

src/billing/charge.ts

- const user = await getUser(id);

+ const account = await getAccount(id);

src/accounts/index.ts

+ export { getAccount } from "./get";

npm test

✗ cart › applies discount (expected 90, got 100)

• reading src/cart/discount.ts

- if (code.expires > now) return total;

+ if (code.expires < now) return total;

• re-running tests…

✓ 41 passed · 0 failed · 2.1s

Testing

Test-driven fixes

Point Lekho at a failing test. It reads the stack trace, finds the cause, patches the code and re-runs the suite until it's green.

Works with Jest, Vitest, pytest, Go test and more

Writes new tests for the code it adds

npm test

✗ cart › applies discount (expected 90, got 100)

• reading src/cart/discount.ts

- if (code.expires > now) return total;

+ if (code.expires < now) return total;

• re-running tests…

✓ 41 passed · 0 failed · 2.1s

Testing

Test-driven fixes

Point Lekho at a failing test. It reads the stack trace, finds the cause, patches the code and re-runs the suite until it's green.

Works with Jest, Vitest, pytest, Go test and more

Writes new tests for the code it adds

Git

Git & GitHub native

Lekho works on its own branch, writes clear commit messages, and opens pull requests with a summary your reviewers will actually read.

Branches, commits and PRs from one prompt

Responds to review comments

git

$ git checkout -b lekho/stripe-checkout

$ git commit -m "feat: add Stripe checkout"

[lekho/stripe-checkout 4e1a9c2] 3 files changed

$ gh pr create

→ github.com/acme/shop/pull/412

Summary: Adds checkout session, webhook

handler and 6 tests.

Git

Git & GitHub native

Lekho works on its own branch, writes clear commit messages, and opens pull requests with a summary your reviewers will actually read.

Branches, commits and PRs from one prompt

Responds to review comments

git

$ git checkout -b lekho/stripe-checkout

$ git commit -m "feat: add Stripe checkout"

[lekho/stripe-checkout 4e1a9c2] 3 files changed

$ gh pr create

→ github.com/acme/shop/pull/412

Summary: Adds checkout session, webhook

handler and 6 tests.

lekho.config.json

{

"editor": "vscode",

"test": "pnpm test",

"permissions": "ask",

"mcp": {

"linear": { "command": "mcp-linear" },

"postgres": { "command": "mcp-pg" }

}

}

Integrations

Works with your stack

Any language your repo speaks. Use it next to VS Code or JetBrains, run it in CI, and connect internal tools through MCP.

TypeScript, Python, Go, Rust, Java, Ruby and more

MCP servers for tickets, docs and databases

lekho.config.json

{

"editor": "vscode",

"test": "pnpm test",

"permissions": "ask",

"mcp": {

"linear": { "command": "mcp-linear" },

"postgres": { "command": "mcp-pg" }

}

}

Integrations

Works with your stack

Any language your repo speaks. Use it next to VS Code or JetBrains, run it in CI, and connect internal tools through MCP.

TypeScript, Python, Go, Rust, Java, Ruby and more

MCP servers for tickets, docs and databases

10x

faster refactors

70%

fewer context switches

Any

language

Security & privacy

Security & privacy

Your code stays yours.

Your code stays yours.

Lekho runs on your machine and asks before it acts. Security teams get the controls they need from day one.

Lekho runs on your machine and asks before it acts. Security teams get the controls they need from day one.

Local-first

Lekho reads and edits files on your machine. Only the context needed for a request is sent to the model.

Never used for training

Your code and prompts are never used to train models. Zero-retention is available on Team.

SOC 2 Type II

Independently audited controls, with reports available on request.

Permission modes

Choose ask, auto-edit or read-only per project. Commands always need approval unless you allow them.

From engineers

Quietly changing how teams ship.

"I gave Lekho a two-day migration on Friday afternoon. It was in review before I left, with tests."

PR

Priya Raman

Staff Engineer, Northwind

"The diffs are what sold me. I always know exactly what changed and why."

MO

Marcus Oyelaran

Engineering Lead, Halcyon

"It reads our monorepo better than most new hires do in their first month."

SL

Sofia Lindqvist

CTO, Quarry

Pricing

Start free. Upgrade when it earns it.

Monthly

Yearly −20%

Free

$0

/mo

For trying Lekho on personal projects.

50 agent tasks per month

All languages

Local repos & git

Community support

Get started free

Most popular

Pro

$20

/mo

Billed monthly

Unlimited agent tasks

GitHub PRs & review replies

MCP integrations

CI mode

Install Lekho

Team

$40

/user/mo

Billed monthly

Everything in Pro

SSO & SCIM

Admin console & policies

Shared usage pool

Get started free

Need more? Add usage-based credits on any paid plan — $10 per 1,000 credits, only charged when you use them.

FAQ

Questions, answered.

How is Lekho different from autocomplete?

Autocomplete predicts the next few lines in one file. Lekho takes a whole task, reads the relevant parts of your repo, edits several files, runs your tests and shows you the result as a diff.

Which models power it?

Lekho uses leading frontier models chosen for coding, and routes simple steps to faster ones. Team admins can pin a provider or bring their own API key.

Does my code leave my machine?

Files are read and edited locally. Only the snippets needed for a request are sent to the model over an encrypted connection, and they are never used for training.

Which languages does it support?

Any language in your repo. It's strongest in TypeScript, Python, Go, Rust, Java, Kotlin, Ruby, PHP, C# and C++.

Can I use it in CI?

Yes. Run lekho --ci in GitHub Actions, GitLab or any runner to fix failing builds, triage issues or open PRs headlessly, with read-only mode available.

How is usage billed?

Plans are a flat monthly or yearly fee. Heavy users can add usage-based credits, and you can set a hard spending cap so there are no surprises.

Ship your next feature from the terminal.

$ npm install -g lekho

Get started free

Create a free website with Framer, the website builder loved by startups, designers and agencies.