Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> is not working

Even a calculator doesn't work if one doesn't use it correctly. Agentic coding works very well if used correctly, such as in the following way:

1. Define your task prompt as well as possible. Refine it via the LLM, having the LLM review it, and repeat this process ad infinitum until there are no important issues left to fix. If possible, use multiple LLMs to identify gaps in your task prompt. You now have your refined task specification. This is the most time consuming step. Sometimes it's necessary to add API docs and SDKs to the context.

2. Use a good reasoning LLM by OpenAI or Claude or Gemini or Grok to execute the spec.

3. Review the generated code line by line. Make any necessary changes, either manually or again using the LLM. With any luck there won't be anything to fix.

If used in this way, it works so well.



You forgot the most important part:

0. Pick a task that's not too complicated for the LLM, and use language and frameworks that it knows about.

If you're within that zone, it all feels magical. Step outside and things fall apart really quickly.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: