You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Editor integration through the Agent Client Protocol #49
Many developers want the agent inside their editor, where they can see diffs inline, accept or reject changes, and share the current selection.
Proposal
The Agent Client Protocol (ACP): implement its agent side. lcode acp speaks ACP over stdio, so editors that support ACP can run lcode as their agent, with the editor's own diff review and approval UI.
Mapping: lcode's tools, approvals, checkpoints and MCP servers map onto ACP. Edits go through the editor's buffers.
Later: a dedicated VS Code extension, if ACP support there isn't enough.
Acceptance criteria
lcode acp works with at least one ACP editor (for example Zed), with diffs and approvals in the editor
Shipped in 0.19.0 (#83): lcode acp speaks ACP version 1. Setup for Zed, JetBrains and other editors: Editors.
Tested with the official ACP Python SDK (agent-client-protocol 0.12.1) as the client, which validates every message, and Qwen3.6 35B through Ollama, also from the PyPI build:
Ask mode: fixing two bugs asked twice in the client's permission dialog, with whole-file diffs. The edits went through fs/write_text_file.
Unsaved buffer: the model read a line that existed only in the editor's buffer.
Plan mode: the plan was approved through the dialog, the mode switched to auto-edit, and the todo list arrived as plan updates.
Cancel:session/cancel during a request returned cancelled.
Load:session/load replayed a saved session in a new connection.
Not yet tried inside Zed or a JetBrains IDE. If you do, a note here helps, with dev: open acp logs output if something looks off. The dedicated VS Code extension stays a later option: several VS Code ACP clients exist already (list).
Activity
nasser1941 commentedon Oct 5, 2026
Shipped in 0.19.0 (#83):
lcode acpspeaks ACP version 1. Setup for Zed, JetBrains and other editors: Editors.Tested with the official ACP Python SDK (
agent-client-protocol0.12.1) as the client, which validates every message, and Qwen3.6 35B through Ollama, also from the PyPI build:fs/write_text_file.planupdates.session/cancelduring a request returnedcancelled.session/loadreplayed a saved session in a new connection.Not yet tried inside Zed or a JetBrains IDE. If you do, a note here helps, with dev: open acp logs output if something looks off. The dedicated VS Code extension stays a later option: several VS Code ACP clients exist already (list).