Good to know, but sad that it has to be said.

  • Blaiz0r@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 hours ago

    Using AI for code requires a high level of specificity, software houses that are getting the most out of it are not using it so much inline or vibe coding because as you say that leads to hallucinations or having to repeat yourself.

    The common approach now is to use multiple agents with different responsibilities, the human effectively becomes a team leader and uses one chatbot to orchestrate a plan being very specific about the outcomes and the requirements and breaking the plan down into phases,

    Another agent will be used to write the code, they will have set rules files to keep them on guard rails, they will check their work as they go and deliver a pull request at the end of it for the human to check and approve

    The next agent will be there to write tests and check the work of the second agent.

    It’s a lot more work than writing a single prompt and expecting a good outcome or close approximation, but it is getting better results now.