Skip to main content

acp-host-client(Python)

acp-host 的薄客户端:起进程、按行 JSON 收事件。不需要你装 Rust——首次使用会自动下载对应平台的二进制。

pip install acp-host-client
from acp_host import AcpHost

host = AcpHost()
for piece in host.ask("你好", agent="workbuddy"):
    print(piece, end="")
host.close()

二进制查找顺序:ACP_HOST_BIN → PATH 上的 acp-host → ~/.cache/acp-host/<版本>/ → 现下。

协议与 agent 配置见 https://github.com/thatwzzh/acp-host

Metadata

Release files for acp-host-client 0.1.1

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

Source distribution (sdist)

Source distribution for acp-host-client 0.1.1
File Size Uploaded Provenance Actions
acp_host_client-0.1.1.tar.gz 3.9 kB Without provenance Details for acp_host_client-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for acp-host-client 0.1.1
File Interpreter ABI Platform Actions
acp_host_client-0.1.1-py3-none-any.whl Python 3 none any Details for acp_host_client-0.1.1-py3-none-any.whl

Total release size: 8.3 kB

Release files / acp_host_client-0.1.1.tar.gz

Download URL acp_host_client-0.1.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
90809f2330b0f0f9013f791517556ec60b89e9c639327edf1b4c511b5f821f70
BLAKE2b-256 checksum
How to use checksums
715decdae72356f7dd6947593a30925d1b53d9def8bf9b65e1ecdc84dc5a6608
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.12

Release files / acp_host_client-0.1.1-py3-none-any.whl

Download URL acp_host_client-0.1.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c914c6952da471321578db6f6c02548869b2e40f8373798863241ea6c89f1ec
BLAKE2b-256 checksum
How to use checksums
64754402e45dc66b137849d985115e3243b6ca1bd7bd430dd0218ef06f6eee68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.12

Security for acp-host-client 0.1.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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