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

acp-runtime

v0.1.2

Published

TypeScript SDK for the Agent Communication Protocol (ACP)

Downloads

383

Readme

ACP — Agent Communication Protocol

ACP (Agent Communication Protocol) is a secure, identity-driven protocol for autonomous systems to communicate, collaborate, and coordinate across environments. Unlike traditional API integrations or message brokers, ACP is designed for AI agents operating in dynamic, distributed ecosystems. This project is not related to other packages using the acronym "ACP"

HTTP is for services. ACP is for agents.

What is ACP?

ACP provides:

  • Identity-first communication between agents
  • Signed and optionally encrypted message envelopes
  • Transport independence (HTTP, AMQP, MQTT)
  • Relay-based routing across network boundaries
  • Capability-driven interaction patterns

This enables agents to discover each other, exchange messages, and collaborate without tight coupling. ACP SDKs across languages are interoperable and implement the same protocol semantics.

What ACP Is Not

  • Not a message broker.
  • Not a JSON schema format.
  • Not a framework-specific tool protocol.

Why ACP?

Modern systems are evolving from services into autonomous agents. Current approaches (REST APIs, webhooks, point-to-point messaging) lead to:

  • brittle integrations
  • hidden coupling
  • limited interoperability
  • lack of governance

ACP introduces a protocol layer for agent communication, similar to how HTTP enabled the web.

When to Use ACP

Use ACP when:

  • autonomous agents need to communicate across teams, runtimes, or network boundaries
  • identity and message verification are required at the protocol level
  • you want one protocol across direct and relay delivery paths

ACP may be unnecessary when:

  • one application calls one service with stable, tightly controlled APIs
  • plain HTTP/REST already solves the integration with low coordination overhead

ACP vs Typical Approaches

| Approach | Good fit | Gaps for autonomous agent communication | | --- | --- | --- | | REST APIs | stable service-to-service calls | endpoint coupling and custom identity/discovery conventions | | Webhooks | event callbacks | delivery and trust rules vary by implementation | | Message brokers | high-throughput internal messaging | broker-specific semantics, no shared agent protocol layer | | Agent tool protocols | tool invocation inside one framework | often framework-scoped, not cross-runtime protocol contracts | | ACP | cross-agent protocol with identity + secure envelopes | adds protocol concepts not needed for trivial single-service cases |

SDK Installation Parity

Status labels used in this repo:

  • Published
  • Available from repo
  • Experimental
  • Bridge-based
  • Coming

| SDK | Status | | --- | --- | | Python (acp-runtime) | Published| | TypeScript (acp-runtime) | Published| | Rust (acp-runtime) | Published| | Go (github.com/beltxa/acp/sdks/go) | Available from repo| | Java (tech.co-operate:acp-runtime) | Published | | Mojo wrapper (acp-sdk-mojo) | Bridge-based |

No SDK in this repository snapshot is currently labeled Coming.

Repo Structure

  • getting-started/: verified local ping flow
  • examples/: runnable demos (hello_world_agent.py, one-to-one, one-to-many, capabilities)
  • sdks/: language SDK implementations
  • cli/: ACP CLI (acp)
  • relay-dev/: developer relay for local/test routing

Open Source Scope

This repository is for learning, local development, and interoperability testing.


Install from repo

cd sdks/typescript
npm install
npm run build

Validate

npm run lint
npm run test

First-run reference

For the fastest protocol walkthrough, run:

./getting-started/quickstart_ping.sh

Then use this SDK for cross-language interoperability tests.