←back to thread

469 points samuelstros | 1 comments | | HN request time: 0.219s | source
Show context
the_mitsuhiko ◴[] No.44998823[source]
Unfortunately, Claude Code is not open source, but there are some tools to better figure out how it is working. If you are really interested in how it works, I strongly recommend looking at Claude Trace: https://github.com/badlogic/lemmy/tree/main/apps/claude-trac...

It dumps out a JSON file as well as a very nicely formatted HTML file that shows you every single tool and all the prompts that were used for a session.

replies(2): >>44999150 #>>45001031 #
CuriouslyC ◴[] No.44999150[source]
https://github.com/anthropics/claude-code

You can see the system prompts too.

It's all how the base model has been trained to break tasks into discrete steps and work through them patiently, with some robustness to failure cases.

replies(1): >>44999181 #
the_mitsuhiko ◴[] No.44999181[source]
> https://github.com/anthropics/claude-code

That repository does not contain the code. It's just used for the issue tracker and some example hooks.

replies(2): >>44999205 #>>44999256 #
koakuma-chan ◴[] No.44999256[source]
https://github.com/dnakov/claude-code :trollface:
replies(1): >>44999614 #
throwaway314155 ◴[] No.44999614[source]
That's been DMCA'd since you posted it. Happen to know where I can find a fork?
replies(2): >>44999764 #>>45001119 #
1. mlrtime ◴[] No.45001119[source]
Just search dnakov/claude-code mirror and there is a path to the source code, I found it in 2 minutes.