Use cases
Run Codex agents in parallel
Ubra runs several Codex sessions side by side, each in its own worktree and branch. Codex has one of Ubra's deepest status and resume integrations.
Last updated: · By Ubra maintainers
Before you start
You need the repository, its documented checks, and Codex CLI installed and authenticated where the session runs. Ubra does not bundle the CLI or pay for its provider plan. Ubra release installers are not published yet; use the official contribution/build instructions only if you are prepared to evaluate source builds.
Example: fix links and improve navigation
Take a documentation repository with two independent issues: broken links in one page and navigation labels in another. Give the first session only the link-fix task and the second only the navigation task. State the relevant files, what must stay unchanged and which existing check must pass. If both changes need the same component, finish that dependency first.
Give each session its own checkout
From a clean base branch, create a worktree and branch for each task. The commands below use standard Git and the agent’s ordinary interactive entry point. They are a manual equivalent for understanding the workflow; Ubra can organize the sessions and worktrees in its desktop workspace.
git status --short
git worktree add -b docs-links ../docs-links HEAD
git worktree add -b docs-nav ../docs-nav HEAD
# In one session:
cd ../docs-links
codex
# In a separate session, from your original repository:
cd ../docs-nav
codexRun and review in Ubra
Open the repository as a project, organize each independent task in its own worktree and start a Codex CLI session in that checkout. Verify each session’s current directory before allowing edits. Use session states and notifications to see what needs attention, then inspect the diff beside the session that produced it.
- Ask each agent for one scoped change and the checks it ran.
- Check the working file list and exclude unrelated changes.
- Run the repository’s relevant checks in each checkout.
- Stage and commit each reviewed result independently.
Merge one result, then retest the next
Worktrees keep working files apart, not the final merged program. Land the reviewed link fix first, update the navigation branch against that new base, and rerun its checks before landing it. Do not let a second agent rewrite a task that is still running in the first session.
Common problems
Multiple Codex CLI sessions share the limits of their provider account. Worktrees do not automatically separate ports, external databases or services. Use distinct development-server ports and test data, and keep secrets out of prompts. If a session stops, consult the CLI’s resume documentation rather than assuming the app can reconstruct its conversation.
- Separate shell sessions are different from an agent’s internal subagents.
- Worktrees reduce edit collisions but do not restrict file access.
- After preserving the work and stopping the sessions, remove unused worktrees without force.
Frequently asked questions
Is Ubra a security sandbox?
No. Agents run with your user permissions. Worktrees keep changes apart; they do not restrict what an agent can access.
Does running two sessions mean two separate subscriptions?
Not necessarily. Authentication and billing remain with your agent provider. Parallel sessions can consume the same account’s rate limits; check the provider’s current plan and usage rules.
Will parallel worktrees prevent all merge conflicts?
No. Each task has a separate checkout, but changes can still conflict when combined. Review, update and test branches before merging.
Maintained by Ubra maintainers. Product capabilities and current availability are documented in the official repository. Ubra is independent of the agent providers and tools named here.
Get notified when Ubra is available
No release downloads are published yet. Leave your email and we'll let you know when they are.