It's now possible to leverage channels to create a simple HTTP server to wrap it. I created a agent http as a quick proof of concept to demonstrate this.
This mimics the API of Agent API (https://github.com/coder/agentapi) which has relied on clever terminal scraping to provide an http interface for claude code.
The TLDR is this enables you to run Claude Code in a headless way via API calls (perfect for AI code orchestration) while using your Anthropic subscription. To achieve this before you would need to use Anthropic's Agent SDK and API tokens.
mberg•1h ago
It's now possible to leverage channels to create a simple HTTP server to wrap it. I created a agent http as a quick proof of concept to demonstrate this.
https://github.com/mberg/agent-http/
This mimics the API of Agent API (https://github.com/coder/agentapi) which has relied on clever terminal scraping to provide an http interface for claude code.
The TLDR is this enables you to run Claude Code in a headless way via API calls (perfect for AI code orchestration) while using your Anthropic subscription. To achieve this before you would need to use Anthropic's Agent SDK and API tokens.
Hope this is helpful - Matt