npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@agent-relay/acp-bridge

v4.0.2

Published

ACP (Agent Client Protocol) bridge for Agent Relay - expose relay agents to ACP-compatible editors like Zed

Downloads

4,400

Readme

@agent-relay/acp-bridge

ACP (Agent Client Protocol) bridge for Agent Relay. Exposes relay agents to ACP-compatible editors like Zed.

What is ACP?

The Agent Client Protocol (ACP) is an open standard that enables AI agents to integrate with code editors. It's like LSP (Language Server Protocol) but for AI coding agents.

Architecture

┌─────────────────┐     ACP (stdio)    ┌─────────────────┐
│   Zed Editor    │ ◄────────────────► │  relay-acp      │
│   (or other)    │   JSON-RPC 2.0     │  (this bridge)  │
└─────────────────┘                    └────────┬────────┘
                                                │
                                       Relay Protocol
                                                │
                                       ┌────────▼────────┐
                                       │  Relay Broker   │
                                       └────────┬────────┘
                                                │
                        ┌───────────────────────┼───────────────────────┐
                        │                       │                       │
                ┌───────▼───────┐       ┌───────▼───────┐       ┌───────▼───────┐
                │   Agent 1     │       │   Agent 2     │       │   Agent N     │
                │ (Claude Code) │       │ (Codex CLI)   │       │ (any CLI)     │
                └───────────────┘       └───────────────┘       └───────────────┘

Installation

npm install @agent-relay/acp-bridge

CLI Usage

# Start the bridge
relay-acp --name my-agent --debug

# With custom socket path
relay-acp --socket /path/to/.agent-relay/relay.sock

# Show help
relay-acp --help

CLI Options

| Option | Description | |--------|-------------| | --name <name> | Agent name for relay identification (default: relay-acp) | | --socket <path> | Path to relay broker socket | | --debug | Enable debug logging to stderr | | --help, -h | Show help message | | --version, -v | Show version |

Zed Integration

Quick Setup

Let the CLI configure Zed automatically:

agent-relay up --zed

This adds an agent_servers entry to your Zed settings with the correct socket path.

Manual Setup

  1. Start the relay broker:

    agent-relay up
  2. Spawn relay agents:

    agent-relay spawn Worker1 claude "Help with coding tasks"
  3. Add to Zed settings (~/.config/zed/settings.json):

    {
      "agent_servers": {
        "Agent Relay": {
          "type": "custom",
          "command": "relay-acp",
          "args": ["--name", "zed-bridge"]
        }
      }
    }
  4. Open the Agent Panel in Zed (Cmd+? on macOS) and select "Agent Relay"

In-Panel Commands

Manage agents directly from the Zed Agent Panel:

agent-relay spawn Worker claude "Review the current changes"
agent-relay release Worker
agent-relay agents
agent-relay help

Programmatic Usage

import { RelayACPAgent } from '@agent-relay/acp-bridge';

const agent = new RelayACPAgent({
  agentName: 'my-agent',
  socketPath: '/tmp/relay.sock',
  debug: true,
});

await agent.start();

Configuration

| Option | Type | Default | Description | |--------|------|---------|-------------| | agentName | string | 'relay-acp' | Name used when connecting to relay broker | | socketPath | string | auto | Path to relay broker socket | | debug | boolean | false | Enable debug logging |

Environment Variables

| Variable | Description | |----------|-------------| | WORKSPACE_ID | Used to determine default socket path |

ACP Compatibility

Implements ACP version 2025-03-26:

Supported:

  • Session management (new sessions)
  • Prompt handling with streaming responses
  • Cancellation

Not yet supported:

  • Session loading/resumption
  • Tool calls
  • File operations via ACP

License

Apache-2.0