Skip to content

Workspaces

Workspaces let you organize your NimbleBrain environment into isolated contexts. Each workspace has its own installed apps, connectors, and members. Use workspaces to separate projects, teams, or environments.

A workspace is an isolated environment within a NimbleBrain instance. It contains:

  • Apps and connectors — each workspace has its own set of installed MCP bundles and connectors
  • Members — users with assigned roles who can access the workspace

When you send a chat message, it runs in the context of your focused workspace, and the agent’s active tool set is scoped to the apps installed there. Conversations are partitioned by workspace — each one is stored under the workspace it ran in and authorized by its owner. See Conversations for how ownership and storage work.

Every workspace member has one of two roles:

RoleCapabilities
AdminCan manage members, apps, and connectors.
MemberCan chat and use tools. Cannot manage other members.
Scoped to workspaceIdentity-level (cross-workspace)
Installed apps and connectorsYour user account and login
Members and rolesYour profile settings (name, theme, timezone)
Per-workspace credentials
Conversations, files, and automations

The agent can create workspaces through the nb__manage_workspaces tool. Ask it in chat:

Create a workspace called "Engineering" for our dev team

The agent uses nb__manage_workspaces with action: "create" to set it up. The new workspace gets an opaque ws_<hex> ID; the name you give it is a freely editable label.

Add or remove members with the nb__manage_members tool:

Add sarah@example.com to the Engineering workspace as an admin

The tool supports these actions:

ActionDescription
addAdd a user to the workspace with a specified role
removeRemove a user from the workspace
updateChange a member’s role
listList all members and their roles

Apps and connectors are installed at the workspace level. When a bundle is installed in a workspace, only members of that workspace can use its tools.

Install @nimblebraininc/tasks in this workspace

The agent installs the bundle and registers its tools in the workspace’s tool registry. Other workspaces are unaffected.

In the web UI, switch workspaces from the workspace navigator at the top of the sidebar. Your session is identity-bound, so switching is instant — there is no per-workspace session to reset.

Each workspace has a stable URL of the form /w/<id>/.... The agent’s active tools follow your focused workspace; the full set of tools across every workspace you belong to is reachable on demand through nb__search.

Every user has a personal workspace — a private space where you can experiment with apps and conversations without affecting your team. It shows a lock icon in the workspace navigator and uses a stable ws_user_<userId> ID.

The /mcp endpoint authenticates you by identity, but each request scopes to one workspace via the X-Workspace-Id header — validated against your membership. tools/list returns that workspace’s tools plus your identity tools, and a tools/call to any other workspace is refused. A request with no X-Workspace-Id exposes identity tools only. See Connecting External Clients for setup.