Reverse eng Claude Code to work with local and any OpenAI API models

1 Sirvan3tr 0 6/10/2025, 11:33:23 PM youtube.com ↗
There are already a few “reverse engineering” blog posts about Claude Code. I was curious to learn more about it, and I especially wanted to run Claude Code with locally hosted LLMs.

I was just curious to test and learn about the code behind Claude Code. I made some tweaks to be able to run any OpenAI API-based models. In the video I use OpenRouter and this amazon llm is pretty damn fast.

I removed the annoying Haiku related API calls (see some of the links below for more info about them).

Some other reverse engineering of Claude Code: https://kirshatrov.com/posts/claude-code-internals https://leehanchung.github.io/blogs/2025/03/07/claude-code/ https://github.com/Yuyz0112/claude-code-reverse https://github.com/dnakov/claude-code (DMCA takedown)

https://hyper.ai/en/headlines/e8d329a93a375f028818f3b3c64038...

Video: https://youtu.be/dqMFcIhAYcc

Comments (0)

No comments yet