Prerequisites
- A Nebula account at trynebula.ai
- An existing Nebula collection with some stored memories (see Quick Start to create one)
- Python: Python 3.10+ with
pip install nebula-client - JavaScript/TypeScript: Node.js 18+ with
npm install @nebula-ai/sdk
Install
Walkthrough
Export a snapshot from an existing collection
Download the full graph state of a collection. After this, your local copy is canonical.
After export, the local snapshot is the canonical copy. Nebula does not retain a server-side copy.
Ingest new events
Send your snapshot and new events to Nebula. It processes them and returns a patch describing what changed.Apply the returned patch to your local snapshot to keep it up to date.
Next Steps
- Device Memory API — REST endpoint reference
- Device Memory Architecture — Conceptual overview