Agent Communication Protocol SDK
Project description
Agent Communication Protocol SDK for Python
Agent Communication Protocol SDK for Python helps developers to serve and consume agents over the Agent Communication Protocol.
Prerequisites
✅ Python >= 3.11
Installation
Install according to your Python package manager:
uv add acp-sdkpip install acp-sdkpoetry add acp-sdk- ...
Quickstart
Register an agent and run the server:
server = Server()
@server.agent()
async def echo(input: list[Message]):
"""Echoes everything"""
for message in input:
yield message
server.run(port=8000)
From another process, connect to the server and run the agent:
async with Client(base_url="http://localhost:8000") as client:
run = await client.run_sync(agent="echo", input=[Message(parts=[MessagePart(content="Howdy!")])])
print(run)
➡️ Explore more in our examples library.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file acp_sdk-1.0.3.tar.gz.
File metadata
- Download URL: acp_sdk-1.0.3.tar.gz
- Upload date:
- Size: 30.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3736cd496f63f6aa337814179728e8303d84b4124161e955ebfd013220144ade
|
|
| MD5 |
5dbf31016bcad92e30920a433f087c9e
|
|
| BLAKE2b-256 |
fd4738814ee48cdf2084627eed751352cf6f6bf6cc0a3ba52d95b654f99985a8
|
Provenance
The following attestation bundles were made for acp_sdk-1.0.3.tar.gz:
Publisher:
release.yml on i-am-bee/acp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
acp_sdk-1.0.3.tar.gz -
Subject digest:
3736cd496f63f6aa337814179728e8303d84b4124161e955ebfd013220144ade - Sigstore transparency entry: 415528111
- Sigstore integration time:
-
Permalink:
i-am-bee/acp@e8299f891c1d9990ea2400f99dedac76a14e3ad8 -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/i-am-bee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e8299f891c1d9990ea2400f99dedac76a14e3ad8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file acp_sdk-1.0.3-py3-none-any.whl.
File metadata
- Download URL: acp_sdk-1.0.3-py3-none-any.whl
- Upload date:
- Size: 35.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0a6b3c3d98072eeb7ee001fbd7a53ee25d550226c880b81221ddaad170172ee
|
|
| MD5 |
4420ebf4c308b5d899cd220ba8cc261a
|
|
| BLAKE2b-256 |
bc69110b0764f94494478dd2a3365682ff22a9596385d041a837f8cd880cde10
|
Provenance
The following attestation bundles were made for acp_sdk-1.0.3-py3-none-any.whl:
Publisher:
release.yml on i-am-bee/acp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
acp_sdk-1.0.3-py3-none-any.whl -
Subject digest:
a0a6b3c3d98072eeb7ee001fbd7a53ee25d550226c880b81221ddaad170172ee - Sigstore transparency entry: 415528144
- Sigstore integration time:
-
Permalink:
i-am-bee/acp@e8299f891c1d9990ea2400f99dedac76a14e3ad8 -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/i-am-bee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e8299f891c1d9990ea2400f99dedac76a14e3ad8 -
Trigger Event:
release
-
Statement type: