agent-client-protocol

Library Featured

Core protocol types and traits for the Agent Client Protocol

Checked · Sources

Downloads
941,949
Dependents
145
Stars
245
Forks
54
Contributors
35
Commits
887
Latest release
5.0.0 ·

About

From the project README ·

The Agent Client Protocol (ACP) standardizes communication between code editors (interactive programs for viewing and editing source code) and coding agents (programs that use generative AI to autonomously modify code).

Learn more at agentclientprotocol.com.

This repository is the official Rust SDK for ACP. It provides crates for building clients, agents, and proxies, plus a conductor that orchestrates chains of proxies between an editor and an agent so that behavior can be extended without modifying the agent itself.

Crates

Core SDK

Read the full README

Native MCP-over-ACP support is currently opt-in through the core crate's unstable_mcp_over_acp feature. Standalone MCP servers need no ACP transport feature; the rmcp integration exposes a matching passthrough feature when those servers are attached to ACP. Stable protocol v1 supports per-session and global proxy attachment. Draft protocol v2 supports the same two attachment scopes when both unstable_protocol_v2 and unstable_mcp_over_acp are enabled: Proxy.v2().with_mcp_server(...) injects a global declaration into each supported session setup request, while v2::SessionBuilder::with_mcp_server(...) attaches a server to one new session and v2::ResumeSessionBuilder::with_mcp_server(...) attaches one while resuming. With unstable_session_fork, v2::ForkSessionBuilder::with_mcp_server(...) attaches one while forking. Successful v2 attachments remain active for the connection lifetime, and all three builders expose on_proxy_session_start to forward proxied setup without coupling later session events to that response.

Proxy orchestration

Patterns, examples, and testing

Documentation

Every connection names its protocol version: Client.v1(), Agent.v1(), and Proxy.v1() start stable-v1 connections, and their .v2() counterparts select the draft-v2 API. The matching types live in agent_client_protocol::v1 and agent_client_protocol::v2, which export the same names (ConnectionTo, Builder, Responder, SessionBuilder, ...). With unstable_protocol_v2, use Proxy.protocol_router() to expose separate strict v1 and v2 proxy implementations as one component. Custom raw routing infrastructure can use Builder::new(role), which applies no protocol-version guard.

Integrations

Pull Requests

Pull requests should intend to close an existing issue.

Issues
  • Bug Reports: If you notice a bug in the protocol, please file an issue and we will be in touch.
  • Protocol Suggestions: If you'd like to propose additions or changes to the protocol, please start a discussion first. We want to make sure proposed suggestions align well with the project. If accepted, we can have a conversation around the implementation of these changes. Once that is complete, we will create an issue for pull requests to target.
License

By contributing, you agree that your contributions will be licensed under the Apache 2.0 License.

Runs on
GPU support unknown
What shows it
  • no dependency or feature matches a backend row
Native code
None found
  • No native code found
Python bindings
No Python binding crate found
License
Apache-2.0

Compare with similar projects

Order: strongest tier first, then most downloads, then name, with unmeasured values last. A library counts downloads over 30 days. An app counts binary downloads per release. An app with none counts its crate downloads over 30 days. ML Rust runs this catalogue, so its closest project always gets a row.

agent-client-protocol beside the projects that share a topic with it
ProjectDownloadsDependentsStarsLatest releaseRuns on (GPU)Native codeLicense
agent-client-protocol This page Featured

Core protocol types and traits for the Agent Client Protocol

941,949 downloads over 30 days 145 245 5.0.0 GPU support unknown No native code found Apache-2.0

Type-safe implementation of the Model Context Protocol in Rust, designed to reduce errors and accelerate development with powerful utilities.

107,187 downloads over 30 days 19 79 2.0.0 GPU support unknown No native code found MIT
rust-mcp-sdk Featured

An asynchronous SDK and framework for building MCP-Servers and MCP-Clients, leveraging the rust-mcp-schema for type safe MCP Schema Objects.

29,764 downloads over 30 days 51 199 2.0.0 GPU support unknown No native code found MIT

Core protocol types and traits for SACP (Symposium's extensions to ACP)

25,834 downloads over 30 days 21 36 11.0.0 GPU support unknown No native code found Apache-2.0 OR MIT
opencrabs App Listed

The autonomous, self-improving AI agent. Single Rust binary. Every channel. Recommended: the 40MB prebuilt binary for macOS, Linux and Windows: https://github.com/opencrabs/opencrabs/releases

125 binary downloads per release Not applicable 1,027 0.5.15 GPU support unknown Binds native code: libsqlite3-sys, llama-cpp-sys-2, opusic-sys (feature local-tts), tree-sitter (feature code-graph), alsa-sys (feature local-stt) and 1 more MIT
axp App Listed

An open protocol that gives AI agents a secure, sandboxed place to run code and use tools — with lean context usage. AXP works alongside MCP

Not measured Not applicable 3 Not measured Not measured Not measured Apache-2.0
pond New

Lossless storage and search for sessions from any AI agent client

79 downloads over 30 days 0 90 0.20.3 CUDA Binds native code: libsqlite3-sys, zstd-sys Apache-2.0
Why FeaturedIt passes every Featured gate.

What it meets

  • It has 91 active dependents and 91 new dependents in 365 days. Featured needs 11 active dependents or 9 new dependents in 365 days.
  • Active dependents are at 100% of their peak. Featured needs at least 50%.
  • Docs are present. The release commit or a manifest ties the crate to the repository.
  • No vulnerability advisory stays unpatched past the grace window. At least one version is neither a prerelease nor 0.0.x.
  • The last activity is on 2 Nov 2026, 7 days ago. The rules expect an update within 800 days. Dormancy rule

Exact rules: Featured library. The check on applied thresholds version 9.

Every rule outcome, as the check records it
  • expected-interval: version 5.0.0 base 200, doubled for 941949 downloads per month, doubled for 91 active users: E = 800 days
  • dormancy: last activity 2026-11-02, 7 days ago, E = 800: active
  • featured: featured: active_users 91, new_adopters 91, former_glory 1
Crates6 crates

Measurements and sources

Each signal row shows the raw value, its source and the fetch date. The Sources list gathers every distinct source on this page. Movement needs more history.

Sources6 sources
Adoption91 active dependents, 91 new dependents in 365 days1 not measured
Adoption measurements
SignalValueSourceFetchedCounts
Active dependents91crates.io database dumpYes
New dependents (365 days)91crates.io database dumpYes
Peak active dependents89.5crates.io database dumpYes
Active dependents as a share of the peak1crates.io database dumpYes
Binary downloads per releaseNot measuredYes
MaintenanceLatest human commit: 7 days ago3 not measured
Maintenance measurements
SignalValueSourceFetchedCounts
Latest human commit2026-11-02GitHub repositoryYes
Latest release2026-11-02crates.io database dumpYes
First release2025-07-24crates.io database dumpYes
Latest version5.0.0crates.io database dumpYes
Days the oldest outside issue waits for a reply100GitHub repositoryYes
Maintainer replies over 365 days11GitHub repositoryYes
Repository archivedfalseGitHub repositoryYes
Repository gonefalseGitHub repositoryYes
Release commit or manifest in the repotruecrates.io packageYes
Published docstruecrates.io database dumpYes
Latest release fails cargo checkNot measuredYes
Build check dateNot measuredYes
Build check toolchainNot measuredYes
SecurityUnpatched vulnerabilities: none
Security measurements
SignalValueSourceFetchedCounts
Unpatched vulnerabilities past the grace windownoneRustSec advisory databaseYes
RustSec unmaintained advisorynoneRustSec advisory databaseYes
Deprecation noticenonecrates.io database dumpYes
Deprecated requirementnonecrates.io database dumpYes
Distribution87 releases, 941,949 downloads over 30 days5 not measured
Distribution measurements
SignalValueSourceFetchedCounts
Releases87crates.io database dumpYes
Downloads over 30 days941949crates.io database dumpYes
Binary downloads over the last 3 releasesNot measuredYes
Homebrew installs on request over 365 daysNot measuredYes
Repology repository familiesNot measuredYes
Docker pull growth over 90 daysNot measuredYes
Docker pulls at the growth baselineNot measuredYes
Every version a prereleasefalsecrates.io database dumpYes
Every version 0.0.xfalsecrates.io database dumpYes
Every version yankedfalsecrates.io database dumpYes
Crate deleted from crates.iofalsecrates.io database dumpYes
Repository245 stars, 54 forks, 35 contributors, 887 commits. Stars alone never qualify a project.
Repository measurements
SignalValueSourceFetchedCounts
GitHub stars245GitHub repositoryYes — one part of the repository route
GitHub forks54GitHub repositoryYes — one part of the repository route
Contributors with a GitHub account35GitHub contributorsYes — one part of the repository route
Commits on the default branch887GitHub repositoryNo
Repository's main crate left out of the entrynonecrates.io database dumpYes
Facts that never count
Facts that never count measurements
SignalValueSourceFetchedCounts
LicenseApache-2.0crates.io database dumpNo
Runs on, from listed crates and their direct dependenciesGPU support unknowncrates.io database dumpNo
What shows each backendno dependency or feature matches a backend rowcrates.io database dumpNo
Native code, from listed crates and their dependenciesNo native code foundcrates.io database dumpNo
Python bindings, from direct dependencies of listed cratesNo Python binding crate foundcrates.io database dumpNo
Crates that depend on a listed crate directly145crates.io database dumpNo

Corrections and review history

Report a correction

No correction applies to this entry.

Judgments

A judgment enters only through an approved issue and a merged pull request.

No judgment applies to this entry.