#2105·openclaude

Feature request: ACP stdio server for JetBrains AI Chat and CLion 2026.2

Author: liueggyCreated Aug 10, 2026Updated Sep 26, 2026

Summary

Please add a public ACP (Agent Client Protocol) server mode to OpenClaude, for example:

bash
openclaude acp

The primary use case is running the locally installed OpenClaude CLI as a custom agent inside JetBrains AI Chat, especially CLion 2026.2.

Motivation

JetBrains IDEs can launch custom agents from ~/.jetbrains/acp.json by starting an ACP server over stdio. CLion 2026.2 also ships a new agentic debugger skill that can work with GDB, LLDB, and DAP-based debuggers.

On Windows, OpenClaude v0.27.0 currently exposes --ide, structured print/stream-json modes, MCP support, and skills, but it does not expose a documented ACP server command. Configuring openclaude with args: ["acp"] therefore does not create an ACP session that JetBrains can use.

This would be particularly useful for C/C++ and embedded projects where an agent needs IDE project context and, where supported, access to CLion's debugger workflow.

Minimal proposed scope

  1. Add an ACP-over-stdio entry point such as openclaude acp.
  2. Support the core JetBrains client lifecycle:
    • initialize
    • create/new session
    • prompt
    • cancel
    • close or resume when available
  3. Keep stdout protocol-clean; send diagnostics and logs to stderr.
  4. Preserve the IDE-provided working directory and OpenClaude's existing permission model.
  5. Document a JetBrains acp.json example for Windows, macOS, and Linux.
  6. Document whether IDE-provided agent skills—particularly CLion 2026.2's clion-debugger—can be discovered or imported by OpenClaude, and any limitations.

A minimal successful result would be that CLion can launch OpenClaude from acp.json, show it in AI Chat, send a prompt, stream the response, and cancel the turn cleanly.

Related issues

  • #18 requested a public ACP integration surface, but was closed before one was exposed.
  • #1035 requested JetBrains AI Assistant support and was closed as not planned.
  • CLion 2026.2 changes the integration opportunity by shipping custom ACP-agent support and the bundled debugger skill.

References

Would the maintainers be open to this as a focused ACP adapter, possibly implemented on top of OpenClaude's existing structured stdio/SDK plumbing?