← sources

How do you switch coding agents between different access profiles?

source: reddit (reddit:AI_Agents)published 2026-09-21 17:43ingested 2026-09-22 02:35

retained text

With tools like Claude Code or Codex, it feels like you often have to set everything up manually for each session:

different credentials, plugins, MCP servers, environment variables, sandbox settings, etc.

That’s probably fine for one session, but it doesn’t seem very practical when you regularly switch between local development, staging, and review work.

For example, the same agent might need to:

* edit code and run tests locally
* deploy to staging and read staging logs
* review a PR without changing anything
* have no access to production

Separate config files, terminal sessions, containers, or something else?

document fetched 2026-09-22 00:18 · canonical https://reddit.com/r/AI_Agents/comments/1wmjtct/how_do_you_switch_coding_agents_between_different