r/AgentsOfAI • • Oct 15 '26

Agents Most effective agent workflow to write code?!

This might sound like a very basic question, but I bet there are several ways of using agents to speed up your coding workflow and at the same time make them scoped, effective and more accurate. So technically, you would get much more done in much less time, without jeopardizing quality and accuracy.

The way I do it is that I open a chat in browser either ChatGPT or Claude (Yes, I have both on premium plan), and then get the prompts from the chat, paste them into the vscode agents, either codex extension or claude agent chat sessions, and paste back the agent's response back into the Chatgpt or claude chat session on the browser.

Then I proceed locked into a pre-determined set of issues, one at a time, -> Audit -> regression testing and neighbor testing -> implementation -> documentation and -> commit, push and deploy through CI. (Roughly this flow, but changes it dynamics based on what type of issues I'm actually tackling).

Wondering how can I improve this? And how do you do this?

2 Upvotes

5 comments sorted by

1

u/AutoModerator Oct 15 '26

Thank you for your submission! To keep our community healthy, please ensure you've followed our rules.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/summit_23 Oct 15 '26

what killed the copy paste loop for me was putting the plan in a file in the repo instead of a chat message. what its building, which files it touches, what done looks like etc. then it works off that and you edit the file when it drifts rather than retype the context every time. also, use a separate pass that only rejects/red teams. a fresh session told to find whats wrong with this catches way more than asking the same one to check its own work bcoz it just agrees with itself lol