Skip to Content
Dominic Sylvester
Technical walkthrough

Connected agents: where ACP and MCP fit

Separate editor-to-agent communication, tool connectivity, and orchestration before designing a connected agent workflow.

  • AI
  • Agents
  • ACP
  • MCP

“Connect the agents” sounds like one task. In practice, it can describe several different boundaries: connecting an editor to a coding agent, connecting that agent to external capabilities, or coordinating work across multiple agents.

Those boundaries need different decisions. A shared communication format can reduce integration work without deciding who owns a task or whether a result is correct.

Two useful standards are the Agent Client Protocol, or ACP, and the Model Context Protocol, or MCP. They are complementary, but they are not interchangeable. Here, ACP means Agent Client Protocol, not another protocol that happens to share the acronym.

First boundary: the interface to the agent

ACP standardizes communication between code editors or IDEs and coding agents. Its stated aim is to reduce the custom integration work otherwise needed for each editor-agent combination.1

Think of the editor as the place where a person requests work and follows the interaction. ACP provides a common boundary between that client experience and the agent doing the coding. Its documentation also describes coding-specific representations, such as displaying diffs, rather than assuming every interaction is plain chat.1

That does not mean every compatible implementation offers identical behavior. Check the capabilities supported by the particular editor and agent, including permission handling and cancellation. Protocol compatibility is a starting point for testing an integration, not a blanket guarantee of feature parity.

The important architectural distinction is that the client-agent connection does not itself decide how several agents divide a project.

Second boundary: the agent’s external capabilities

MCP provides a client-server architecture for context exchange. An AI application acts as a host, with client components connecting to servers that expose capabilities. The official architecture explicitly says MCP does not dictate how applications use models or manage the context they receive.2

Its three core server primitives are worth distinguishing:2

  • Tools are executable functions, such as a repository search or database query.
  • Resources provide contextual data, such as a schema or document.
  • Prompts provide reusable templates for model interactions.

These are interfaces, not intelligence levels. A resource does not become authoritative merely because it arrives over MCP. A tool does not become safe merely because its parameters have a schema.

An agent might use an MCP tool to inspect an issue tracker while its conversation with the developer runs through ACP. The two protocols serve different relationships within the same workflow.

Third boundary: coordination between agents

Now imagine a hypothetical feature request that involves a user interface, an API change, and a review. A coordinator might delegate focused investigations, collect findings, and decide which implementation work can proceed independently.

That is orchestration. Anthropic describes an orchestrator-workers pattern in which a central model breaks down work, delegates to workers, and synthesizes results.4

Neither an editor connection nor a collection of tool connections automatically provides this behavior. A system could expose another agent behind an MCP tool, but it would still need a contract for delegation and a policy for accepting the result. The transport does not settle those questions.

For each delegated task, specify the objective, allowed scope, relevant context, expected artifact, acceptance checks, and stopping conditions. Decide who owns shared state. If several workers can edit the same files, their outputs can conflict even when every protocol message is valid.

Walk through a bounded design

Start with a developer asking an editor-connected agent to add a small feature. The editor-agent boundary may use ACP. The agent can retrieve issue details through an MCP tool and load a relevant design document through a resource.

If the work warrants delegation, a coordinator gives one worker a read-only investigation and another a narrowly scoped implementation. Each returns evidence and an explicit status. The coordinator checks the actual diff and test results before presenting the combined change for human review.

Context should travel selectively. Anthropic’s context-engineering guidance describes focused subagents returning distilled results, keeping extensive exploratory material outside the lead agent’s working context.3 A useful handoff preserves source references, unresolved questions, and verification status rather than forwarding an entire transcript.

Keep the authority boundary equally clear. Reading an issue should not imply permission to close it. Proposing a patch should not imply permission to deploy. Enforce sensitive actions through the application’s permissions and approval paths, not just a polite instruction in the prompt.

Test the boundaries, not just the happy path

An integration test should cover a rejected permission request, an unavailable tool, cancellation, a worker timeout, and a result that fails acceptance checks. Determine whether retrying an action can duplicate an external side effect before enabling automatic retries.

Also test disagreement. If two workers recommend incompatible changes, the system needs an accountable decision-maker, not an assumption that merging their summaries resolves the conflict.

The compact mental model is: ACP connects the client experience to a coding agent; MCP connects an AI application to tools, resources, and prompts; orchestration decides how work and responsibility move between agents.

Keeping those layers separate makes agentic development practices easier to reason about. More connectivity expands what a system can reach. Better coordination determines whether it can turn that reach into dependable work.

Sources

On this page