Catalog PyPI
Back to packageRELEASE DETAILS

2.1.0

PyPI

acps-sdk

ACPs SDK - Agent Collaboration Protocols SDK

Published2 Jun 2026
Direct dependencies4
Transitive dependenciesNot calculated

README

Version 2.1.0 documentation

ACPs SDK

Agent Collaboration Protocols(智能体协作协议体系)SDK — ACPs 协议体系的 Python 实现。

目前本SDK包含以下模块:

模块说明
acps_sdk.acsAgent Capability Specification 智能体能力描述
acps_sdk.adpAgent Discovery Protocol 智能体发现协议
acps_sdk.aicAgent Identity Code 智能体身份码
acps_sdk.aipAgent Interaction Protocol 智能体交互协议

1. SDK本地开发环境

1.1. 开发环境搭建

建议使用 Python 3.10+,并通过 uv 管理依赖与构建。

# 安装 uv(若尚未安装,推荐使用官方安装脚本)
# macOS / Linux(用户级全局安装)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell,用户级全局安装)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

# 克隆仓库
git clone <仓库地址>
cd acps-sdk

# 安装并激活虚拟环境
python3 -m venv .venv
source .venv/bin/activate

# 安装SDK项目的依赖
uv sync

1.2. 构建和发布

uv build

生成的 wheel 和 sdist 将位于 dist/ 目录。

发布到 PyPI:

uv publish --token <PyPI_TOKEN>

2. 目标项目中SDK的安装

2.1 使用pip

在需要使用本SDK的Python环境中,可以通过 pip 安装。

从 PyPI(发布后):

pip install acps-sdk

从本地 wheel 文件:

pip install path/to/acps_sdk-2.0.0-py3-none-any.whl

2.2 使用 uv

在需要使用本SDK的项目,推荐使用 uv 管理依赖。

从 PyPI(发布后):

uv add acps-sdk

从本地 wheel 文件:

uv add path/to/acps_sdk-2.0.0-py3-none-any.whl

从本地源码:

uv add --editable ../acps-sdk

3. SDK使用示例代码

from acps_sdk.acs import AgentCapabilitySpec
from acps_sdk.aip import AipRpcClient, TaskState
from acps_sdk.aic import validate_aic_format, parse_aic

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
aio-pika
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "<4.0,>=3.10",
  "evaluation": "NOT_EVALUATED"
}
aio-pika>=9.0.0runtime
fastapi
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "<4.0,>=3.10",
  "evaluation": "NOT_EVALUATED"
}
fastapi>=0.100.0runtime
httpx
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "<4.0,>=3.10",
  "evaluation": "NOT_EVALUATED"
}
httpx>=0.24.0runtime
pydantic
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "<4.0,>=3.10",
  "evaluation": "NOT_EVALUATED"
}
pydantic>=2.0.0runtime

Distribution files

2 collected
acps_sdk-2.1.0-py3-none-any.whl

bdist_wheel · 84.59 KB · Python py3

Source file
acps_sdk-2.1.0.tar.gz

sdist · 164.3 KB · Python source

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:23 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:5a01bf26974606ae49f17f9bd29e327bcf1e2fac1fa4f4b7ef6066d81f2cd16e

Other collected versions

View all collected versions →