灵刻 LeanCarve

AI coding agent

One coding agent,
on your phone, desktop and terminal

LeanCarve runs on your own device or server: it reads code, edits files, runs commands and checks the result. You supply the model key and choose the provider; the output can be pushed to GitHub, deployed to your own Linux server, or kept on your machine.

Download Create account

An account is optional: everything works without one. Only remote control and hosted services need it.

One core, three entry points

The phone, the desktop window and the terminal run the same agent code: the tools, the order of approvals and the system prompt are the same.

Entry points

Phone
Desktop window
Terminal

Core

agenttools · approvals · sessions

Models

Cloud API
Self-hosted on your network
On-device model on the phone

Output

GitHub
Your own server
This machine

The core can run on your machine or inside leancarve on your own server; the phone and the desktop window connect to it over SSH. The terminal doesn't open SSH connections to other machines, but it can attach to sessions open on your other devices through remote control (leancarve remote attach).

Platforms and availability

PlatformFormStatus
WindowsWindow app and terminal (x64, installer)Not released yet
LinuxWindow app (deb / rpm); terminal (x86_64, arm64)Not released yet
macOS—Not available yet
AndroidPhone app with a built-in Linux environment (PRoot)Public download not available yet
iOSPhone app; Linux programs run in a built-in interpreter (slower than native)Public download not available yet

Downloads, checksums and per-platform install steps are on the download page.

Command line quick start (Linux)

curl -fsSL https://leancarve.win/install.sh | bash
cd your-project
lc

Common options: lc -c resumes the latest session in the current directory; lc -p "…" runs one instruction and exits, which suits scripts; lc config sets the model and key. What the install script does, how to install on Windows and how to verify the download are on the download page.

How it works

Your choice of model

Cloud APIs from OpenAI, Anthropic, Gemini, DeepSeek, Qwen, Kimi, Zhipu GLM, OpenRouter and more; Ollama, LM Studio, llama.cpp or vLLM self-hosted on your network; and small on-device models on the phone. You enter the key and can switch provider at any time.

Your choice of output

Push the result to GitHub, deploy it to your own Linux server, or keep it on your machine. You don't need a server to get started: by default the agent runs on your own device, and a server is only needed for the second option.

Confirmation before action

Before the agent edits a file or runs a command, it shows you and waits for your approval. With “approve everything” switched on it stops asking, including about changes made after it has read a web page; on a computer, installing software into the system is no different.

Across your devices

With one account, the phone can control a session running on a computer, and a session can be handed from one computer to another, workspace included, to continue there. What passes between the devices is end-to-end encrypted; the data that does pass through our servers is described on What we store.

Where your data goes

The server behind this website (where you sign up and sign in) has no endpoint that accepts your code, your conversations or your API keys. Your code goes to the model provider you chose — that's the cost of using a cloud model; with a model on your own network, or the on-device model on the phone, it isn't needed. The exception is the cloud, if you turn it on yourself: your code then runs on our machines.

Current limitations