Hacker News new | ask | show | jobs
by wood_spirit 36 days ago
I’m super interested to know what the back and forth between models and tools really looks like in practice.

Are there any much more detailed walkthroughs of how it works and how it decides the tools to use and the grep to use etc and what the conversations actually look like?

In the UI you see just enough to know it’s doing something but you don’t really see the jumps it’s making offscreen.

2 comments

You can easily inspect the full requests it makes to the API which contains the full system prompt, tools, tool calls, etc.
or easier, open ~/.claude/projects/[project]/[session].jsonl (excluding the system prompt)
Doesn't really seem easier and it's in a harder to read format
I had a hard time understanding the claude logs and built a light weight html visualizer for myself. Here is the github if anyone is interested

https://github.com/dtang27182/claude-code-log-visualizer

Codex is open source if you’re interested https://github.com/openai/codex