# Separate AI agent setups for red team, blue team and engineering work

> How to run isolated Claude Code and Codex profiles for different jobs, each with its own MCP servers, skills and instructions, without them ever mixing.

Published by Calyban (https://calyban.com/blog/separate-ai-agent-setups-red-team), 2026-11-15.

Security people already keep separate machines and VMs for separate jobs. Your coding agent deserves the same discipline. An agent loaded with offensive-security skills shouldn't be the one refactoring your production service, and the other way round.

## How isolation works

Both agents can run from a separate configuration directory:

- **Codex:** set `CODEX_HOME` to a different folder.
- **Claude Code:** set `CLAUDE_CONFIG_DIR` to a different folder.

Each folder has its own MCP servers, skills, subagents, commands and instruction file (`AGENTS.md` or `CLAUDE.md`). Nothing leaks between them.

## Doing it with Calyban

[Calyban](/) calls these **setups**:

1. Press **New setup** and name it, for example `red-team`.
2. Pick a starter kit: Red Team, Blue Team, Engineering, Research, Data and more.
3. Optionally reuse your current sign-in so you don't have to log in again.

Calyban creates the isolated folder, installs the kit, and gives you a launcher command such as `codex-red-team`. Switch between setups in the sidebar; everything you install goes only into the selected one.

## Share a loadout

Any setup can be shared as a single line of text. A teammate pastes it into Calyban, sees every item inside it, and gets the same isolated setup, with everything still passing through the safety check.

Want a starter kit for your niche? [Request it on Discord](https://discord.gg/pHDNtgYvWn).
