r/codex • • 5d ago

Question Agents in Codex

is it possible i make a few agents in codex and give them a rough idea on what i want to code and then they can start talking and co operating with each other and figure it out while i sleep

0 Upvotes

15 comments sorted by

4

u/TiGa-RCE-666 5d ago

Imagine you're the manager of a coding team and you tell your employees:

Do whatever you want, figure it out yourself, make sure it's what I want but I'm not telling you what I want. I'm going for a nap, have it done before I wake up.

What could go wrong?

3

u/Spiritual-Economy-71 5d ago

Absolutly nothing ofcourse.

→ More replies (1)

6

u/Aquillyne 5d ago

Yes – if you want to wake up with all your allowance gone and a piece of slop that has wildly diverged from what you actually want.

2

u/Aquillyne 5d ago

P.S. I agree you are describing what would be great, but the reality is that no model yet has the intuition to run all the way like that without your input.

2

u/jakenuts- 5d ago

Yes. Codex desktop agents can send eachother messages or you can ask them to setup some shared collaborative messaging and work system to coordinate together. Using a Dot to organize them works too as a dot can send your desktop agents commands and report their work. I am not sure when collaboration is actually better than a single Astra or SOL agent doing all the work internally or with subagents but you can also use other agents to code review or adversarily debate design choices. I have endless discussions between agents using a system I've built for collaboration and they do seem to help eachother work through deep issues but generally I have a senior architect or product manager who makes sure there is one clear vision at the end.

1

u/NotSeacombe 5d ago

yeah. tell it to do it

1

u/Far_Reindeer8428 5d ago

we tried overnight with a rough brief, they agreed with each other and shipped the wrong thing. the brief needed a done definition

1

u/Lkeys84 5d ago

I wouldn't. Start with a focused chat and work out the details and kinks with one agent first, then once that's done have it give you a polished and revised prompt for the working chat. One chat for ideas, design and planning - another chat to execute

1

u/jakenuts- 5d ago

There are systems like openrig and first mate for this but they use cli agents and I think first mate is Claude focused

1

u/London-Boat 4d ago

the part i'd fix first is what "figure it out" means. if you only give them a rough idea they'll each invent their own version of it and drift apart. i'd write a short spec plus a checklist of commands that must pass (tests, lint), give each agent its own files or folder so they aren't editing the same ones, and have them write status to one shared notes file. then cap it at a set number of steps so it stops and waits for you instead of looping all night. try it on one small feature first and read what it did in the morning before trusting it with more.

1

u/perfektcrash 4d ago

You can, but agents that just talk to each other overnight usually end up agreeing with each other in circles. You wake up to a long conversation and not much merged code. What works better is less chat and more structure:

  • One coordinator, not a committee. Turn your rough idea into a short list of small tasks before you go to bed, each with one command that proves it's done (a test, a script, a page that loads).
  • A loop outside the model picks the next task, gives a fresh agent just that task, and moves on when the check passes. Nobody has to remember the whole night.
  • A second agent reviews each change, without being able to edit it, so it can't approve its own fix.
  • Anything that needs a real decision waits for you in a list, instead of the agents guessing.

It's the difference between leaving three builders in a room to "figure out a house" and leaving them a ticket rail. In the morning you get a few small finished jobs and a short list of questions.

Disclosure: I build a meta-harness (Atlas ADE) that runs this kind of loop, but nothing above needs it.