logoalt Hacker News

Bunasyesterday at 6:42 PM2 repliesview on HN

1Code uses the official Claude Code SDK (https://platform.claude.com/docs/en/agent-sdk/overview) which wraps the Claude Code binary. This is the official way to build on top of Claude Code.

Some other tools (like OpenCode) made direct API calls while impersonating Claude Code - that approach got banned. We're not doing that.


Replies

Ryandonofrio3yesterday at 8:56 PM

Can you expand on this further? You’re using a sandbox to “spoof” authentication by intercepting the auth token to a web browser? You use the agent-sdk which is fine but youre supposed to ONLY use that via api I thought?

forgotpwd16yesterday at 6:50 PM

Ah, I see. My only other caveat (other models/agents) is addressed in upcoming work to do. Otherwise, looks good, simple/straightforward UI, functional. Great work overall.