claude-code-acp  by zed-industries

Claude Code integration for ACP clients

Created 3 weeks ago

New!

279 stars

Top 93.2% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides an Agent Client Protocol (ACP) adapter for Anthropic's Claude Code, enabling its integration with ACP-compatible clients like the Zed editor. It allows developers and power users to leverage Claude Code's advanced AI capabilities directly within their preferred development environments, streamlining workflows for code generation, review, and task management. The adapter enhances productivity by bringing sophisticated AI assistance, including context awareness, tool utilization, and interactive terminal support, directly into the coding interface.

How It Works

The adapter implements the Agent Client Protocol (ACP) to bridge Claude Code with various ACP-compatible clients. It utilizes the official Claude Code SDK to facilitate communication, supporting features such as context-aware @-mentions, image processing, and tool calls with explicit permission requests. This design allows for seamless integration, enabling Claude Code to interact with development tasks like following edit reviews, managing TODO lists, and executing commands within interactive terminals.

Quick Start & Requirements

  • Primary install: npm install @zed-industries/claude-code-acp
  • Prerequisites: Requires an Anthropic API key (e.g., ANTHROPIC_API_KEY=sk-...).
  • Usage: The latest Zed editor includes this adapter out-of-the-box; initiate a Claude Code thread via the Agent Panel. Other clients like Neovim can integrate via CodeCompanion.nvim. The README mentions reading docs on External Agent support.

Highlighted Details

  • Supports context @-mentions, image input, and tool calls with permission requests.
  • Integrates with development workflows including edit reviews and TODO list management.
  • Enables interactive and background terminal operations.
  • Supports custom slash commands and Client MCP servers.

Maintenance & Community

The provided README snippet does not detail specific maintainers, community channels, or roadmap information.

Licensing & Compatibility

  • License: Apache-2.0.
  • Compatibility: The Apache-2.0 license is generally permissive for commercial use and integration with closed-source projects.

Limitations & Caveats

The provided README snippet does not detail specific limitations, known bugs, or alpha status. Integration with clients other than Zed or Neovim requires community contributions via pull requests.

Health Check
Last Commit

2 days ago

Responsiveness

Inactive

Pull Requests (30d)
37
Issues (30d)
20
Star History
285 stars in the last 22 days

Explore Similar Projects

Feedback? Help us improve.