A shared client layer above ACP for apps that embed people's agents? #3038
harshit-pi
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi ACP maintainers,
We build Anur, a desktop app (and a web map) that runs the coding agents people already have (Claude Code and Kiro today) over ACP. Building on the TypeScript SDK went well, but we ended up writing a sizeable layer above the protocol, and we suspect every app that embeds people's own agents writes the same one. Before we publish ours, we'd like to know whether you'd want it somewhere in the ACP project, or would rather it live as a community library.
What the layer does, as a few plain functions for the app:
Some of the quirks it handles, all found while shipping:
session/newbefore it has listed its models (a lone "Auto"), then sends the full list as aconfig_option_updatea second later.thought_leveloption only once a model other thanautois set, so reading efforts before a chat takes a throwaway session with the model set.Our questions:
Happy to share the design and the code either way.
Thanks for ACP, it made adding a second agent mostly one adapter file.
All reactions