Examples
We provide several example applications to help you get started with Recall. Each example is a complete, runnable Next.js application that demonstrates different aspects of the memory system.
Available Examples
Section titled “Available Examples”| Example | Memory Type | Background Jobs | Description |
|---|---|---|---|
| with-inngest | Recall Core | Inngest | Chat app with unstructured memory |
| with-wdk | Recall Core | Vercel WDK | Chat app with unstructured memory |
| with-inngest-structured | Recall Structured | Inngest | Chat app with schema-based memory |
Quick Start
Section titled “Quick Start”All examples follow the same setup pattern:
# Clone the repogit clone https://github.com/youcraftinc/recall.gitcd recall
# Install dependenciespnpm install
# Navigate to examplecd examples/with-inngest # or with-wdk, with-inngest-structured
# Set up environmentcp .env.example .env# Add your OPENAI_API_KEY to .env
# Run the examplepnpm devChoosing an Example
Section titled “Choosing an Example”Recall Core Examples
Section titled “Recall Core Examples”If you want to store unstructured facts like user preferences, interests, and general information:
- with-inngest — Best for production deployments. Inngest provides reliable background job processing with retries and monitoring.
- with-wdk — Best for Vercel deployments. WDK integrates natively with Vercel’s infrastructure.
Recall Structured Example
Section titled “Recall Structured Example”If you want to store structured data with schemas like payments, workouts, or tasks:
- with-inngest-structured — Demonstrates schema-based memory with full CRUD operations and multi-hop agent capabilities.
What Each Example Includes
Section titled “What Each Example Includes”All examples include:
- Chat interface with streaming responses
- Real-time memory panel showing stored memories
- SQLite database for local persistence
- OpenAI integration for LLM and embeddings
Source Code
Section titled “Source Code”All examples are available in the examples directory on GitHub.