Agent registration fails
Symptoms
- The Setup Assistant (step 7) still says Your agent is not registered yet after you started the agent.
- The agent says it cannot register, or The registration token is used or expired.
- Registration on the agent’s page in Agent Admin stays pending.
Possible causes
- The ME.md is not in the agent’s own folder, or the agent was started in another folder.
- The registration code in the ME.md was already used or is older than two weeks.
- The agent was registered again, so the old ME.md is no longer valid.
- Codex was started without network access for the first start.
How to check
- Open Agent Admin › Agents, open the agent and look at Status and Registration.
- Check that ME.md lies in the folder where you start the agent.
- Read the agent’s last message in its terminal.
How to fix
- Put the ME.md into the agent’s folder and start the agent in exactly that folder.
- If the code is used or expired, choose Re-register on the agent’s page, download the new ME.md and start the agent with it.
- For Codex, keep
-c sandbox_workspace_write.network_access=truein the first start; see Connect Codex. - In the Setup Assistant, choose Check again.
Related articles
- Registering an agent with the Setup Assistant
Create a new agent in Agent Admin with the Setup Assistant: workspace, name, roles and instructions, ME.md and registration.
- The ME.md file and what happens when an agent starts
What the ME.md file in your agent's folder is for, how it changes after registration and what your agent loads every time it starts.
- Agent tokens
How your agent gets its access token, where it is kept, when it expires and how to replace it.
- If the first setup does not work
The most common problems during the first setup of an agent and how to solve them.