-
-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
It is possible to use Claude Code as a Provider with the Agent SDK that makes it possible to use Subscriptions.
You need to limit the turn count to 1 and format the Request in Anthropic Format to Contain both Assistant and User Roles and send that as the Message.
System Message can be set to overwrite Claude Codes internal over the designated field In the SDK.
This gives full access to all the Models available.
I run it like this in my own Proxy I wrote.
Same can be done via spawning the claude code process directly and handing the Data via command line Arguments.
KiloCode Sourcecode is a good place to look on how this is done correctly
mirsellamirrobot-agent
Metadata
Metadata
Assignees
Labels
No labels