Claude Code Acp Py banner
yazelin yazelin

Claude Code Acp Py

Development community

Description

ACP-compatible agent for Claude Code (Python version)

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Claude Code ACP (Python)

[![PyPI](https://img.shields.io/pypi/v/claude-code-acp)](https://pypi.org/project/claude-code-acp/) [![Python](https://img.shields.io/pypi/pyversions/claude-code-acp)](https://pypi.org/project/claude-code-acp/) [![License](https://img.shields.io/github/license/yazelin/claude-code-acp-py)](https://github.com/yazelin/claude-code-acp-py/blob/main/LICENSE)

**Python implementation of ACP (Agent Client Protocol) for Claude Code.**

This package combines the [Claude Agent SDK](https://github.com/anthropics/claude-agent-sdk-python) with the [Agent Client Protocol (ACP)](https://agentclientprotocol.com/) to provide a complete Python solution for working with AI agents.

What It Does

Component Type Description
ClaudeAcpAgent ACP Server Lets editors (Zed, Neovim, JetBrains) use Claude
ClaudeClient Python API Event-driven wrapper for building Python apps with Claude
AcpClient ACP Client Connect to any ACP-compatible agent (Claude, Gemini, custom)
AcpProxyServer Copilot Proxy Bridge Copilot SDK to any ACP backend

Two CLI commands:

  • claude-code-acp - ACP server for editors
  • copilot-acp-proxy - Copilot SDK proxy to ACP backends

Features

  • Uses Claude CLI subscription - No API key needed
  • Full ACP protocol - Compatible with Zed, Neovim, and other ACP clients
  • Universal ACP client - Connect to any ACP agent (Claude, Gemini, or custom)
  • Copilot SDK bridge - Use Copilot SDK with any ACP backend
  • Bidirectional communication - Permission requests, tool calls, streaming
  • Event-driven Python API - Decorator-based handlers
  • Session management - Create, fork, resume, list sessions
  • MCP server support - Dynamic loading via stdio, HTTP, SSE
  • Model & command enumeration - Discover available models and commands at runtime

Installation

pip install claude-code-acp

Or with uv:

uv tool insta