Skip to main content
Author(s): anna239

Elevator pitch

What are you proposing to change?
Introduce a plan_update session update type that supports structured items and Markdown with an optional path to the plan file, multiple concurrent plans via IDs, and explicit plan removal. In ACP v1, the existing plan session update type remains unchanged for backward compatibility. In ACP v2, plan_update with structured items is already the baseline. This RFD adds Markdown plans and removal.

Status quo

How do things work today and what problems does this cause? Why would we change things?
  • In ACP v1, the plan session update contains entries: Vec<PlanEntry>, a flat list of items with priority/status
  • Plans are one-way notifications (agent → client) via session/update
  • No plan identity — each update replaces the previous plan entirely
  • No way to remove/dismiss a plan once sent
  • Only one plan representation (structured items) — no support for free-form markdown plans or for plans the Agent keeps in a file

What we propose to do about it

What are you proposing to improve the situation?
Add a new SessionUpdate variant — plan_update — that carries a plan field. The plan field is a tagged union (discriminated by type) with the following variants: All variants carry a required planId: string that identifies the plan, and an optional _meta for extensibility. Additionally, introduce a plan_removed session update type that carries only a planId to signal dismissal. This keeps plan_update focused purely on content updates and makes removal a distinct, self-describing event. In ACP v1, the existing plan session update type is not modified and continues to work as before. Agents use plan_update and plan_removed only when the Client advertises plan. Otherwise, they send structured checklists through the existing plan session update type. ACP v2 does not require this capability, as described in Protocol versions.

ACP v1 Client capabilities

Add to ACP v1’s ClientCapabilities:
This field is optional. When present as {}, it signals the Client supports the plan_update and plan_removed session update types. When omitted or null, the Client does not advertise support, and the Agent must fall back to the existing plan session update type for structured checklists. When the Client advertised plan, Agents SHOULD send their plans with plan_update instead of plan.

Multiple plans

The planId field on every plan variant identifies a specific plan.
  • Each plan_update replaces the whole plan with that planId, whatever its type, including when the type differs from the previous update.
  • Clients track plans by ID. Different plans may use different types (for example, one items plan and one markdown plan).
  • For items plans, the Agent sends the complete list of entries in each update. An empty entries array empties the plan. Clients MAY hide an empty plan.

Markdown plans

content is required and holds the whole plan as markdown. path is optional. An Agent that keeps the plan in a file sets path to that file. path MUST be an absolute path. Omitting path and sending null both mean the plan has no file. content is the plan to display whether or not path is set. Clients render content and don’t need to read the file. A Client that can reach the file can use path to open it. content is a snapshot. When the plan changes, the Agent sends another plan_update, as it does for a plan without a file.

Plan removal

The Agent sends a plan_removed session update with the plan’s planId to remove it. This is a separate session update type from plan_update, so content updates and lifecycle events stay distinct.
  • Agents SHOULD send plan_removed when a plan is cancelled, for example when the user rejects it or the Agent abandons it. A finished plan doesn’t need to be removed.
  • Clients MUST ignore plan_removed for a planId they don’t know.

Protocol versions

In ACP v1, plan_update and plan_removed require the Client’s plan capability, as described above. The v1 PlanUpdateContent has no fallback for unknown type values, so a v1 Client that receives an unknown plan type fails to parse the notification. A new v1 plan type would need its own capability. In ACP v2, the v2 Plan Variants RFD replaced the legacy plan update with plan_update and removed the plan capability. This RFD adds markdown alongside items and adds plan_removed to the v2 baseline. None of these operations require a Client capability in v2. V2 Clients that don’t know a plan type accept it through the unknown plan-content fallback. It still replaces the plan with that planId, so the Client stops showing the previous content. Older v2 Clients accept plan_removed through the unknown session-update fallback but may not act on it. To clear the plan for them too, Agents can first send an items update with the same planId and entries: [].

Shiny future

How will things play out once this feature exists?
Agents can present structured checklists for step-by-step execution or Markdown for design docs, with the path of the plan file when the Agent keeps one. Clients that render these formats can show multiple concurrent plans, such as a high-level strategy and a detailed implementation checklist, and dismiss plans that are no longer relevant. ACP v1 Clients that don’t advertise plan continue to receive the existing plan updates for structured checklists.

Implementation details and plan

Tell me more about your implementation. What is your detailed implementation plan?

Protocol implementation

Plan operations are part of the default schemas for both versions. See the v1 plan operations guide for opt-in and the legacy checklist fallback, and the v2 plan guide for snapshots, removal, and unknown plan types.

Agent and Client implementations

The implementations below support the current items and markdown plan types. The earlier file plan type has been removed. Zed also supports the optional path on Markdown plans. Neither Agent adapter below currently sends that optional field.

Json format examples

Existing plan (unchanged):
Item-based (plan_update):
Markdown:
Markdown with the path of the plan file:
Removal:

Frequently asked questions

What questions have arisen over the course of authoring this document or during subsequent discussions?

Why a new session update type instead of extending the existing plan?

The existing ACP v1 plan variant flattens Plan’s entries field directly into the SessionUpdate discriminated union object. Adding a nested plan field, optional planId, and polymorphic types to the same variant would require breaking the existing format or complex dual-deserialization logic. A new plan_update variant avoids this. V1 Agents send it only to Clients that advertised plan. V2 uses plan_update as its baseline and does not require the capability.

Why a separate plan_removed session update type instead of a removal variant inside plan_update?

Keeping removal as a separate session update type means plan_update’s type discriminator only covers content variants (items, markdown), making the schema cleaner.

Why is the plan file a path on markdown plans and not its own plan type?

An earlier revision had a file plan type that carried only a uri. A Client had to read the file to show the plan’s content, and a Client that doesn’t share a filesystem with the Agent couldn’t show it at all. Neither Agent adapter listed above sent file plans. The Claude Agent adapter left them out because a file:// URI only resolves on the Agent’s machine. With path on the markdown plan, the Agent always sends the content, so every Client that renders markdown plans can show the plan. The path is extra information for Clients that can reach the file. path is an absolute path and not a URI, like the paths in tool call locations and diffs.

Why plan-specific markdown and not a generic markdown content API?

A generic “agent shares markdown document” API would be simpler and more reusable. However, keeping it plan-typed enables clients to build plan-aware UX: selecting plan steps for partial execution, tracking plan progress, showing plan history. A generic markdown block wouldn’t carry this semantic meaning. If future use cases need generic markdown sharing, that can be a separate feature.

When should an Agent remove a plan?

When the plan is cancelled, for example when the user rejects it or the Agent abandons it. A finished plan still shows what the Agent did, so the Agent doesn’t need to remove it. Clients can hide or collapse finished plans themselves.

What alternative approaches did you consider, and why did you settle on this one?

  1. Extending the existing plan variant: Would break backward compatibility or require complex dual-format deserialization.
  2. "type": "removed" variant inside plan_update: Instead of a separate plan_removed session update type, removal could be a variant in the plan_update tagged union (e.g., "type": "removed"). This keeps the entire plan lifecycle within a single update type. The tradeoff is that the type discriminator mixes content variants with a lifecycle event, making the schema less clean.

Revision history

  • 2026-04-02: Initial draft
  • 2026-11-09: Defined replacement across types, empty items plans, absolute file URIs, when Agents remove plans, and removal of unknown plan IDs. Described the v1 and v2 differences and added the Zed, Claude Agent, and Codex implementations
  • 2026-11-13: Removed the file plan type. markdown plans carry an optional absolute path to the plan file instead
  • 2026-11-17: Moved to Preview. Updated implementation references, added Delta, and clarified v1 capability gating and v2 fallback behavior. Plan operations remain unstable
  • 2026-11-20: Moved to Completed. Stabilized plan operations for opt-in v1 Clients and in the v2 baseline. Updated the Codex adapter’s checklist removal behavior for v2.8.0.