docs(sdk): document ACP remote conversation routing#399
Conversation
Co-authored-by: openhands <openhands@all-hands.dev>
all-hands-bot
left a comment
There was a problem hiding this comment.
🟢 Good taste - Clean separation of concerns, accurate documentation.
Verified all claims against the source code in feat/acp-remote-runtime-acp-endpoints:
✅ ACPAgent + RemoteConversation routing logic exists and works as documented
✅ /api/acp/conversations endpoints exist (POST, GET, search, batch get, count)
✅ Conversation creation/info reads use ACP paths, actions use legacy paths
✅ Mismatch detection prevents attaching with wrong agent type
✅ Example file 09_acp_agent_with_remote_runtime.py exists and demonstrates the feature
KEY INSIGHT: The dual-path architecture (info via ACP, actions via legacy) is elegant - it isolates schema-sensitive contract changes while keeping execution flow untouched. No special cases, no complexity creep.
Summary
ACPAgentworks withRemoteConversationand remote agent-server deployments/api/acp/conversationssurface for create/read/count operationsconversation_idmismatch behavior for ACP conversationsContext
This docs PR accompanies OpenHands/software-agent-sdk PR #2465.
Related SDK follow-up issue: OpenHands/software-agent-sdk#2469
Testing
git diff --check