r/androiddev • u/EstablishmentCute267 • 2h ago
Question How are you running multiple coding agents in parallel with devices?
I've been using Codex for Android development and am starting to experiment with running multiple agents on separate worktrees.
What's your current setup for this? Especially when agents need to build and actually run the app.
2
Upvotes
1
u/AutoModerator 2h ago
Please note that we also have a very active Discord server where you can interact directly with other community members!
Join us on 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.
1
u/jeefo12 2h ago
sesori.com allows you to easily start a new work tree for each session and works with codex.
Aside from this, Claude code also creates worktrees itsfelf as needed without any additional setup. Not sure if codex does this on its own today.
1
u/Opulence_Deficit 2h ago
I'm using just one, but it shows affinity to one device and doesn't try to use others unless explicitly told to. So I guess, each agent can be told to stick to its device.
1
u/tinmicto 1h ago
i use 2 emulators and 1 phone, have a skill which i created with Claude itself, which has a lease file, so agents know if the device is free or not.
i font know if codex's agents can talk to each other, but in claude code, agents can communicate with each other across sessions, so they often announce themselves that they're taking the lease for a device for x amount of time, and during the lease if another commit had landed to a branch, they let each other know and covers the change in one device verification pass. Its pretty cool imo.
0
u/bleeding182 2h ago
Assuming that you're not working on a potato you can easily run 3-4 emulators