Skip to content

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.

ExampleMemory TypeBackground JobsDescription
with-inngestRecall CoreInngestChat app with unstructured memory
with-wdkRecall CoreVercel WDKChat app with unstructured memory
with-inngest-structuredRecall StructuredInngestChat app with schema-based memory

All examples follow the same setup pattern:

Terminal window
# Clone the repo
git clone https://github.com/youcraftinc/recall.git
cd recall
# Install dependencies
pnpm install
# Navigate to example
cd examples/with-inngest # or with-wdk, with-inngest-structured
# Set up environment
cp .env.example .env
# Add your OPENAI_API_KEY to .env
# Run the example
pnpm dev

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.

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.

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

All examples are available in the examples directory on GitHub.