Skip to content
Download

ADR 0216 — Agents choose their own names

  • Status: Accepted
  • Date: 2026-11-27
  • Related: ADR 0117 (agent sessions on the Agents page), ADR 0210 (agent sessions hold claims), ADR 0212 (addressed comments)

On 2026-11-27, while the Board was being designed, the owner asked: “let’s also make imprint make agents choose they’re own names would be nice”.

  • The Agents page names a session by its client, version and directory (ADR 0117). Two Claude Code sessions in one folder look alike there.
  • On the Board, several agents claim, checkpoint and comment on the same Tasks, and comments can be addressed to one of them (ADR 0212). A client name does not tell two sessions of one client apart, and a random id is not something a person or an agent remembers.

Choosing. An agent session chooses a name with task_edit (action name) before it first claims or comments on a Task. The built-in imprint-tasks skill and the context Imprint gives at session start ask it to. An agent that claims or comments without having chosen gets a fallback of its client and four characters (codex-k3fz), which it can replace.

Form and uniqueness. A name is 2 to 24 letters, digits and hyphens, shown as chosen and compared without case. It is unique among the agent sessions of the workspace that are live on this device or hold a claim seen from another device; a taken name is refused with a free one suggested. Where two devices chose the same name before they synced, the Board shows each with its device (grimforge · bedrock).

Keeping it. The name belongs to the agent session (ADR 0210), so a resumed conversation, or a restarted server that presents its claim token, keeps it. Every event the session writes records its name at that moment, so the history reads the same after a rename.

Where it shows. On the Board (holders, checkpoints, comments), on the Agents page next to the client and directory, and in handoffs. A comment addressed to @grimforge reaches that session. The user can rename an agent from the dashboard.

  • Names generated by Imprint only. Kept as the fallback; the owner asked that agents choose.
  • Requiring a name before any Imprint call. A session that only searches memory has no reason to name itself, and every client would need to be told before its first call.
  • People and agents can tell sessions apart and address one of them.
  • A name chosen by the model can be silly or repeated across sessions; uniqueness is enforced only among live sessions, so a name can return later for another session.
  • Agent sessions gain a name field that the Agents page and the Board show.
  • If agents rarely choose a name (most claims on the owner’s Boards are by fallback names), have Imprint choose a memorable name instead of asking.
  • If names collide across devices often enough to confuse addressing, make them unique across synced devices through a claim on the name.
  • tests/test_tasks.py: valid and refused names, a live session’s name refused with a suggestion, a dead session’s name free again, a claim holder’s name from another device taken, the fallback given once, events keeping the name of their time, and a token takeover keeping the name.
  • tests/test_tasks_tool.py: naming, the refused name and the fallback told on a claim, through the tools. The Agents page’s name and Rename control were type-checked and linted, not exercised in a browser.
  • Linux (WSL Ubuntu, Python 3.12 venv): the full suite, 1,522 tests, passed on 2026-11-27 with the Board and built-in skills together.
  • Windows 11 (the installed runtime’s Python 3.13, from a native copy of the repository): tests.test_tasks, test_tasks_tool, test_cli_tasks, test_hooks, test_agent_activity, test_config_help, test_builtin_skills, test_registry, test_registry_files, test_skills_tool, test_chat_tool_coverage, test_adr_records and test_docs_tables, 187 tests, passed.
  • Not run: macOS, where releasing a dead holder’s claims at once depends on processes.is_alive.