ACP Editors (llamatik-acp)
llamatik-acp is an Agent Client Protocol agent over stdio, so it works in Zed, JetBrains AI Assistant, Neovim and any other ACP client. It takes the same --model / --server / inference options as the terminal agent, and offers the same modes, slash commands, checklist, checks and saved conversations.
Setup
Build it with ./gradlew :acp:installDist; the launcher is acp/build/install/llamatik-acp/bin/llamatik-acp. The editor starts the command and talks to it over stdin/stdout; it chooses the project folder for every session.
Example for Zed (settings.json):
{
"agent_servers": {
"Llamatik": { "command": "llamatik-acp", "args": ["--server", "mac-studio.local"] }
}
}The model is loaded (or the server contacted) when the first session is created, so the editor handshake is instant. Failures, such as no model configured, are reported as an error on that session request.
What the editor gets
- The agent’s words as it writes them, and every tool call with its status and a short result.
- Edits as diffs the editor can show, applied only after the editor’s own permission prompt. Files are read and written through the editor when it offers file access, so the agent sees unsaved buffers and edits land in the editor’s undo history.
- Modes (the editor’s mode picker): ask (confirm everything), edits (apply edits, confirm commands), plan (look, change nothing) and auto.
--auto-approveand--accept-editschoose the starting mode. - Slash commands, advertised to the editor:
/context,/compact,/undo,/redo,/rewind,/diff,/status,/commit,/plan,/mode,/agent,/stats,/init,/permissions,/memory,/resume,/clear,/help, and your own commands from.llamatik/commands/*.md. They match the terminal ones; output arrives as a markdown message. - The agent’s checklist (
todo_write) as the editor’s plan view, and checks (--check "<command>", run in the editor’s terminal after every change) as a tool call whose result the model also sees. - Saved conversations: each session is saved and listed (
session/list), andsession/loadshows the history again and carries on where it stopped. - Commands in the editor’s terminal when it provides one. Answering Always allow saves the command for the project (
.llamatik/permissions.txt). With--sandbox, commands run instead in an OS sandbox (no network, writes only inside the project) and not in the editor’s terminal. --planner-model/--planner-server: a second, stronger model that answers while the session is in plan mode.- The project map, auto-compact,
LLAMATIK.md(with@fileimports; the ACP agent always uses the default 2000-character limit), roles from.llamatik/agents, and files attached to the prompt (using the editor’s unsaved text). session/cancelstops the current turn.
Notes and limitations
- stdout carries the protocol and nothing else; diagnostics go to stderr. The ACP SDK (
com.agentclientprotocol:acp, Apache-2.0) is pre-1.0, so its version is pinned and used only by this module. - Not supported: image and audio prompts, MCP servers passed by the editor, typing to the agent while it works (ACP has no message mid-turn; the editor queues the next prompt), and settings files.
/undorestores files through the editor, but a file the agent created cannot be deleted through the protocol, so it is only removed from disk when the editor has saved it there.
