简繁EN

VS Code 插件No. 80

Claude Code Plus, Codex Plus and OpenCode Agent Plus: series overview

Contents

Claude Code Plus 1.13.0 and Codex Plus 1.10.0 add to two existing VS Code extensions: Anthropic's Claude Code and OpenAI's Codex, respectively. OpenCode Agent Plus 1.6.0 lets you use the open-source coding agent OpenCode in VS Code. VS Code Marketplace and Open VSX both carry these releases alongside Agent Plus 1.13.0, the extension all three share.

Why these extensions

The three extensions bring mostly the same features to each agent. OpenCode is an open-source coding agent that runs as the command-line program opencode. OpenCode Agent Plus gives it a chat interface in VS Code editor tabs, modeled on Anthropic's Claude Code extension and Claude Code Plus. The chat can use any model provider OpenCode connects to.

With any of the three extensions, each conversation has its own Work plan. The agent records work in numbered rows (1, 2, 2.1, ...), each with one of seven states: discussing, todo, doing, waiting, parked, done or dropped. On each turn, the model receives the rows not yet done or dropped. Unfinished work stays in the plan when you switch topics. It also survives compaction, when the context fills up and the agent summarizes earlier turns.

Agent Plus's Conversations sidebar lists conversations from all three agents. The status bar shows N conversations need you, a count across all VS Code windows on the machine. When a conversation needs your approval or an answer, or stops with a reply you haven't read, a notification appears in the window you're using. Select Open to go to that conversation. For Codex approval requests, the VS Code notification comes from Agent Plus; Codex shows none of its own.

The conversation page also gets:

  • a timestamp on each message;
  • under each reply, how long the turn took and how much of the context window is in use;
  • navigation between your messages at the right edge of the page;
  • chimes when a turn ends or the agent needs permission.

The tab icon shows a green dot while a turn runs, a green ring if the turn has ended but background work continues, and a red dot while the conversation waits for you. In the official Claude Code extension, the tab icon stays unmarked while a turn runs.

How the three extensions relate to Agent Plus

Agent Plus draws the views that Claude Code Plus, Codex Plus and OpenCode Agent Plus share. Each of the three reports its agent's conversations, work plans and tab states to Agent Plus. VS Code installs Agent Plus alongside whichever extension you choose, but Agent Plus shows nothing on its own.

Each extension connects to one agent, and all three share Agent Plus below them

The Work plan view, in the Agent Plus sidebar (separate from the Conversations sidebar), shows the plan for the conversation you're looking at. In the bottom panel, the Conversations view lists running conversations, conversations waiting for you and questions the agent has recorded in its Work plan for you to answer. The Answer view sits beside it, and what you type there goes to the conversation whose question the Answer view shows. Open the Conversations sidebar from the activity bar to see your conversations.

In its own agent's interface, each extension adds features such as message timestamps, per-reply statistics, message navigation, chimes and tab dots. The extension also installs a work plan plugin in that agent; the plugin gives the plan to the model each turn.

Claude Code Plus and Codex Plus each edit files in the official extension installed for that agent. Reload the VS Code window after installing either Plus extension. OpenCode Agent Plus edits no other extension. It draws its own chat interface and starts opencode acp in the VS Code window, the mode in which OpenCode talks to editors over the Agent Client Protocol.

Which to install, and whether to install them together

Install the extension for the agent you use. Agent Plus comes with it, and you don't need all three. Search for Claude Code Plus, Codex Plus or OpenCode Agent Plus in VS Code's Extensions view. In a terminal, run code --install-extension xnervwang.claude-code-plus for Claude Code Plus, or replace the extension ID with xnervwang.codex-plus for Codex Plus or xnervwang.opencode-agent-plus for OpenCode Agent Plus.

Use VS Code 1.96 or later with any of the three extensions and Python 3.7 or later for the Work plan. On Windows, each extension offers to download Python from python.org if Python is missing; accept it if you want the Work plan. In a Remote SSH window, VS Code installs the extension on the remote machine. For OpenCode Agent Plus, install OpenCode and Python there too.

VS Code installs each extension's dependencies along with it. Both Claude Code Plus and Codex Plus depend on Agent Plus, and each also needs its agent's extension: Anthropic's Claude Code extension for Claude Code Plus and OpenAI's Codex extension (openai.chatgpt) for Codex Plus. When Codex Plus starts, it installs the Work plan plugin into Codex. When Codex asks about the plugin's hooks, which are scripts Codex runs at set points, trust them; the Work plan needs them.

Agent Plus is the only extension dependency for OpenCode Agent Plus. OpenCode itself must be on the machine where the extension runs. If the extension can't find OpenCode, it offers to download version 2.4.1. Version 1 is enough for chatting. The Work plan, the plan bar above the message box (a one-line summary of the plan), the conversation brief (the model's summary and status), the model renaming its conversation, rewinding to an earlier message and the other features marked note 1 in the table below require OpenCode 2.

With more than one installed

If you install the extensions for more than one agent, conversations from their agents appear in the same Conversations sidebar. Each row shows the agent's logo. If a reply refers to another agent's conversation by name, click the name to open it. With Claude Code Plus, a Claude Code conversation acting as a Supervisor can look after OpenCode Agent Plus conversations.

The comparison table

All three extensions share most features. Codex Plus shows no cost under its replies and has no Focus view (only your messages and the last reply of each turn) and no filter for one sub-agent's activity (a sub-agent is a helper agent the main agent starts for part of a task).

In OpenCode Agent Plus, a conversation can start a detached command (note 7) or a background Claude Code session (claude --bg), but it gets no notification when the command or session ends. Only Claude Code Plus includes the Supervisor, which can supervise Claude Code and OpenCode Agent Plus conversations but not Codex conversations.

In the From column, "Agent Plus" marks a view or setting that the three extensions share. Each extension connects its own agent to Agent Plus.

For rows marked "Each extension", the extensions that support the feature build it for their own agents. Rows marked "Claude Code Plus" identify features built into Claude Code Plus, which can reach OpenCode Agent Plus conversations through Agent Plus.

OpenCode Agent Plus is itself the chat interface, so the comparison includes only additions that any of the three extensions could have. The OpenCode Agent Plus post covers the chat interface, including permission prompts, slash commands and the model picker.

Feature From Claude Code Plus 1.13.0 Codex Plus 1.10.0 OpenCode Agent Plus 1.6.0
Work plan: a numbered plan for each conversation, given to the model every turn Agent Plus (note 12) Yes Yes Yes (note 1)
Plan bar above the message box: counts of unfinished rows by state, and the questions for you Agent Plus Yes Yes Yes (note 1)
Answering plan questions in the Answer view Agent Plus Yes Yes Yes (note 1)
Conversation brief: a summary and current status written by the model Agent Plus Yes Yes Yes (note 1)
Conversations sidebar: every agent's conversations in one list, with groups, pins, title colours, search and an agent filter Agent Plus Yes Yes Yes
Marking conversations in the list that are open in another window or a terminal Agent Plus Yes Partly (note 2) Yes
Account & usage at the top of the list: how you are signed in and usage such as cost, tokens or rate limits, for each agent Agent Plus Yes Yes Yes
Temporary conversations, deleted a while (10 minutes by default) after you close them Agent Plus Yes (note 3) Yes Yes
N conversations need you in the status bar, and the Conversations view in the panel Agent Plus Yes Yes Yes
A notification in your current window when a conversation waits for you or stops with an unread reply Agent Plus Yes Yes Yes
Token mode: which features may add text to what is sent to the model Agent Plus Yes Yes Yes
Telling the model your time zone Each extension Yes Yes Yes (note 1)
Status dots and the unread envelope on tabs Each extension Yes Yes Yes
A time on every message Each extension Yes Yes Yes
Duration, context share, cost, model and reasoning-effort setting under each reply Each extension Yes Partly (note 4) Yes
Message navigation at the right edge Each extension Yes Yes Yes
Context meter in the message box: how much of the context window the conversation uses Each extension Yes Yes Yes
Chimes when a turn ends, when permission is needed and when the model asks a question Each extension Yes Yes Yes
Session information button: session ID, process, folder and more Each extension Yes Yes Yes
Images shown inside replies Each extension Yes Yes Yes
Other conversations named in a reply become links, across agents too Each extension Yes Yes Yes
The model renaming its own conversation Each extension Yes Yes Yes (note 1)
Focus view: only your messages and the last reply of each turn Each extension Yes No Yes
Sub-agent tags and a sub-agent filter Each extension Yes No Partly (note 5)
Agent map: sub-agents, commands the agent runs in the background, and detached commands (note 7) Each extension Yes Yes Yes (note 6)
Telling the conversation when a detached command it started ends (note 7) Each extension Yes Yes No
Telling the conversation when a background Claude Code session (claude --bg) it started ends Each extension Yes (note 8) Yes No
Timers that send an idle conversation a prompt when due, listed in the Agent map Each extension Yes (note 9) Yes No
Supervisor: one conversation looking after others Claude Code Plus Yes No No
Being looked after by a supervisor Claude Code Plus Yes No (note 10) Partly (note 11)

Notes:

  1. Needs OpenCode 2.
  2. On macOS and Windows, a Codex conversation is marked as open elsewhere only when another VS Code window has it open; Codex's terminal interface and one-off codex exec runs are recognized only on Linux.
  3. Claude Code Plus starts temporary conversations only in a tab, not in Claude Code's sidebar.
  4. No cost; when Codex already shows the turn's duration ("Worked for ..."), Codex Plus does not add its own.
  5. Sub-agent activity shows under the call that started it, without a task-name tag, and the filter can hide all sub-agents' activity together but not one sub-agent's alone.
  6. In a pill under the message box that counts what is running, such as "1 subagent, 1 command running"; the interface does not call it Agent map.
  7. A detached command is one left running in the background with nohup, setsid or the like. All three extensions recognize them only on Linux.
  8. Not on native Windows.
  9. The timers are Claude Code's own scheduled tasks, which Claude Code Plus lists in the Agent map; Codex Plus adds its own wake-ups.
  10. The Supervisor panel picks the conversations to look after with checkboxes; in Claude Code Plus 1.13.0 it shows none for Codex conversations.
  11. A supervisor can only send plain messages to an OpenCode Agent Plus conversation; it cannot rename, close or reopen that conversation.
  12. Agent Plus shows the plan; each extension installs the plugin that gives the plan to its agent's model.

What each extension adds for its own agent

Claude Code Plus makes Claude Code's automatic cleanup of old transcripts skip conversations that Agent Plus still lists. The claudeCodePlus.hideOfficialSessionList setting hides Claude Code's own session list in the activity bar, since Agent Plus lists the same conversations.

Codex Plus shows Codex's goal in the conversation list and the Agent map, and you can pause, resume or clear it from either. When Codex sets a goal, it starts another turn on its own whenever the conversation is idle until the goal is complete.

The codexPlus.contextWindow setting lets you set a context window for each model. You can cap the number of tokens used by the list of installed skills (instructions Codex can load) that Codex adds to the context each turn, or tell Codex to leave out specific skills. Clicking the context meter in the message box starts a compaction and leaves your draft in the box.

You can set an AWS profile and Region for Amazon Bedrock in OpenCode Agent Plus's settings, or store a Bedrock API key with OpenCode Agent Plus: Set Amazon Bedrock API Key, and test the setup with OpenCode Agent Plus: Test OpenCode Connection.

When OpenCode asks to edit a file, you can review the change in VS Code's diff view before approving it. From one of your messages, you can fork a new conversation or rewind the current conversation to just before that message. In a Git repository, rewinding also restores the files OpenCode changed after that message. A conversation can be open in only one VS Code window at a time, but you can take it over from another window.

In this series

  1. Claude Code Plus, Codex Plus and OpenCode Agent Plus: series overview
  2. Supervisor: one conversation that looks after the others
  3. Background work and alerts: see which conversation is running and which is waiting for you
  4. Conversations: one side bar list for Claude Code, Codex and OpenCode
  5. Work plan: keep long conversations on track and answer their questions in one place
  6. Claude Code Plus: times, cost and a message list in the Claude Code panel
  7. What Codex Plus 1.10.0 adds to Codex in VS Code
  8. OpenCode Agent Plus: talk to OpenCode in VS Code editor tabs

Article link: https://xnerv.wang/en/agent-plus-series/