Open-source AI coding agent

One coding agent.Every place you code.

Truss reads your code, makes changes, and runs commands with your approval. Use a local model or your own API key, in your terminal or editor.

MIT licensedNo accountRuns on your machineLocal or cloud models

Three agents. One workspace.Click an agent. Try approving the edit. ↙
truss / ~/projects/web-appInteractive preview
Builder/Edit modewaiting for you

❯ Fix the failing login test.

read_file src/auth/login.ts

run_terminal npm test -- login

The test expects a redirect after sign-in, but the handler returns 200. I'll send the redirect and keep the session cookie.

↳ src/auth/login.ts+1 −1
    setSessionCookie(res, session);
-   return res.status(200).json({ ok: true });
+   return res.redirect(303, "/app");
Apply this edit to src/auth/login.ts?
3 agents · 1 workspaceapprovals: ask before writes and commands
OllamaLM Studiollama.cppOpenAIAnthropicGeminiOpenRouterMistralDeepSeekGroqxAITogether

How it works

Ask. Review. Ship.

An assistant that does the work in your project, not just suggests it, while you approve every change.

01

Pick a model

Run one on your machine with Ollama, LM Studio or llama.cpp, or paste your own key for OpenAI, Anthropic, Gemini, OpenRouter and more.

Local · BYOK · 15+ providers
02

Say what you need

Ask a question, request a plan, or tell it to make the change. Truss reads the right files, searches the code and runs the checks.

Chat · Plan · Edit
03

Approve what changes

Before Truss writes a file or runs a command, you see the diff or the command and decide. Nothing lands without your say.

Diffs · Approvals · Undo

One agent, six apps

Use the tool you already like.

Every app runs the same Truss agent, so your models, settings and history come with you. Compare the apps →

Why Truss

Powerful help. You stay in control.

For developers who want a capable agent without giving up their tools, their models or their say over what changes.

01

Any model, your choice

Local for privacy and zero cost, or cloud with your own key. Switch any time; nothing is tied to one vendor.

No lock-in
02

Nothing behind your back

Choose what Truss may read, change and run. Risky steps wait for you, with a preview of exactly what happens.

Permissions · Approvals
03

Same agent everywhere

Your models, settings, plans and history follow you between terminal, editor, desktop and phone.

One runtime
04

Remembers the project

Conversations, plans and project notes live in your workspace, so the next session starts with context.

Plans · Memory
05

Sends only what matters

Open files, recent edits and Git changes give the model what it needs without uploading the whole repo.

Focused context
06

Free and open source

MIT licensed. No account, no hosted middleman. Read it, fork it, extend it with your own tools.

MIT · Local-first

Two minutes to first task

Try it on your own code.

$ npm install --global @truss-harness/truss