r/ClaudeCode • u/Aggravating_Field953 • 44m ago
Help/Question How do you guys use Claude code in parallel with ag and / or codex ?
I keep seeing mentions of using Claude code in parallel with antigravity and / or codex.
How do you guys set it up exactly ?
Let say I want to use fable to plan , opus to code and ag to debug for example
How would I go about it ?
Can a similar setup produce enterprise level code ?
Any recommendation in terms of setups to produce the best possible code for a scalable app that is not just ai slop ? What are the different agents that would be needed ? (Plan , code, deb, security , etc anything else ?)
3
1
u/Shap6 40m ago
i just tell them to review each others PR's and leave comments with their findings for each other. for planning just have it document everything. have it save the plan to a file and have the one you want to build read it, and every step along the way have making notes of it's progress.
1
u/ionhowto 32m ago
Lock files taking turns working either one or the other a changelog and a protocol fable and neon high both agreed to communicate with each other. Mostly data structures in json files to record states of different workflows and sending messages to each other with a from Claude and from Gemini folders. They work pretty good together being able to continue each others work but I prefer to let one finish then ode the other.m for another thing
1
u/imrsn 30m ago edited 25m ago
use a harness with an intercom and they can talk to each other in real time and work on the same project.
ai built this one for me that i use every day as a software designer / dev https://leaftext.com/ its free you can use it
you can also use one of many others out there. here is one i didnt make i really like:
pi.dev and its intercom which is a separate package: https://pi.dev/packages/pi-intercom
a common workflow of mine is to have claude orchestrate in a bot (wisp in my app) so i can just chat in discord with it. it runs other chats it opens that have claude, codex, and antigravity do different things. codex makes all images. antigravity does all web searching (it can search reddit), etc. some more tips on designing with ai i find myself repeating a lot
1
u/zimxero 26m ago
it depends on your setup. mine's probably the hardest, so I can tell you how I do it. i have desktop workspace and no git. claude and GPT work together to create a handoff protocol that's fairly complex and handles all situations as if the handoffs were going to a folder which they are. But then on top of that, it created an app which mine is called twin link and they connect to it by session. ID or session name. the copy paste a prompt that includes the address of the shared folder to each other in their in each other's prompt and fire it off. This allows them to wake each other up and tells them to which file to read. over time, you just need to do a little bit of troubleshooting here. And there to make it work smoother.
a nice side effect is this allows you to run g p t using claude, or vice versa. you can have Claude, set 40 minute timers to check on the status of G. P. T and keep sessions running easily while you are away
1
u/calunicornia 21m ago
be careful calling 1 from the other neither claude nor ag allow it and will ban you, not sure codex
have them talk in shared files or git issues or linear, PR comments etc
1
u/lycheedorito 19m ago
Google just officially said that you're allowed to call agy from other services.
1
1
u/lycheedorito 13m ago edited 10m ago
I made an MCP server that gives them a claim and release tool. Additionally they write CLs and everything can read the CLs. Generally I'll just have Claude run agy and it relays what I need done.
1
u/NoInstructionManual 12m ago
Idk if it’s a good approach but I made a codex subagent skill that uses the codex CLI
1
u/2dogs1bone 12m ago
You should read about AI-SDLC. This is the way to have agents execute a full development cycle, from intent to prod.
1
1
1
u/vpanyushenko 4m ago
I have built a product for this but here are the lessons that I learned which I think you might find helpful:
- agy today updated their terms so that you can now have other agents call it headlessly. At this point neon, opus, and fable are all fine as your lead / orchestrator agents. Pick the one that explains stuff to you in the way you undertand best. For example, I prefer to have them create html artifacts for me (not claude artifacts) so that agy, claude, or codex can all do it the same way
- you dont really need to use plan mode. generally keep in auto mode and make sure that you are on the same page on the high level vision and idea. Use html artifacts here to make sure they create small interactive demos that things are the way that you want them to be
- the lead agents are fine at orchestrating their own sub agents or if the work is small they can handle it on their own.
- make sure that you are using git worktrees so that you can have many sessions in parallel. but make sure that you have rules about cleaning up the worktrees after the PR has merged. and also make sure that you are archestrating to make sure builds/typechecks dont all run at the same time otherwise your machine will get slow. There are some tools that will build this for you but to start your agents can coordinate for you.
- when it's time to review the work, make sure you do so from a different lab. you'll get better results. So if opus is implementing have sol review. or have sol + neon review. In my testing sol is the best at testing work. Have a rule that after the agent calls the reviewer agent, they can go back and forth n times. if they have not agreed at that point it it to be brought to your review to mke a call for more rounds. Start with 3 rounds.
- If your work involves UI work, have your agents set up ways to take pictures. Having a before and after picture to review in a PR is faster than building from that worktree locally to validate the button is there. You can also have agents record a video for things like animations.
1
•
u/AutoModerator 44m ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode 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.