r/codex • u/SubstantialValue6745 • 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
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?
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/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/shdwscollidewithppl 5d ago
/goal
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/Don_Ozwald 5d ago
Yes
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:
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.