> ## Documentation Index
> Fetch the complete documentation index at: https://kiro.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Client Protocol (ACP)

> Learn how ACP connects Kiro clients and compatible editors to Kiro's unified agent harness, and how ACP differs from MCP

ACP (Agent Client Protocol) connects an editor, application, or custom integration to the Kiro agent. Kiro IDE, CLI, Web, and Mobile use it to reach the same [unified agent harness](https://kiro.dev/docs/how-kiro-works.md), so the agent implementation is shared across every surface. ACP-compatible editors such as JetBrains IDEs and Zed connect through the same protocol and receive the standard capabilities their clients implement. Read the [ACP specification](https://agentclientprotocol.com/get-started/introduction).

## One harness, many clients

Kiro's IDE, CLI, Web, and Mobile applications are clients of the same [unified agent harness](https://kiro.dev/docs/how-kiro-works.md). They use standard ACP methods for session and prompt lifecycles, plus Kiro extensions for product capabilities such as live Steering, Specs, richer permission interactions, and context tracking.

Compatible third-party editors can also connect to Kiro through ACP. They receive the standard capabilities implemented by their client and can use optional Kiro extensions when both sides support them.

```mermaid
flowchart TD
    subgraph CLIENTS["Clients"]
        direction LR
        KIRO["Kiro applications"]
        EDITORS["ACP-compatible editors"]
        CUSTOM["Custom integrations"]
    end

    KIRO --> ACP
    EDITORS --> ACP
    CUSTOM --> ACP
    ACP["Agent Client Protocol (ACP)"] --> HARNESS["Unified agent harness"]
    HARNESS --> MCP["Model Context Protocol (MCP)"]

    style ACP stroke-width:3px
    style HARNESS stroke-width:3px
    style MCP stroke-width:3px
```

**ℹ️ Info:** A shared agent harness does not make every client experience identical. Editors differ in the UI, callbacks, transports, and optional extensions they implement. Clients must negotiate capabilities instead of assuming feature parity.

| Client type | ACP role | What it provides |
|-------------|----------|------------------|
| Kiro applications | First-party clients using standard ACP and Kiro extensions | Kiro's product-specific session, permission, and workflow experiences |
| Compatible editors | Third-party clients using standard ACP and supported extensions | The Kiro agent inside an existing editor workflow |
| Custom integrations | Purpose-built ACP clients | A client-owned interface around negotiated Kiro agent capabilities |

## ACP and MCP solve different problems

ACP and the Model Context Protocol (MCP) sit on opposite sides of the agent harness.

| Protocol | Connects | Core question |
|----------|----------|---------|
| **ACP** | An editor, application, or other client to the Kiro agent harness | How does a user interact with and control the agent? |
| **MCP** | The Kiro agent harness to external tools and data | Which additional systems can the agent use? |

A client sends prompts and receives session updates through ACP. The harness can then call built-in tools or [MCP servers](https://kiro.dev/docs/mcp.md) while it works. An ACP client can therefore provide the interface while MCP expands what the agent can do.

With the protocol boundary established, here is what lives in the harness and what each client is responsible for.

## What is shared and what differs

Agent-side capabilities live in the harness rather than in one client. When available for a session, the harness applies the same project configuration, agent definitions, Steering, permissions, Hooks, Skills, and MCP servers regardless of which client opened it.

The client remains responsible for how those capabilities are presented and for any client-owned callbacks. Differences can include:

- Session and tool-call presentation
- Permission and structured-input interfaces
- Editor-native file, terminal, and code intelligence callbacks
- Local or remote transport
- Support for optional Kiro extensions

Check each feature's availability guidance before assuming it works through every client.

## Choose your path

| I want to... | Go to |
|--------------|-------|
| Use Kiro in JetBrains IDEs, Zed, or another compatible editor | [Editor setup guide](https://kiro.dev/docs/cli/acp.md) |
| Upgrade an existing ACP client from the CLI v2 server to CLI V3 | [ACP client migration](https://kiro.dev/docs/cli/v3/acp-migration.md) |
| Build a new ACP client | [ACP specification](https://agentclientprotocol.com) and this page's capability guidance |
| Understand the Kiro client and harness architecture | [How Kiro works](https://kiro.dev/docs/how-kiro-works.md) |
| Connect the Kiro agent to external tools and data | [MCP](https://kiro.dev/docs/mcp.md) |

## Building an ACP client

Standard ACP covers the portable client-agent contract, including initialization, sessions, prompts, cancellation, updates, and permission requests. A compatible client can use Kiro without implementing Kiro-specific UI.

Kiro extensions add capabilities that go beyond the standard protocol. Kiro advertises optional request methods through `agentCapabilities._meta.kiro.extensionMethods` and can attach Kiro metadata to standard ACP messages.

If you are building an ACP client, follow these rules:

1. Read the capabilities returned by `initialize`.
2. Enable optional behavior only when the running server advertises it.
3. Ignore unknown methods and metadata.
4. Return an explicit JSON-RPC error for unsupported agent-to-client requests instead of leaving the agent waiting.

The running server's capability advertisement is authoritative. Do not infer support from a Kiro CLI version, a product name, or a fixed method catalog.

## Next steps

- [Set up an ACP-compatible editor](https://kiro.dev/docs/cli/acp.md)
- [Migrate an ACP client to CLI V3](https://kiro.dev/docs/cli/v3/acp-migration.md)
- [Learn how the unified agent harness works](https://kiro.dev/docs/how-kiro-works.md)
- [Configure MCP servers](https://kiro.dev/docs/mcp/configuration.md)
