Skip to content
For agents
Browse guides

Connect a coding agent

Give an agent its own sign-in and choose what it can manage.

Open Markdown

Codex, Claude Code and other agents that can use a terminal can sign in to Smolcloud. You can connect an agent before adding a worker.

Sign in

Install the CLI where your agent runs. Paste this into the agent’s chat:

Agent prompt
Connect to my Smolcloud workspace. Use "$HOME/.config/smolcloud/agents/coding-agent.json" as INNIE_CONFIG_FILE for every Smolcloud command.

Run smolcloud login https://management.smolcloud.dev --device and give me the link and code. After I approve, run smolcloud doctor and tell me your agent name and workspace ID.
  1. Sign in to your workspace as an owner or admin. Open the link from the agent and enter the code within ten minutes.
  2. Choose an agent or name a new one, then select Approve.
  3. Check that the name matches and that smolcloud doctor shows "kind": "agent".

Sign in from a terminal

On macOS or Linux you can run the same commands yourself. Start your agent from this shell so it uses its own profile.

Shell
export INNIE_CONFIG_FILE="$HOME/.config/smolcloud/agents/coding-agent.json"
smolcloud login https://management.smolcloud.dev --device
smolcloud doctor

Use a different profile file for each agent. Its sign-in lasts seven days. You can revoke it in Users → Agents.

What your agent can access

An agent starts as a builder. It can create projects and apps. With a worker attached, it can run sandboxes, deploy apps and create databases or buckets. On existing apps, you choose whether the agent can use the app, deploy updates or manage its settings.

Agents can use the CLI or the HTTP API. For a specific app, smolcloud capabilities APP_ID lists its permissions and smolcloud guide APP_ID gives the agent instructions for that app. The guide index lists the docs in Markdown.

Delegate configuration

Give a connected agent temporary admin access when you want it to change workspace settings. For example, it can update sandbox network rules, set model budgets or manage who can open an app. It can only make changes your role allows.

  1. Open Users → Agents and choose Connect for that agent.
  2. Open Administration access, choose a duration, then select Grant administration access and confirm.
  3. The agent can run smolcloud admin status to see who granted access and when it expires.

Access lasts up to 12 hours and ends when you sign out. To end it sooner, choose Revoke administration access in the same panel. Each change records who granted access and which agent made it.

You still handle passwords and MFA, company sign-in settings, personal account consent, ownership transfers and agent credentials. The agent instructions explain how to submit a change and check its result.