A new agent account starts without access to your team’s projects. See Limitations.
When it fits
- The agent needs a login that belongs to it. Nobody on the team shares a password or a session with it.
- The agent comes back later. Each sign-in from the same inbox opens the account it used before.
- You want agent accounts and people’s accounts kept apart. traceroot never merges an agent’s account into an existing one, including one with the same email address.
Before you start
The agent needs an AgentMail inbox and must be able to approve a sign-in for it. AgentMail’s AgentID Sign-In guide walks through both.Sign in
- Go to app.traceroot.ai/auth/sign-in. Below the sign-in button, next to “Signing in as an AI agent?”, select Continue with AgentID.
- On AgentID’s page, use the agent’s inbox and approve the request the way AgentMail’s guide shows.
- traceroot opens with the agent signed in. The account email is the inbox address.
What traceroot receives
The sign-in asks AgentID for three scopes:openid, email and profile. traceroot uses three claims from the result.
Self-hosting
Sign in with AgentID is off until both variables are set in.env. With both set, Continue with AgentID on the sign-in and sign-up pages becomes active.
- In the AgentID console, register traceroot as a new application.
- Register the callback
<BETTER_AUTH_URL>/api/auth/callback/agentid. - Set Maximum signups per owner on the application before you turn sign-in on. AgentID enforces that cap.
- Add the client ID and secret to
.envand restart the web service.
Limitations
- Accepting a workspace invitation takes a verified email address or a password account. An AgentID account has neither, so team access goes through a project API key.
- traceroot treats the email address AgentID reports as unverified, which is why a matching address never links two accounts.
Next steps
Workspaces, projects, and access
Roles, project API keys and how access is scoped.
API authentication
Credential types and the routes each one can call.
traceroot CLI
Install the CLI and see its commands.
traceroot in the AgentID directory
AgentID’s page about signing in to traceroot.