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.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 acp-host-client 0.1.2
File Size Uploaded Provenance Actions
acp_host_client-0.1.2.tar.gz 3.9 kB Without provenance Details for acp_host_client-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 8.3 kB

Release files / acp_host_client-0.1.2.tar.gz

Download URL acp_host_client-0.1.2.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a288a4180ddc60a8222ae9db204ae0c3de6b33e207cd339c812492ad50622590
BLAKE2b-256 checksum
How to use checksums
49e453833c8525b75acec60f980d9643f0abaf855929fdb6ded06e59e841a752
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.2-py3-none-any.whl

Download URL acp_host_client-0.1.2-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
935f85d1201ecb7aa1dcc88d18e91454b6e7477e749696e93e210bfcc3d7e8b1
BLAKE2b-256 checksum
How to use checksums
4abd27d0587bc579e0b161b7f78ed8cf3cf8779a830406da76410805ca1a434a
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.2

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