Skip to content

Comment on Ask HN: What technique do you use to make Claude Code deterministic?

Comments

I've wondered if it would be possible (and beneficial) to make LLM's deterministic via a seed. Like how PRNG can specify a seed for repeatable deterministic pseudorandom numbers.

Theoretically, if you could specify a seed and the exact version of the model the output should always be the same. I wonder if this is possible with any open-weight models today?

---

On a more practical level, scripts (small programs) are deterministic so having the coding agent write (and possibly reuse) scripts might help.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.