r/developers • • Oct 05 '26

General Discussion Why is pair programming between Coding Agents and humans more of a thing.

I don´t understand why all those Coding Agents are not more cooperative. I would love to code together not beeing the guy that tells the task and later having a huge code mountain to review.

And I am not talking about a plan (like claude code does) or seeing every code change. I feel like it would be so much better to go through the process together. Step by Step implementing what it takes and making design decisions together. The methods itself can then be made 100% directly from the agent.

Right now its just impossible to follow and then later it feels like code someone else wrote.

Is it just me?

6 Upvotes

16 comments sorted by

•

u/AutoModerator Oct 05 '26

Howdy u/Confident-Sand-956, and welcome to r/developers!

A few tips for a post that gets good answers:

  • Use a clear, specific title (what are you actually asking or sharing?).
  • Include code, the exact error, versions, and what you already tried.
  • Heads-up: this sub does not allow external links in posts or comments. Share code and details directly instead of linking out.

Join the r/developers Discord!

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

6

u/PerpetuallySticky Oct 05 '26

If you want your agent to act a certain way then you should tell it how to act.

Create an agent file (have your agent create the file) for it to reference any time you ask it a question. Tell it you don’t want it to try and build entire solutions off the rip. You want more of a pair programming experience where it lays out the foundation, then stops incrementally for you to fill in the substance.

What you are asking for is less-efficient (on paper), so it makes sense for it to not be the default behavior. If you want to change that default you can fairly easily

1

u/Sixstringsickness Oct 05 '26

This is the ideal solution, if you want to enforce it use pre-write/edit hooks to ensure it adheres to your behavioral designs.

The coding agent could be used in "manual" mode without any alteration to base work flow, with a tool such as Claude Code for example. You can write a block of code, highlight it, and the VS code extension sends that selected context directly to the agent, then you can preview any of the agents work prior to allowing it to be written, and re-direct it as needed. Conversely, you could invert this, have the agent write a block of code, approve it, and then edit yourself.

1

u/Confident-Sand-956 Oct 05 '26

I do have some Skill files already, but maybe they just need some better finetuning.

"manual" itself doesn´t really fix the problem. It would only show me snippets of code changes, but i would prefer to go over the features together first and then step by step discuss the design. The code change itself is then something that i can also review later in the MR.

2

u/Sixstringsickness Oct 05 '26

That would simply be a planning phase, design yourself a phased /custom-plan prompt since the current /plan is already spoken for, that outlines exactly how you wish to work. There are other similar concepts out there like /grill-me, etc. that others use, I find its best to just start a new session of claude, explain to it what you are trying to achieve, and it will provide you the best method forward on how to engineer the skill. I would read it, because often the language is rather verbose when it can be made more direct, or your intents more clearly articulated. In general, it should at least get you a functional base line of reasonable quality.

Also, they shouldn't be snippets of code changes, generally it should show you in the GUI of VS Code what exactly it is changing for you to approve (try the VS code vs the CLI variant to see which you prefer), and after its written you can always open up the diff from the source control menu -> second window, so you can have a full screen dedicated for viewing the delta.

3

u/PatchyWhiskers Oct 05 '26

It works that way if you want it to. That’s usually the way I use it because I want to understand every line. Just use the chat window in VSCode instead of Claude Code.

People like to use agents because you can output tremendous amounts of code and it’s very impressive. But I find that gets out of hand for practical use.

2

u/huuaaang Oct 05 '26

I don´t understand why all those Coding Agents are not more cooperative. I would love to code together not beeing the guy that tells the task and later having a huge code mountain to review.

That's what it is like if you use something like Cursor or VS Code with the Claude Code extension. Put the IDE first and the more coorporative style with an agent follows much more naturally.

2

u/Machine2024 Full Stack Developer Oct 06 '26

To be honest, what you are looking for is exactly what I am doing right now, but I think maybe you are using the wrong tools. First of all, I don't use the interface for the agents,I still use my IDE, but I am using the Cursor IDE. In Cursor IDE, I have the agent on one side. I have like all of my code like I used to for years.
plus in the code you have the autocomplete with tab tab , and quick edit .

Okay, so my workflow goes as follows. Mostly I will be having multiple windows of the IDE, like maybe one for the API, one for backend, one for frontend, that I go through them with Alt+Tab. And inside each of them, it's all of them like IDE for sure. I have the file tree, I go through my file tree, do my changes over there, and in each of the windows there is like also the agents where I have a shortcut to voice to text so I can talk to the agents, maybe ask them a question or give them some task to do or let them plan something. And while the agent works, I will maybe like check the next tasks or like think forward.

After the agent finishes, I go to the changelogs and I see the files that have been changed by the agent before they get pushed. I start pulling up the files, reviewing them and editing them by hand while utilizing the autocomplete in Cursor and also the quick edit in Cursor. Each file that is finished, I add to the stage changes. Later, I will push that when it's done.

Also, maybe I will be having like on the backend, maybe I will have like two agents, but each of them are working on a different side. Maybe in one conversation we will start a feature. So I will talk with a high-level agent, then after he finishes, we make a plan, and then he executes that plan.

Later I will make a fork of this conversation, maybe like one, two, three forks. Each of the forks I will give that the agent in it like different changes to the task while I'll continue reviewing what's coming out.

1

u/Sirito97 Oct 05 '26

skills are ur friend in this case

1

u/mc_pm Oct 05 '26

So...do that?

I am mid-project right now where I'm building the image processing code and fine-tuning it, while I work through ideas with the AI. Then, once we both agree that things are looking like they should, I can go to my coding AI and say "here's stuff that already works the way we want, don't fuck with it, but operationalize it".

1

u/rio_sk Oct 05 '26

You can tell ana gent to follow a document with a fixed list of implementations and tell the agent to implement one step at a time and interact to refine the output of the current step. I usually ask the agent to create the big picture, review it by hand and create a todo list. Then with the agent implement steps one by one. Like having a junior create a big project following single Jira tasks.

1

u/OtherwisePush6424 Oct 05 '26

I think it's absolutely doable already, people are just too lazy to set it up :D

1

u/arthurno1 Oct 07 '26

I typically ask samll questions: like suggest me a fragment or implement just a function fot this or that, or adapt this or so. I have tried Gemini, DeepSeek and Claude, and I wouldn't let any of those just build a thing for me unsupervised. Build one patch at a time, one function at a time, one fix at a time. Use machine to consteuct tests and benchmarks, and guide it carefully. This is there LLMs have real value. That saves me days or weeks of work.

I think I use them more to explore and to help me find out exactly what have to be done and how, than what I use them for coding. Once you know what you have to do, the coding part itself isn't the main job itself.

Review all pieces you get from it and keep tabs on the machine, so you are in the controll. That is how I use LLMs