logoalt Hacker News

rane • today at 2:19 PM • 2 replies • view on HN

How would you solve this specific problem (letting the app fork an existing agent session, or that user wants to use their Claude subscription) in a harness agnostic way?


Replies

james_marks • today at 2:52 PM

I avoid vendor-specific features so they stay swappable. Where the API’s between eg Claude and OpenAI diverge, that’s your cue to build that piece into your caller.

The agents, of course, know their own APIs well and will nudge you towards using their esoteric edges. This turns into a form of lock-in.

jdright • today at 2:26 PM

Not sure about forking, but using existing subscription can probably be made by learning how to call the harness in headless mode, as a majority of them supports this. Which can be provided via a skill per harness but with a fallback: read the docs and <agent> --help. Not the most optimal but as a fallback it is ok so then it can be used anywhere.