LatentCodeGet started
LatentCode
A coding agent that runs in your terminal. It reads your code, edits files and runs commands to get a task done, and asks before it does anything you haven't allowed.
$ cd my-project
$ latentcode
> The /orders endpoint returns 500 when the cart is empty. Find out why and fix it.What you can do with it
- Understand a codebase. Ask how something works; it searches and reads the code and answers with file references.
- Make changes. Describe a feature, a fix or a refactor. It edits the files, runs your tests and shows you every diff.
- Plan first. The read-only Plan agent investigates and proposes an approach without touching anything.
- Keep going on its own. Give it a goal and it works turn after turn until the goal is met, or run a prompt on a schedule with
/loop. - Script it.
latentcode runsends one prompt and prints the result, for CI jobs and shell scripts. - Extend it. Add your own slash commands, agents, skills, MCP servers and plugins.
How it connects
LatentCode sends every model request through your organization's LatentStack gateway, using your personal API key. The models you can pick are the ones your tier allows, and usage shows up on your My Usage page. Your code stays on your machine: LatentCode reads and edits files locally and sends the model only what it needs for the task.
Install
The LatentStack installer sets up LatentCode and points it at this gateway:
$
curl -fsSL https://latentstack.dev/install.sh | bashSee Install for Windows and other options, then follow the Quickstart.
Explore the docs
Quickstart
Connect, start a session and review your first change.
Common workflows
Explore code, fix bugs, write tests, review changes.
The TUI
Prompt input, file references, shell mode, sessions.
Agents
Build, Plan and subagents, and making your own.
Permissions
Control what runs without asking.
Models
Choose models and reasoning effort.
Goals and loops
Long-running and recurring work.
Sessions and context
Resume, fork, undo, compaction.
Configuration
Config files and every setting.
MCP servers
Connect external tools.
Keybindings
Every shortcut, and how to change them.
CLI reference
Every command and flag.