HNHacker News
TopNewBestAskShowJobs

ghuntley

10,078 karma · joined May 1, 2009

contact via https://ghuntley.com
submissionscomments
ghuntley··on How to build a coding agent
Yep, once you've got the base coding agent (as in the workshop above), you can use it to build another agent or anything really. You start from that kernel and you can bootstrap upwards from that point forward and build anything.
ghuntley··on How to build a coding agent
Yep. What you need to do is set its direction and then blow wind into its sails.
ghuntley··on How to build a coding agent
Yeah, you could get away with a coding agent just using the Bash tool and the Edit tool (tbh somewhat optional but not having it would be highly inefficient). I haven't tried it, but it might struggle with the code search functionality. It would be possible with the right prompting. For example, you could just prompt the LLM to say "If you need to search the source code, use ripgrep with the Bash tool."
ghuntley··on How to build a coding agent
Keep an eye out for Sonnet generating Python files. What typically happens is: let's say you had a refactor that needs to happen, and let's say 100 symbols need renaming. Instead of invoking the edit tool 100 times, Sonnet has this behaviour where it will synthesise a Python program and then execute it to do it all in one shot.
ghuntley··on How to build a coding agent
Opencode is pretty good and likely meets your needs. One thing I'll call out is Gemini is terrible as an agent currently because Gemini is not a very good tool calling LLM. It's an oracle. https://ghuntley.com/cars/
ghuntley··on How to build a coding agent
Exactly, dude. This is the most important thing, the fundamentals to understand how this stuff works under the hood. I don't get how people aren't curious. Why aren't people being engineers? This is one of the most transformative things to happen in our profession in the last 20 years.
ghuntley··on How to build a coding agent
Yes
ghuntley··on How to build a coding agent
I'd love to see you build your own agent and then share it here in HN as a show HN.
ghuntley··on How to build a coding agent
Thanks, mate.
ghuntley··on How to build a coding agent
Who says that tokens are money? Local models are getting really good. For now, yes, if you want the best outcomes, you need to purchase tokens. But in the future, that may not be the case.
ghuntley··on How to build a coding agent
It will be included as part of the third instalment. I write these coding agents for a living. Need to start with the basics as the basics is what people need to know to be able to automate functions at their employer, which may not be coding agents. This workshop was delivered at a data engineering conference, for example.
ghuntley··on How to build a coding agent
Sonnet does this via the edit tool and bash tool. It’s inbuilt to the model.
ghuntley··on How to build a coding agent
Knowing how to build your own agent and what that loop is going to be the new whiteboard coding question in a couple of years. Absolute. It's going to be the same as "Reverse this string", "I've got a linked list, can you reverse it?", or "Here's my graph, can you traverse it?"
ghuntley··on How to build a coding agent
It's a conference workshop; these are the slides from the workshop, and the words are a dictation from the delivery.
ghuntley··on How to build a coding agent
cheers i'll add it in.
ghuntley··on Closing the Nix gap: From environments to packaged applications for rust
devenv slaps. highly recommend.
ghuntley··on AGENTS.md – Open format for guiding coding agents
Using all caps will actually cause GPT-5 to not function effectively. Have a look at the GPT-5 tuning documentation for coding.
ghuntley··on AGENTS.md – Open format for guiding coding agents
hi, one of the folks behind this. Back in May, @sqs acquired the domain and launched the website above, committing to relocate if the agents.md domain could be acquired. In July, I put out [1] RFC 9999 as a call to the industry that we need to fix this mess. Shortly afterwards OpenAI was able to obtain the domain and thus we (Amp) followed through on the commitment and worked with other vendors to move from AGENT.md to AGENTS.md.

[1] https://web.archive.org/web/20250708160846/https://ampcode.c...

ghuntley··on The current hype around autonomous agents, and what actually works in production
> I am not sure what a tool call loop is.

See https://ampcode.com/how-to-build-an-agent

ghuntley··on I tried vibe coding in BASIC and it didn't go well
It's not really 'vibe coding' if you're copying and pasting from ChatGPT by hand...
ghuntley··on Nobody knows how to build with AI yet
> That means, sooner or later there will be a great rebalancing where people will be required to do significantly more work; probably the work of other developers who will be fired.

Correct - covered here in my talk - https://ghuntley.com/six-month-recap/

AI isn't going to take anyone's jobs. Your co-worker who knows how to use multiple agents at a time and automates their job function will.

ghuntley··on Ccusage: A CLI tool for analyzing Claude Code usage from local JSONL files
Ah, that's the least of their issues!
ghuntley··on Ccusage: A CLI tool for analyzing Claude Code usage from local JSONL files
Exactly, swyx. Any flat rate pricing plan is effectively a bet against the future. It's a grab for engineers that's subsidised. Now, the problem is that GPUs are expensive; they are a costly resource to use. Inferencing is expensive.

So what happens is inevitable:

- Wild promises of unlimited usage and consumers feeling tricked when the impossible is impossible to deliver (Cursor pricing changes).

- Quasi-unlimited usage with rate-caps, but the models get quantised to all hell? [search Twitter for folks reporting Claude feels dumber around/near outages].

- Engineers sharing tools and techniques on how to squeeze pounds out of a flat-rate plan (original post), which results in more power users doing that, which puts more pressure on margins.

In goose meme format, "What are the margins?"

https://x.com/GeoffreyHuntley/status/1945636266009399414

ghuntley··on Ccusage: A CLI tool for analyzing Claude Code usage from local JSONL files
> anyone have thoughts on the security aspect

Yes, you need to run these agents in a sandboxed environment when running full AFK [1] yolo. That could be a Docker container or it could be remote developer environment.

[1] https://ghuntley.com/ralph

ghuntley··on Ccusage: A CLI tool for analyzing Claude Code usage from local JSONL files
There's a predictable journey: people start with Cursor when they are new to AI, and quickly move on to something more powerful once they realise that the IDE [1] is holding em back and that forking VSCode is [2][3] tech-debt.

[1] https://ghuntley.com/overton

[2] https://ghuntley.com/fracture

[3] https://ghuntley.com/amazon-kiro-source-code/

ghuntley··on Ccusage: A CLI tool for analyzing Claude Code usage from local JSONL files
> people report that Grok 4 is not very good at coding

There are agentic models and oracle models. It can be modelled on a four-way quadrant of agent vs oracle and high safety vs low safety.

https://ghuntley.com/cars

Grok is oracle and low safety.

ghuntley··on My experience with Claude Code after two weeks of adventures
What do you define as a production system? Are you aware that one can generate TLA+ specifications, then code generate from these specifications and assert that the implementation matches the TLA+ spec?
ghuntley··on My experience with Claude Code after two weeks of adventures
I think you are perhaps missing the point. Investing into these techniques [2] enables you to do unhinged things. Such as building a compiler whilst you are AFK [1].

[1] https://x.com/i/broadcasts/1OyJALVOnEzGb

[2] https://ghuntley.com/ralph

ghuntley··on Kiro: A new agentic IDE
Source code analysis [and dump] of Kiro at https://ghuntley.com/amazon-kiro-source-code/

- Uses ripgrep under the hood

- VSCode fork (thus suffers from the https://ghuntley.com/fracture problem)

- There are 14 different ways defined to edit a file due to its multi-modal design. Tuning this is going to be a constant source of headaches for the team.

- Kiro utilises a https://ghuntley.com/specs based workflow.

ghuntley··on Ralph Wiggum as a "Software Engineer"
Negative. It's a real technique that works to build software. It's atrocious, but for some reason it works. When CURSED (lang) is launched, you tell me what you think.
← PreviousPage 2 of 25Next →