Repository navigation
Done
Labels
Description
The first version runs an external ACP agent in a MandoCode pane with a clear boundary from the native agent. This epic tracks the next steps for deeper integration of external agents.
Planned
- ACP: resume sessions: choose a session and show its history. Completed in Feature: Choose past ACP sessions and restore conversation history in a focused fullscreen picker #154; closes [Feature]: ACP: resume sessions: choose a session and show its history #145.
- ACP: render markdown (especially links) in agent replies
- MandoCode MCP server passed to the agent via
session/new(mcpServers): expose the agent directory, snapshots and collaboration, enabling@agentmentions in ACP panes. Completed in Feature: Connect ACP and Ollama agents with shared skills, snapshots, and conversation handoffs #151. - Context handoff between the native conversation and the ACP conversation: optional text recap generated by the source agent and delivered with the target's next request. Completed in Feature: Connect ACP and Ollama agents with shared skills, snapshots, and conversation handoffs #151.
- Agent-provided commands (
available_commands_update): list them in suggestions with the connected agent’s name (for example[Codex], with[acp-agent]as the fallback) and forward them as prompts. Completed in Feature: discover and run ACP agent commands from autocomplete #147. - Image prompts (Alt+V) when the agent advertises
promptCapabilities.image. Completed in Feature: paste images into supported ACP agent conversations #148. -
terminal/*capability: host-managed commands through all five ACP v1 terminal methods and the MandoCode MCP bridge, with live output, exit status, session isolation, and automatic cleanup. Completed in Feature: Let ACP agents run builds, tests, and scripts in MandoCode terminals with live output and automatic cleanup #152. - Per-agent project folder changes: restart only the affected ACP agent, retain its transcript, and continue its session when supported or offer a recent-text handoff. Completed in Feature: keep ACP conversation context when switching project folders #150.
Separate follow-up
ACP agent mode (exposing MandoCode to editors) has been split into its own feature in #153. It remains open there and is outside this completed integration epic.
Activity
[-]Epic: ACP integration[/-][+][Epic]: ACP integration[/+]DevMando commentedon Nov 14, 2026
This is great! 😎
DevMando commentedon Nov 19, 2026
Hey @TeseySTD! I went through this one tonight and checked off the Markdown rendering item 😎
I pulled latest main (
ef602c5) and tested it with Codex ACP on Windows. Headings, bold/italic, bullet and numbered lists, code blocks, blockquotes, and tables all rendered correctly. I also clicked the Markdown link and it opened perfectly in the browser.Looking back through the PRs, your original ACP work in #140 already routed completed replies through MandoCode's Markdown renderer. My RazorConsole 0.7.0 update in #141 adapted the formatting and hyperlinks, and #142 added Codex ACP setup, mode controls, the connection card/header improvements, and expandable tool activity. So we already had this covered between those changes!
This check was for completed replies. If you had a specific issue with the live streaming preview or another rendering case in mind, let me know and we can track that separately. Thanks again for putting this epic together!
DevMando commentedon Nov 19, 2026
Hey @TeseySTD! Another item checked off 😎 Agent-provided command suggestions are now merged in #147.
Commands announced through
available_commands_updateshow up in autocomplete with their descriptions and input hints, and selecting one forwards it to the connected agent as a prompt with the original arguments preserved. We went with the agent's display name, like [Codex] or [Claude], so it's clear who handles the command; [acp-agent] is the fallback when no name is available.The suggestions follow the current session and stay scoped to that pane. MandoCode's own commands keep precedence when names overlap, with /compact keeping its existing ACP behavior.
I tested it interactively with Codex ACP in Visual Studio, including the labels, and it worked great. Updated the checklist and linked the PR above. Thanks again for laying out the roadmap!
DevMando commentedon Nov 19, 2026
Hey @TeseySTD! Image prompts are now covered too 😎 Merged in #148, and I checked off the item above.
Alt+V now attaches a clipboard image when the connected ACP agent advertises
promptCapabilities.image. Add a question and send it together with the image, or delete its @reference to remove the attachment. The prompt shows the Alt+V hint when image support is available, and agents without support get a clear explanation.Images stay in memory within their pane. We check support again at send time, attach duplicate references only once, and explain expired attachments instead of sending a prompt without its image. Limits are 4 MiB per image and 16 MiB total per prompt. Ctrl+V text paste still works for agents without image support.
I tested this with Codex ACP and it worked great! The selected image, clipboard, and ACP checks also passed on both .NET 10 and .NET 8: 72 passed and one existing symlink test skipped on each. The ACP guides and changelog are updated as well.
DevMando commentedon Dec 2, 2026
Folder-change work is completed and merged in #150 😎
We kept this per ACP agent, since each pane can work in a different project. Changing folders restarts only that agent and keeps the transcript. It attempts to continue the session in the new folder; if the adapter starts fresh, you can carry recent text context or start fresh.
Before the next request, the agent receives a project-change note so it knows to use the new folder and re-read files. The UI now switches directly and uses the same wording as native Ollama conversations, without repeating the connection card or internal acknowledgment.
Tested interactively with Claude ACP, including remembering a phrase across the folder change and recognizing the new project. The full Release suite passed with 1,966 tests and one existing symlink test skipped.
Updated and checked off the folder-change item above to reflect the per-agent behavior. Native ↔ ACP context handoff and the separate session-picker/history work remain open.
DevMando commentedon Dec 3, 2026
Quick update: #151 is merged, so the MCP bridge and native ↔ ACP context handoff items are now checked off! 🎉
This includes:
@mentions, exchanging questions/messages, and delegating background work./context-snapshot; ACP snapshots are generated by the connected ACP agent and its current model./acp-agentcommand spelling, and a fix for commands occasionally going missing during startup.Validation: 1,990 tests passed with one existing skip, plus manual testing.
Still open here: the session chooser and earlier-history replay in #145,
terminal/*support, and the separate discussion about exposing MandoCode to editors as an ACP agent. Recaps and snapshots don't replace session-history replay, so #145 stays open. Its documentation reference now points to the README.DevMando commentedon Dec 3, 2026
Another one checked off! :) Terminal support is completed and merged in #152.
ACP agents can now run builds, tests, and scripts in MandoCode-managed terminals, with live output and exit status right in the conversation. They can start a command, read its output, wait for it, stop it, and release it when done. The output stays visible after release.
This works through the five ACP v1
terminal/*methods and the MandoCode MCP bridge, so we don't have to wait for ACP v2. Commands stay scoped to their ACP session, and cancellation, session resets, folder changes, crashes, and pane closure clean up the owned processes without affecting other panes. Terminal access can also be disabled per agent withclientTerminals: false.Validated with 2,038 passing tests (one existing skip), a clean Release build, and a manual Codex test that ran
dotnet --version, returned10.0.401with exit code 0, and released the terminal successfully.The remaining items here are the session picker/history work in #145 and the separate ACP agent mode discussion.
DevMando commentedon Dec 4, 2026
Session selection and history are done and merged in #154! :) This also closes #145.
We can now use
/acp-agent <name> --resumeto choose an earlier conversation for the current folder, or pass a session ID directly (including with--new-panel). The picker shows readable titles and local dates, hides the workspace/agent bars while choosing, and keeps the controls in the lower-right corner. Escape leaves the current conversation alone.When the adapter supports history loading, earlier messages, completed tool activity, and plans are restored. Replay stays display-only, and anything typed while it loads waits until the history is ready. Agents without listing or history-loading support keep the appropriate remembered-session/resume fallback.
Validated with 2,069 passing tests and one existing skip before the final layout refinement, followed by 71 passing workspace/layout checks, plus successful manual Claude and Codex testing.
That leaves editor-facing ACP agent mode, now tracked separately in #153, as the remaining unchecked item here.
DevMando commentedon Dec 4, 2026
Closing this one out! :) The external-agent integration work is now complete, including session selection and history in #154, terminal support in #152, collaboration and context handoffs in #151, per-agent folder changes in #150, image prompts in #148, and agent commands in #147.
Editor-facing ACP agent mode is a larger feature and now has its own issue, #153, so I've moved it out of this epic's unfinished checklist. That work stays open there.
Thanks for laying out the integration roadmap—this gave us a clear set of improvements to work through!