Skip to content
Documentation

Documentation

Guides and API reference for building with Smallworld.

Start here#

OverviewHow worlds, users, sessions, and executions work together.Quick startRun your first command, read the result, and keep a session between commands.AuthenticationCall Smallworld from your backend with a workspace API key.

Guides#

Connect a coding agentUse the hosted builder MCP from Codex or Claude Code with browser sign-in.Connect a user’s accountConnect an account through OAuth or API-key entry and use it in a world.Connect a groupShare one connected account with every user in a group, such as a customer's team.Approve a tool callHandle tool and provider decisions, then continue the execution.Review tool calls with hooksLet your own endpoint allow, ask about, or deny each integration tool call before it runs.Send and receive filesUpload files with a command, then save the files it creates or changes.MountsMount shared folders into your users' terminals and decide which changes agents may make to them.Build a custom integrationExpose your own tools, test a signed endpoint, and enable it in a world.

API reference#

Configuration#

GET List integration configurationsRead the configuration catalog for all integrations.GET Get integration configurationRead one integration’s workspace configuration.PATCH Update integration configurationActivate an integration, choose its authentication mode, assign Worlds, or update tool defaults.GET Get a provider OAuth appRead the provider app used for end-user OAuth connections.PATCH Update a provider OAuth appSave your provider OAuth client, optionally together with activation, World assignment, and tool defaults.PUT Update runtime capability defaultsSet the workspace defaults for Python and JavaScript.PUT Set a workspace tool defaultSet a tool’s default policy for your workspace.GET List a World’s integrationsRead the integration assignments and effective tool policies for a World.GET Get a World’s integrationRead an integration’s assignment and policies for a World.PUT Set a World’s integration gateAssign or disable an integration in a World.DELETE Reset a World’s integration gateRemove the World gate override and restore its inherited state.PUT Set a World runtime overrideExplicitly enable or disable a runtime capability for one World.DELETE Reset a World runtime overrideRestore a runtime capability to the workspace default.GET Get the app profileRead the name and branding used on provider consent screens.PUT Set the app profileReplace the branding used for new OAuth connections.DELETE Remove the app profileRemove custom branding and restore the shared Smallworld client branding.GET Get terminal settingsRead the workspace’s command and approval time limits.PATCH Update terminal settingsChange the workspace’s command or approval time limit.