Skip to main content

Agent Connect Protocol SDK

PyPI version

About The Project

The "Agent Connect Protocol SDK" is an open-source library designed to facilitate the adoption of the Agent Connect Protocol. It offers tools for both client and server implementations, enabling seamless integration and communication between multi-agent systems.

Getting Started

See Getting Started Guide

Documentation

Testing

Run make test in the root of the repo. Tool requirements:

  • uv (preferred) or poetry (deprecated): to manage Python dependencies
  • make: to store command recipes

Building the package

⚠️ Note: this step is only necessary for maintainers of the project. ⚠️

The agntcy-acp Python package is built on GitHub and published using GitHub actions. The action can be found in the relevant workflows directory in the repo. The project attempts to keep the SDK updated on any ACP or relevant specification changes, but delays can happen.

Prerequisites

This repo uses the following tools to build (or update) the packages:

  • jq: to parse OpenAPI JSON
  • uv (preferred) or poetry (deprecated): to manage Python dependencies
  • make: to store command recipes
  • docker: to run the openapi-generator-cli tool
  • git: to checkout the source specifications

Generating the SDK clients from the OpenAPI ACP specification

There are two make targets to generate the clients:

  • make generate_acp_client
  • make generate_acp_async_client

Note that the make targets add a SPDX header and update the package imports to match the files as they should appear in the agntcy_acp/acp_vXX subpackages. Please check the Makefile for questions on how this is done.

To update the agntcy_acp package by copying the relevant files, use: make update_python_subpackage

Updating the client package on a new ACP specification release

For a minor release, follow these steps:

  1. Run: ACP_SPEC_RELEASE=<RELEASE_TAG> make update_python_subpackage using the relevant "<RELEASE_TAG>"
  2. Check for any irregularities: git diff
  3. Run: make test

For a major release, follow these steps:

  1. Run: ACP_SPEC_RELEASE=<RELEASE_TAG> make update_python_subpackage using the relevant "<RELEASE_TAG>"
  2. Update the version imports if you want to change the default major version in:
    • agntcy_acp/__init__.py
    • agntcy_acp/models/__init__.py
  3. Check for any irregularities: git diff
  4. Run: make test

Generate API documentation on code updates

Use the make target:

make docs

Publishing

Publishing the package uses a GitHub action triggered by assigning tags to commits of the form v<PACKAGE_VERSION>.

The tag must correspond to the version in the pyproject.toml file, except for dev releases. The tag for a dev release will be v<PACKAGE_VERSION>.devN where the .devN suffix is not part of the package version in the pyproject.toml file. All tags, except dev releases, should be applied to the main branch. Dev releases can be applied anywhere and thus are not guaranteed to be repeatable (e.g., when applied to a PR that is later merged and the branch is deleted).

Not all PEP-440 tags are supported at this time.

The following steps are required to create a release:

  1. Push a properly formatted tag (vX.Y.Z[aN][.devN]).
  2. Use the specified tag to create a release

The publish action can also be triggered on a branch through the UI. In this case, it will use the package version at the head of the branch.

Roadmap

See the open issues for a list of proposed features and known issues.

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. For detailed contributing guidelines, please see CONTRIBUTING.md.

Copyright Notice

Copyright Notice and License

Distributed under Apache 2.0 License. See LICENSE for more information. Copyright AGNTCY Contributors (https://github.com/agntcy)

Acknowledgements

This SDK is developed with the support of the IoA community with the goal of facilitating cross-framework agent interoperability.

Metadata

Release files for agntcy-acp 1.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agntcy-acp 1.5.2
File Size Uploaded
agntcy_acp-1.5.2.tar.gz 89.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agntcy-acp 1.5.2
File Interpreter ABI Platform
agntcy_acp-1.5.2-py3-none-any.whl Python 3 none any Details

Total release size: 254.8 kB

Release files / agntcy_acp-1.5.2.tar.gz

Download URL agntcy_acp-1.5.2.tar.gz
Size 89.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9d8faca21dc94f445b0c8884e34f2f15d038152a65c83c8f8d4b57b5af642e92
BLAKE2b-256 checksum
How to use checksums
cef09d2ab1fc0d4b33b2a62d289f80b398197e8eebd73891af263dedd2dbc70a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 16, 2025.

Transparency log

Release files / agntcy_acp-1.5.2-py3-none-any.whl

Download URL agntcy_acp-1.5.2-py3-none-any.whl
Size 165.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2de97dcfe16af14dc2e704b223ab728b9b888a8ee0a0f770494ee823ec245897
BLAKE2b-256 checksum
How to use checksums
a23b5d252af6f497bc7fca34328ca9af3b5547f9449b58665332a77d25d48b3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 16, 2025.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page