Feature request: Support work in several different repositories during same session
Resolved 💬 4 comments Opened Nov 4, 2025 by adcore-dev Closed Dec 18, 2025
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What feature would you like to see?
Hi
Please add first-class support for working with multiple repositories concurrently in a single Codex CLI session. My common workflow involves, for example, Project 1 (Python) and Project 2 (Angular/TypeScript). I’d like Codex to read from and write to both repositories without restarting or reinitializing.
Ideal behavior
- Add multiple project roots to the active session (e.g., codex add <path>).
- Switch context or target specific repos via aliases/flags.
- Persist per-repo context (indexing, settings) across the session.
If there’s a current workaround (flags, config, symlinks, or a “workspace” file), I’d appreciate guidance.
Thanks
Additional information
_No response_
4 Comments
Huh, I do this all the time , works great even with nested repos.
Which problem do you run into?
@MantraMedia
How are you setting it up? Do you start Codex in a parent directory with its own agents.md, while each project also has its own agents.md? Any tips or gotchas you’ve found would be appreciated.
For context, I usually run two Codex instances—one for a Python repo and one for a TypeScript repo. That’s fine when the workstreams are independent, but when a single business flow spans both projects, separate instances aren’t very helpful.
Looks like my request is duplicates:
https://github.com/openai/codex/issues/2797
Could someone just confirm that this something working and supported.
This feature request hasn't received any upvotes in over two months, so I'm going to close it out.