Loading video...
Video Failed to Load
I wanted to better understand how Claude Code is wired under the hood, so I captured its API requests and pulled out the system prompt and tool definitions. Also posting the full thing as a gist below if you want to dig in!
85,851 views • 1 year ago •via X (Twitter)
10 Comments

Sergey Karayev1 year ago
Have fun. Lots to learn in there

Yogesh Kumar1 year ago
Great stuff 🔥 really helpful! P.S. Those subtitles are 🤌 How are you generating them?

thud1 year ago
What's with the tell a joke line?

Sergey Karayev1 year ago
And if you want to launch dozens of Claude Codes in parallel, check out

angel imaz (AI)1 year ago
thank you. model is even more impressive if that is what Claude Code is using.

moonbi1 year ago
@thdxr

arti1 year ago
You could just reverse the binary from the release that shipped with the source map like all of the open code type GitHub repos did

Gabriel Paiz1 year ago
Is there a youtube link?

Jeffrey Behnke 💻1 year ago
Thanks for that. Interesting read

Ahmed1 year ago
This is great.
