What is a Workspace?
A Workspace is where you build one analytics agent. It combines, in a single versioned surface:- The Data Model — which tables and columns the agent can see, what they mean, and who can query what (row-level security)
- The agent’s context — knowledge base files, skills, system prompts, per-user memory, and golden assets
- Testing — a Playground where you chat with the agent as one of your project users
- Deployment — an embed snippet and preview links for putting the agent in your product

Creating a Workspace
Workspaces live inside a project. Open your project and you’ll see Your Workspaces — the list replaces the separate Data Models and Agents tabs.
- Click New workspace
- Enter a name (and an optional description)
- Select the connection to base it on
- Click Create workspace
A connection is required and cannot be added later. The workspace’s schema is read from it, so a workspace without one has nothing to model. If your project has no connections yet, add one in Project settings first.
The Workspace Sidebar
Opening a workspace swaps the app sidebar to the workspace’s own sections, grouped by the part of the lifecycle they belong to:
The first six are the context you give the agent; Playground and Deploy are how you try it and ship it; Chat History is the record of what it did. Workspace settings sits at the foot of the sidebar rather than among the pages.

Draft, Publish and Production
The version bar lives on the workspace, above every page, and it is the one place that says where your work stands:- Draft — every page edits the same working copy, and edits autosave. There is no Save button; the version selector shows when the draft was last written.
- Publish — stages the draft as a new numbered version. Publishing captures the schema, the prompts, the skills and the assets together.
- Promote to production — a published version can be promoted, and production is what deployed users and embeds are served. This replaces the old “set this data model version / agent version as production” two-step: one workspace, one production switch.
- Discard / Reset — throw away draft changes and return the working copy to the published version.
Deploying a Workspace
The Deploy page produces everything you need to put the agent in your product:
- Set up your frontend — a one-time setup per product, with the backend and frontend guides.
- Embed the iframe — point it at
/share/workspace/{projectId}/{workspaceId}?jwt=<projectUserToken>, passing a short-lived project-user token minted by your backend. - Preview it as one of your users — generate a real, short-lived preview link (valid for one hour) and open the embed exactly as a project user would see it, before writing any integration code.
Legacy Agents
Projects that were built before workspaces keep their existing agents on a legacy page, where they remain fully readable and editable. New agents cannot be created there — new work should happen in a workspace, where the data model and the agent ship together.Next Steps
- Curate the workspace’s Data Model — select tables, add descriptions, and configure security
- Encode Your Context — prompts, golden assets, skills, knowledge base and memory
- Follow the Complete Setup Guide — from a blank project to production