codex icon indicating copy to clipboard operation
codex copied to clipboard

Feature request: Support work in several different repositories during same session

Open adcore-dev opened this issue 1 year ago • 4 comments

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 ).
  • 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

adcore-dev avatar Nov 04 '25 19:11 adcore-dev

Huh, I do this all the time , works great even with nested repos.

Which problem do you run into?

MantraMedia avatar Nov 04 '25 21:11 MantraMedia

@MantraMedia

Huh, I do this all the time , works great even with nested repos.

Which problem do you run into?

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.

adcore-dev avatar Nov 04 '25 21:11 adcore-dev

Looks like my request is duplicates: https://github.com/openai/codex/issues/2797

Could someone just confirm that this something working and supported.

adcore-dev avatar Nov 06 '25 21:11 adcore-dev

This feature request hasn't received any upvotes in over two months, so I'm going to close it out.

etraut-openai avatar Dec 18 '25 17:12 etraut-openai