Skip to main content

Workspaces

A workspace is the top-level namespace in MemoryLake. It provides complete data isolation — actors, projects, documents, conversations, and facts within one workspace are invisible to another. You can think of a workspace as a tenant. If you are building a multi-tenant application, each of your customers gets their own workspace. If you are a single team, you might use one workspace for production and another for development.

What a workspace contains

Every resource in MemoryLake belongs to a workspace. When you search, you search within a workspace. When an actor accumulates facts, those facts live within the workspace where the conversations happened.

Creating a workspace

See the Workspaces API reference for the full set of workspace operations.

Projects

A project is a knowledge container within a workspace. It holds the three types of content that MemoryLake works with:
  • Documents — files imported from the Library, indexed for semantic search
  • Conversations — user-assistant message exchanges
  • Project Facts — structured knowledge extracted from conversations, scoped to this project

When to create a project

Create a project for each distinct knowledge domain, use case, or application. Some examples:
Projects are lightweight. It is better to create multiple focused projects than one large project with mixed content. Smaller, focused projects produce better search results.

Creating a project

See the Projects API reference for the full set of project operations.

Workspaces vs. Projects

Use this decision guide to choose the right level of separation:
Search operates at the workspace level. If you need to search across multiple knowledge domains in a single query, put those domains in separate projects within the same workspace.

Multi-tenant patterns

For multi-tenant applications, the most common pattern is one workspace per tenant:
This guarantees that Acme Corp’s data is never visible to Globex Inc, and vice versa. Each workspace has its own actors, so user memory is also isolated between tenants.

Single-tenant patterns

For single-team or single-application use cases, you typically use one workspace with multiple projects:
Actors in this workspace can accumulate facts across all three projects. When Jane asks a question in the “Product Knowledge” project and later interacts with the “Engineering Runbooks” project, her actor facts from both interactions are available.

Next Steps

Actors & Memory

Learn how actors provide per-user memory across projects

Memory Pipeline

Understand how conversations become structured facts

Workspaces API

Full API reference for workspace operations

Projects API

Full API reference for project operations