AI-Powered Memory System
Live

Lumen Brain
Memory API

Transform your applications with intelligent memory. Store, retrieve, and reason over knowledge with our cutting-edge AI memory system.

Quick Installation

Get started with Lumen Brain in under 30 seconds

JavaScript/TypeScript
Install via NPM
$ npm install @lumenlabs/lumen-brain
View on NPM
Python
Install via PyPI
$ pip install lumen-brain
View on PyPI

Start Coding Instantly

Simple, powerful APIs that make memory management effortless

JavaScript/TypeScript
ES6+
import { LumenBrainDriver } from "lumen-brain";

const knowledgeResult = await brain.injectKnowledge(
  "memory-uuid",
  "Important information to remember",
  "event" // type of the information
);
Python
3.8+
from lumen_brain import LumenBrainDriver

driver = LumenBrainDriver('your-api-key')
result = driver.query('How to call the memory api?')

Developer Resources

Everything you need to build with Lumen Brain

Open Source

Explore our repositories, contribute to the project, and see real-world examples.

View Repositories

Documentation

Comprehensive guides, API reference, and step-by-step tutorials.

Community

Join our community of developers and get support from experts.

Ready to Build Intelligent Apps?

Join community of developers and engineers building the future with AI-powered memory.

Key Benefits

Automatic Context

Feed your LLMs richer background info at runtime.

Zero Fine-Tuning

No costly retraining—just plug in and prompt.

Unlimited Growth

Keeps learning and expanding its memory over time.

Benchmarks & Performance

<100ms
Average Latency
per 5 kB context query
10M
Token Context
20× larger than GPT-4 default
1,000
Requests/Sec
complex taks with background jobs
30%
Cost Reduction
vs. raw LLM calls

How It Works

Connect your app

Simple SDK integration with your existing codebase

Query BrainAPI

Send context requests alongside your prompts

Get smarter responses

Receive context-aware, enhanced AI outputs

Live Memory Network

BrainAPI memory network growth visualization showing interconnected nodes and relationships

BrainAPI's memory graph grows with every request, creating rich contextual connections.