Live data from Hacker News

How to code Claude Code in 200 lines of code

mihaileric.com

1–10 of 249 posts

Re: How to code Claude Code in 200 lines of code

#6

This article was more true than not a year ago but now the harnesses are so far past the simple agent loop that I'd argue that this is not even close to an accurate mental model of what claude code is doing.

it seems to have changed a ton in recent versions too — I would love more details on what exactly

I find it doing what I in the past had to interrupt and tell it to do fairly frequently now

Re: How to code Claude Code in 200 lines of code

#8

This article was more true than not a year ago but now the harnesses are so far past the simple agent loop that I'd argue that this is not even close to an accurate mental model of what claude code is doing.

The article was also published one year ago on january 2025.

(Should have 2025 in the title? Time flies)

Re: How to code Claude Code in 200 lines of code

#9

This article was more true than not a year ago but now the harnesses are so far past the simple agent loop that I'd argue that this is not even close to an accurate mental model of what claude code is doing.

But does that extra complexity actually improve performance?

https://www.tbench.ai/leaderboard/terminal-bench/2.0 says yes, but not as much as you'd think. "Terminus" is basically just a tmux session and LLM in a loop.

Re: How to code Claude Code in 200 lines of code

#10
post #5

This article was more true than not a year ago but now the harnesses are so far past the simple agent loop that I'd argue that this is not even close to an accurate mental model of what claude code is doing.

I'm interested, could you expand on that?

Off the top of my head: parallel subagents, hooks, skills, and a much better plan mode. These features enable way better steering than we had last year. Subagents are a huge boon to productivity.
Post reply on HN