regia
Turn Claude Code into an orchestrator. Regia ("direction", as in film directing) is a Claude Code mod that makes your main session coordinate instead of doing the work itself, gives every task the model and effort it actually needs, and lets you run real swarms of Claude, Codex, Qwen/Qoder and GitHub Copilot CLI agents, all watched from a live pane beside the chat.
It works on its own on any machine and any project, with no other plugin and nothing to add to your CLAUDE.md.
Regia is also the orchestration layer of NONoise, the AI SDLC bootstrapper: create-nonoise installs it for Claude Code, and the two share the same three modes. See With NONoise.
Why
Left alone, a Claude Code session tends to:
- do everything itself, filling the main context with file dumps and test logs;
- run every subagent on the same settings, spending an expensive model on a file search;
- lose track of what is running once you have more than a couple of agents going;
- stop halfway when you leave it alone, or ask you questions that make no sense without the context you no longer have.
Regia addresses each one:
| What it does |
|---|
| Three modes | /regia long for long developments (the main session orchestrates and acts on your behalf), /regia medium (it works and delegates the independent pieces), /regia quick (a single agent on a small model). The rule travels with the mod, as a section of the system prompt. |
| Questions with their context | Every decision that is yours arrives with where things stand, the options and a recommendation: in the pane, with keys to answer or dig deeper with an agent, and as a notification if you are away from the PC. |
| The plan as a task list | Items with the description of the macro-activity, grouped by phase; the finished ones fold into a group you can open. |
| Per-task model and effort | No fixed table per agent type. For each Agent call a quick Haiku check reads the actual task and picks the model and effort. A failed task retries one step higher. |
| Swarms | sciame_avvia runs Claude, Codex, Qwen/Qoder and GitHub Copilot CLI agents on a board with dependencies, a parallelism limit, an isolated git worktree for each task that writes, and mail between them. |
| A team you set | Claude is the development team, as subagents and as swarm tasks. The external executors you have enabled and installed (Codex, Qwen/Qoder, Copilot) are reinforcements: with the default policy the mod hands them the swarm tasks that suit them, up to a quota, and the main session does not have to name who does a task. /regia team sets the split. See Team and Executors. |
| Surveillance and wake | Stuck agents are detected, and a session left alone overnight is woken up while the plan still has open items. |
| Compaction that keeps the work going | When the main session's context passes a threshold (60%), the mod compacts it at the end of the turn, telling the summary what to keep and handing it the plan, the open questions and the swarms from its own stores. In long mode the main session then carries on by itself. See Compaction. |
| Token savings | Delegates are told to write the minimum and report briefly (or Ponytail does, if present). The main session sleeps while a swarm runs, and the tools do not weigh on the prompt. |
| Live pane | A fixed pane beside the chat: PER TE (the questions), PIANO, then IN CORSO, IN SCALETTA, FATTI, with model, effort, duration and tokens for each agent. |
Install
At the prompt of a Claude Code session:
/plugin install regia --marketplace russosalv/claude-regia
Answer y to add the marketplace, choose a scope, then restart the session. Open the pane with /regia, and check what is active with /regia doctor.
The first interactive session after installing or updating Regia also installs, if they are missing, these Claude Code plugins:
- Ponytail, always;
- the Codex plugin (official, from OpenAI: marketplace
openai/codex-plugin-cc, plugin codex@openai-codex), only if the codex CLI is on the machine;
- the Qwen companion plugin (there is no official plugin for Claude Code, so Regia uses the community one: marketplace
josephyaduvanshi/qwen-companion, plugin qwen@qwen-companion), only if a compatible qwen or qoder CLI is on the machine.