This workshop is a docs transcript of the
demos/user/ onboarding track. Each step maps to a runnable script in the HeavenBase repository.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: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:
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:
memory extension on first use.
Summary
- You opened a workspace from a manifest, queried data three ways, and inspected routes with
explain(). - Declarative
ProfileSpecobjects scope entities, skills, and serializers for MCP agents. memoryandmemstateprofiles store agent notes as normal HeavenBase rows.

