Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Agent HTTP – Claude Code HTTP API Made Possible by Channels (github.com/mberg)
1 point by mberg 41 days ago | hide | past | favorite | 1 comment


I was super excited to see today's channels announcement by Anthropic. https://code.claude.com/docs/en/channels

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




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: