---
title: "Set up your agent roster"
type: how-to
kind: how-to
documentedFor: "1.14.0"
updated: "2026-10-30"
canonical: "https://arcaneai.net/docs/how-to/set-up-agents"
---

# Set up your agent roster

Define your agent roster once and write it where Claude Code, GitHub Copilot and Codex each expect it.

## Prerequisites

- A git repository with Arcane installed by `spell init`, and your own work committed, so the commit in step 4 holds only the roster.

## Steps

1. Create the roster. `--profile full` installs every role and `--naming arcanos` names them; without the two flags, the command asks. Besides the repository's files, it writes an OpenClaw workspace per agent under `~/.openclaw`, outside the repository (the roster's `openclaw.workspace_root`).

   ```arcane
   spell agents init --profile full --naming arcanos
   ```

   ```text
   ✦ Agent roster initialized
       📋 Profile: full · Naming: arcanos · Agents: 12
       🔄 Synced: 28 outputs (Copilot, Claude, Codex, OpenClaw)

       💡 Customize: edit .arcane/agents.yaml → spell agents sync
   ```

2. To rename an agent, change its `name` in `.arcane/agents.yaml`. For example, change `name: Kellar` to `name: Houdini`.

3. Write the roster out to every client. Run this again after every edit to `.arcane/agents.yaml`. It rewrites the OpenClaw workspaces under `~/.openclaw` too; add `--no-openclaw` to leave them alone.

   ```arcane
   spell agents sync
   ```

   ```text
     ✓ Synced 28 outputs
   ```

4. Commit the roster and the generated files. Check that `git status --short` lists only Arcane's files before you stage them.

   ```bash
   git status --short
   git add -A
   git commit -m "Add the agent roster"
   ```

## Verify it worked

List the roster with the name each role was given.

```arcane
spell agents list
```

```text
  Profile: full  |  Naming: arcanos  |  Agents: 12

  Name       Role ID               OpenClaw ID
  ---------  --------------------  -----------
  Houdini    orchestrator          main       
  Merlin     architecture-lead     merlin     
```

`CLAUDE.md` and `AGENTS.md` now carry an `## Agent Roster` section, and `.github/agents/` holds one file per agent for Copilot.

## Related

- Every option of each subcommand: [`spell agents init`](/docs/reference/cli-agents#spell-agents-init), [`spell agents sync`](/docs/reference/cli-agents#spell-agents-sync), [`spell agents list`](/docs/reference/cli-agents#spell-agents-list).
- The roles in the roster: [Agents](/docs/reference/agents).
- The user tier, which can hold one roster for every repository on a machine: [Multi-repo](/docs/explanation/multi-repo).
