The itch
In May 2025 Claude Code was generally available and I used it every day, the same way everyone did: one terminal, me typing. There was no SDK to drive it from code. I was building a task orchestration tool at the time, and it needed to start sessions, give them context, follow their output and run several at once. So I wrapped an API around the CLI.
What I built
channelcoder was a TypeScript SDK over the Claude Code CLI. First commit on May 22, on npm the next day. I needed it working more than I needed it polished.
It covered what scripting a coding agent needs:
- Sessions
- Multi-turn session management.
- Isolation
- Git worktree mode, so parallel sessions each got their own copy of the repo.
- Containers
- Docker mode, for contained runs.
- Execution
- Detached background execution.
- Streaming
- An NDJSON parser, so a program could follow what a session was doing.
What happened to it
channelcoder became the execution layer of my orchestration harness, scopecraft-command, which has its own page. It did that job for about three weeks.
- May 22, 2025First commit.
- May 23, 2025Published to npm.
- ~June 11, 2025Anthropic ships the official Claude Code SDK for TypeScript and Python. I stopped maintaining channelcoder almost right away.
The official SDK was the better long-term bet, so dropping mine was easy. For those three weeks it filled a real gap, and building it showed me what the problem looks like: sessions, isolation, streams and typed inputs.