plugins/agent-workbench/README.md
The Agent Workbench plugin reimagines the IDE experience around AI-assisted development. Rather than treating AI as an add-on feature, the plugin creates a seamless workflow where developers can:
The goal is to make AI assistance feel like a native part of the development environment, reducing context switching and keeping developers in flow.
Use Cmd+\ (macOS) or Ctrl+\ (Windows/Linux) to open a centered prompt palette from anywhere in the IDE.
The palette:
The plugin provides two complementary views for working with AI-assisted development:
┌─────────────────────────────────────────────────────────────────────────────┐
│ IntelliJ IDEA │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────────────────────────┐ ┌─────────────────────────────────┐ │
│ │ PROJECT FRAME │ │ AI-CHAT DEDICATED VIEW │ │
│ │ (traditional development) │ │ (task orchestration) │ │
│ │ │ │ │ │
│ │ ┌────────┐ ┌────────────────┐ │ │ ┌────────┐ ┌────────────────┐ │ │
│ │ │ Agent │ │ │ │ │ │ Agent │ │ │ │ │
│ │ │Sessions│ │ Editor │ │◄─►│ │Sessions│ │ Chat Panel │ │ │
│ │ │ Tool │ │ │ │ │ │ Tool │ │ │ │ │
│ │ │ Window │ │ │ │ │ │ Window │ │ • Status │ │ │
│ │ │ │ │ • Navigate │ │ │ │ │ │ • Input │ │ │
│ │ │Projects│ │ • Edit │ │ │ │Projects│ │ • History │ │ │
│ │ │ └─Th. │ │ • Debug │ │ │ │ └─Th. │ │ │ │ │
│ │ │ └─… │ │ • Review VCS │ │ │ │ └─… │ │ │ │ │
│ │ └────────┘ └────────────────┘ │ │ └────────┘ └────────────────┘ │ │
│ └─────────────────────────────────┘ └─────────────────────────────────┘ │
│ │
│ Why dual views? │
│ • Work on multiple tasks in parallel — see status of each │
│ • AI isn't "there" yet — you still review, read, understand code │
│ • Not vibe-coding — we use AI in production, need to know how/why │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
The Agent Threads Tool Window organizes conversations by project:
Projects
├── project-a
│ ├── Thread: "Add caching layer" [done]
│ └── Thread: "Fix auth bug" [needs input]
│ └── sub-agent: "research"
└── project-b (not open) [Connect]
└── Thread: "Refactor API" [inactive]
Detailed requirements and testing contracts are documented in spec/.
Run all Agent Workbench tests with:
./tests.cmd '-Dintellij.build.test.patterns=com.intellij.agent.workbench.*'
When diagnosing a Codex thread started from Cmd+\ or Ctrl+\ that falls back to shell tools instead of ijproxy, collect a fresh idea.log from IDE startup through one repro and enable these categories in Help | Diagnostic Tools | Debug Log Settings:
#com.intellij.agent.workbench.sessions.launch.config.backend.AgentWorkbenchProjectLaunchConfigLogCategory for .agent-workbench.yaml discovery, parsed config summaries, shim preparation, and provider launch augmentation.#com.intellij.agent.workbench.sessions.service.AgentSessionLaunchService for sanitized new-thread launch handoff summaries.#com.intellij.agent.workbench.codex.common.CodexAppServerClient for Codex app-server startup summaries and forwarded stderr.#com.intellij.mcpserver.impl.McpServerService:trace for IDE MCP server and session startup.#com.intellij.mcpserver.impl.McpSessionHandler:trace for MCP tool list updates and actual tool calls.#com.intellij.mcpserver.impl.util.network.RoutingContext:trace for stdio and session transport issues.#com.intellij.mcpserver.ToolCallListener:trace for extra per-tool activity.#com.intellij.mcpserver.impl.ReflectionToolsProvider for MCP tool discovery and loading issues.Interpret the logs like this:
codex, agent-workbench did not apply .agent-workbench.yaml augmentation.CodexAppServerClient shows startup or stderr failures, the problem is before MCP tool calls.McpSessionHandler shows session traffic and tool calls, ijproxy was available and shell-only behavior is model-side rather than missing transport.