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.3

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.3
File Size Uploaded Provenance Actions
acp_host_client-0.1.3.tar.gz 4.1 kB Without provenance Details for acp_host_client-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 8.7 kB

Release files / acp_host_client-0.1.3.tar.gz

Download URL acp_host_client-0.1.3.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9393b96cd4e9c03a03bc1b99bbb56fc736b2f15141ea94270fff429ca9b11918
BLAKE2b-256 checksum
How to use checksums
393ea3476995df3ba3b3b681483fd705d7da185c463610ae07796074259d2387
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.3-py3-none-any.whl

Download URL acp_host_client-0.1.3-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d0da90338987d33029209ec77949b3af6d80bf27b9f6fbd063d4288fd082114
BLAKE2b-256 checksum
How to use checksums
43add73cd5e3e658aa1a72df9aa6b72c5de8bfe097c037a64a0ea41a091f4355
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.3

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