OpenContext Tutorials

August 21, 2026 · View on GitHub

Welcome to the OpenContext tutorial series! These guides will help you get started with OpenContext and build production-ready applications.

Tutorial Path

┌─────────────────────────────────────────────────────────────────────┐
│                        Your Learning Journey                          │
├─────────────────────────────────────────────────────────────────────┤
│                                                                       │
│  1. 📖 Getting Started                                             │
│     Install OpenContext and run your first memory API call           │
│     → 00-getting-started.md                                          │
│                                                                       │
│  2. 👤 User Guide                                                   │
│     Four verbs, temporal memory, and building memory-aware agents    │
│     → 01-user-guide.md                                               │
│                                                                       │
│  3. 🔧 Developer Guide                                              │
│     Integrate OpenContext into your application                      │
│     → 02-developer-guide.md                                          │
│                                                                       │
│  4. 🚀 Advanced Usage                                               │
│     Multi-source search, temporal queries, platforms, DeepSeek Harness plugin       │
│     → 03-advanced-usage.md                                           │
│                                                                       │
│  5. 📚 Best Practices                                                │
│     Production-ready patterns and common pitfalls                     │
│     → 04-best-practices.md                                           │
│                                                                       │
│  6. 🏗️  Real-World Use Cases                                        │
│     End-to-end scenarios: Personal assistant, Support agent, Research tracker       │
│     → use-cases/                                                     │
│                                                                       │
└─────────────────────────────────────────────────────────────────────┘

Quick Reference by Use Case

Core & Getting Started

You want to...Read this
Get started in 5 minutesGetting Started
Understand how memory worksUser Guide
Understand the temporal graph modelUser Guide
Write or read memory from the CLI (add / search)Getting Started

Building Agents

You want to...Read this
Build a memory-aware agentUser Guide
Build a Q&A agent with RAGUser Guide
Build custom agents with toolsUser Guide

Search & Retrieval

You want to...Read this
Search across memory + insights + knowledgeAdvanced Usage
Use LLM reasoning to improve memory retrievalAdvanced Usage
Query as of a specific time (time-travel)Advanced Usage
Work with the temporal graphAdvanced Usage
Add web search to your agentAdvanced Usage

Integrations & Platforms

You want to...Read this
Add Gmail/Slack integrationsAdvanced Usage
Send messages through platformsAdvanced Usage
See all supported platformsAdvanced Usage
Use with your coding agent via MCPGetting Started

Deployment & Operations

You want to...Read this
Use with coding agent integrationGetting Started
Run as HTTP serviceDeveloper Guide
Deploy to productionBest Practices
Run health checksAdvanced Usage
Set up monitoring & metricsAdvanced Usage
Audit memory operationsAdvanced Usage

Advanced Features

You want to...Read this
Schedule recurring tasks with LoopAdvanced Usage
Add voice capabilities (TTS/STT)Advanced Usage
Encrypt tokens and secretsAdvanced Usage
Optimize performanceAdvanced Usage

Framework Integrations

You want to...Read this
Use with DeepSeek HarnessAdvanced Usage

Real-World Use Cases

You want to...Read this
Build a personal memory assistantPersonal Memory Assistant
Build a customer support agentCustomer Support Agent
Build a research knowledge trackerResearch Knowledge Tracker
See all use casesUse Cases Index

Tutorial Contents

TutorialFocusKey Topics
00-getting-started.mdQuick StartInstallation, first API call, HTTP server, MCP, CLI add / search
01-user-guide.mdCore ConceptsFour verbs, temporal graph, IAgent, memory-aware agents
02-developer-guide.mdIntegrationEmbedding, HTTP server, MCP, backend selection
03-advanced-usage.mdAdvanced FeaturesMulti-source search, reasoning-backed retrieval, temporal queries, platforms, DeepSeek Harness plugin
04-best-practices.mdProductionIdempotency, performance, security, deployment
Use CasesReal-World ApplicationsEnd-to-end scenarios
05-personal-memory-assistant.mdIndividualPreferences, notes, time-travel, metadata
06-customer-support-agent.mdMulti-userCustomer profiles, history tracking, repeat detection
07-research-tracker.mdKnowledge ManagementFindings, citations, evolution tracking, synthesis

Prerequisites

Before starting any tutorial:

  1. Node.js >= 22
  2. pnpm >= 9.0.0 (recommended) or npm/yarn

See Getting Started for platform-specific prerequisites (Windows, macOS, Linux).

Time Commitment

TutorialTime to Complete
Getting Started10-15 minutes
User Guide30-45 minutes
Developer Guide30-45 minutes
Advanced Usage45-60 minutes
Best Practices20-30 minutes
Total~2-3 hours

Getting Help

If you get stuck:

Contributing

Found an error or want to improve the tutorials? Contributions welcome!

  1. Fork the repository
  2. Edit the tutorial file
  3. Submit a pull request

See CONTRIBUTING.md for guidelines.


Next: Start with Getting Started or jump to User Guide to learn about memory and agents.