Skip to main content
This workshop is a docs transcript of the demos/user/ onboarding track. Each step maps to a runnable script in the HeavenBase repository.
You will open a workspace from a manifest, query data three ways, configure a declarative MCP profile, and use memory / memstate profiles as a persistent note layer. No API keys are required.

1. Prerequisites

Install HeavenBase and sync the environment from a source checkout:
All demo artifacts write under demos/.temp/ only.

2. Open a Workspace from a Manifest

Script: demos/user/01_workspace_from_manifest.py Write workspace.yaml, open it with WorkspaceManifest, and CRUD a first entity:
Run:

3. Query Three Ways

Script: demos/user/02_query_three_ways.py Ask the same product question with the Python DSL, Mongo-style where({...}), and query_json, then inspect routing with explain():

4. Profiles and MCP

Script: demos/user/03_profiles_and_mcp.py Enable agent and memory, register a config ProfileSpec, print MCP serve JSON, and simulate agent tool calls in-process:

5. Memory and Memstate Layers

Script: demos/user/04_memory_layer.py Use profile="memory" for flat notes and profile="memstate" for versioned project keypaths:
Both profiles auto-enable the optional memory extension on first use.

Summary

  • You opened a workspace from a manifest, queried data three ways, and inspected routes with explain().
  • Declarative ProfileSpec objects scope entities, skills, and serializers for MCP agents.
  • memory and memstate profiles store agent notes as normal HeavenBase rows.

Further Exploration

Related resources: