ACP Mode (Zed, JetBrains)
elyra --mode acp serves Elyra as an Agent Client Protocol agent over stdio, so editors with an ACP agent panel can run it: Zed, JetBrains IDEs (AI Assistant), and other ACP clients.
Setup
Zed (~/.config/zed/settings.json, or Agent Settings > External Agents > Add Custom Agent):
{
"agent_servers": {
"Elyra": {
"type": "custom",
"command": "elyra",
"args": ["--mode", "acp"]
}
}
}
JetBrains IDEs (~/.jetbrains/acp.json, or AI Chat > Add Custom Agent; the command must be an absolute path, and the IDE must be restarted after editing):
{
"agent_servers": {
"Elyra": {
"command": "/absolute/path/to/elyra",
"args": ["--mode", "acp"]
}
}
}
Use which elyra for the path. Field names follow the editors' documentation at the time of writing; check it if your editor version rejects the entry.
What it does
- Sessions. Each new thread in the editor starts an Elyra session in the directory the editor sends. Sessions are saved like any other, so
elyra --session <id>continues one in the terminal. Several threads take turns: one prompt runs at a time, because two agents editing the same checkout would corrupt each other's changes. - Streaming. Replies, thinking and tool calls stream into the panel. Edits and writes show a diff.
- Context. Files you attach in the editor arrive as
@pathreferences or as embedded file contents; images are passed to the model. - Modes, switchable in the panel:
- Ask (default): the editor asks before every tool that changes files or runs commands (
edit,write,bash,lsp_rename, extension tools). Read and search tools run without asking. "Always allow" applies to that tool for the rest of the session. - Auto: tools run without asking.
- Read-only: only
read,grep,findandlsare available.
- Ask (default): the editor asks before every tool that changes files or runs commands (
- Cancel stops the running prompt.
Credentials and configuration
Elyra uses its own credentials (/login, environment variables, auth.json) and its own MCP configuration, settings, extensions and skills. MCP servers the editor offers to the agent are ignored. Run elyra once in a terminal to log in and pick a model; without a model, prompts fail with a message saying so.
Project trust applies as in every non-interactive mode: in a project you have not trusted, Elyra runs without the project's packages, extensions and MCP configuration. Run elyra in the project and use /trust to change that.
Limits
- Loading earlier sessions from the editor (
session/load) is not supported yet; continue them withelyra --session <id>. - The editor's file system and terminal are not used: Elyra reads and writes files and runs commands itself, in the session's directory.