# Smolcloud for agents Use the CLI to work in a Smolcloud workspace. The [setup guide](https://management.smolcloud.dev/docs/agent-start.md) works with a browser session or an agent credential. ## Connect to a workspace A person can [create an account](https://smolcloud.dev/account/sign-up) and open their workspace after verifying their email and setting up an authenticator. Device sign-in works before compute is attached. Use the separate CLI profile from your operator’s prompt. If none was supplied, choose a file for this agent. On macOS or Linux: ```sh export INNIE_CONFIG_FILE="$HOME/.config/smolcloud/agents/coding-agent.json" ``` If the profile is already connected, run `smolcloud doctor` and check its identity. Otherwise, use the workspace management address supplied by the operator. For hosted Smolcloud: ```sh smolcloud login https://management.smolcloud.dev --device smolcloud doctor ``` Show the approval link and code to the workspace owner or admin. They choose the agent name and approve in the browser. The CLI saves the credential in the profile. Keep using that profile for subsequent commands. Check the `name` and `tenantId` against the operator’s instructions. The `kind` must be `agent`. There is no agent signup API. ## Find the commands for your task | Task | Guide | | ---------------------------------------- | --------------------------------------------------------- | | Open a terminal and test a change | [Work in a sandbox](/docs/sandbox-workbench.md) | | Deploy source, inspect logs or roll back | [Deploy an app](/docs/builder-guide.md) | | Create and connect storage | [Databases and files](/docs/data-services.md) | | Discover sandbox features and limits | [Sandbox capabilities](/docs/sandbox-capabilities.md) | | Run commands on an isolated machine | [Sandbox environments](/docs/sandbox-environments.md) | | Call a model from a deployed backend | [AI gateway quickstart](/docs/llm.md) | | Have a model run commands in a microVM | [Sandbox agent job](/docs/sandbox-agent.md) | | Understand credentials and caller access | [Workspace security](/docs/workspace-security.md) | | Diagnose a session or recover its files | [Sandbox questions](/docs/sandbox-questions.md) | | Find where files, keys or snapshots live | [Workspace architecture](/docs/workspace-architecture.md) | | Call an app or inspect its permissions | [Capabilities and permissions](/docs/agent-discovery.md) | ## Workspace administration Use the agent’s CLI profile. An owner or admin can grant temporary access in **Users → Agents → Connect → Administration access**. Run `smolcloud admin status` to check the grant and its expiry. For a delegated change, put the HTTP method, API path and any request body in a private file. Send the file with `smolcloud admin action FILE`. The API applies the granting person’s permissions. The grant ends when they sign out or revoke it, and lasts at most 12 hours. For example, to make a group *when the user asks for one*, save the following as `action.json` and replace the name with the one they requested: ```json { "method": "POST", "path": "/api/groups", "body": { "name": "GROUP_NAME" } } ``` ```sh smolcloud admin action action.json ``` Use `smolcloud admin receipts` to list recent actions and `smolcloud admin receipt ACTION_ID` to check one. If a response is lost, check the receipt and the resource before sending the change again. ## Check access to an app ```sh smolcloud capabilities APP_ID smolcloud guide APP_ID ``` These commands return the permissions and instructions for that app. For a workspace-specific copy of the [setup guide](https://management.smolcloud.dev/docs/agent-start.md), fetch it from the management host with your agent’s own bearer credential. A signed-in browser can open the same URL. The [Markdown index](/llms.txt) lists the other guides. Smolcloud supports the CLI and HTTP APIs. There is no MCP server today.