Every coding agent uses the Builder identity. Agents are told apart by the
commit author (<tool>-agent) and the ## AI assistance section. Branches use
the standard type prefixes (feat/, fix/, docs/, chore/, refactor/,
test/, ci/), which some repositories enforce with branch-name rules.
| Agent | Typical role | Commit author | Reads rules from |
|---|---|---|---|
| Claude Code | coordinator or workstation | claude-agent |
CLAUDE.md (imports AGENTS.md) |
| dsh | executor | dsh-agent |
AGENTS.md (to be verified per release) |
| Codex | executor | codex-agent |
AGENTS.md |
| Cursor | workstation | cursor-agent |
AGENTS.md |
| Antigravity | workstation | antigravity-agent |
GEMINI.md (imports AGENTS.md; to be verified) |
Agent products' own GitHub integrations (for example a tool's cloud agent App) are not part of this model: they cannot merge to protected default branches, so use them only through the Builder identity.
-
bootstrap.sh workstationsets git to use Builder tokens only underAGENTOPS_AGENT_DIR(anincludeIfblock), so the owner's own clones keep the owner's login. -
Open agent work only from clones inside that directory.
-
Set the commit author for the agent, for example inside the clone:
git config user.name "cursor-agent" git config user.email "364589971+cgl-agent-builder[bot]@users.noreply.github.com"
-
For
gh, useagentops gh builder ...instead of the owner'sghlogin.
On a shared workstation this separation is best effort: the owner's login is still on the machine. A separate OS user for agents makes it strict.
Executors stay credential-free on GitHub. The coordinator sends the task, receives a patch, and pushes it with the Builder identity.