An open API service indexing awesome lists of open source software.

https://github.com/deepleaper/deepbrain

๐Ÿง  Personal AI brain โ€” 21 importers, hybrid search, knowledge graph, Web UI, MCP server, export. Import from Notion, Obsidian, Evernote, Roam, Flomo, Yuque, Feishu, and more.
https://github.com/deepleaper/deepbrain

agent ai brain chinese deepseek embedding evernote knowledge mcp memory notion obsidian ollama pglite pgvector search second-brain typescript vector

Last synced: about 1 month ago
JSON representation

๐Ÿง  Personal AI brain โ€” 21 importers, hybrid search, knowledge graph, Web UI, MCP server, export. Import from Notion, Obsidian, Evernote, Roam, Flomo, Yuque, Feishu, and more.

Awesome Lists containing this project

README

          

# ๐Ÿง  DeepBrain

**Agent ่ฎฐๅฟ†ๅผ•ๆ“Ž โ€” ่ฎฉ AI ่ถŠ็”จ่ถŠ่ชๆ˜Ž**

[![npm](https://img.shields.io/npm/v/deepbrain)](https://www.npmjs.com/package/deepbrain)
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.7-blue)](https://www.typescriptlang.org/)

[ๅฟซ้€Ÿๅผ€ๅง‹](#ๅฟซ้€Ÿๅผ€ๅง‹) ยท [ๆ ธๅฟƒๆฆ‚ๅฟต](#ๆ ธๅฟƒๆฆ‚ๅฟต) ยท [API ๆ–‡ๆกฃ](#api-ๆ–‡ๆกฃ) ยท [English](#english)

---

## ๐Ÿ’ก ไธ€ๅฅ่ฏไป‹็ป

> **ไธๆ˜ฏ RAG๏ผŒไธๆ˜ฏ็Ÿฅ่ฏ†ๅบ“ใ€‚DeepBrain ๆ˜ฏ Agent ็š„ๅคง่„‘ โ€” ไผšๅญฆไน ใ€ไผš่ฎฐๅฟ†ใ€ไผš่ฟ›ๅŒ–ใ€‚**

็Žฐๆœ‰ Agent ๆก†ๆžถ็š„็—›็‚น๏ผš**ๆฏๆฌกๅฏน่ฏ้ƒฝไปŽ้›ถๅผ€ๅง‹**ใ€‚Agent ไธ่ฎฐๅพ—ๆ˜จๅคฉๅญฆๅˆฐ็š„๏ผŒไธ่ฎฐๅพ—ไธŠๅ‘จ็Šฏ็š„้”™๏ผŒๆขไธชไบบๆŽฅๆ‰‹ไธ€ๅˆ‡ๅฝ’้›ถใ€‚

DeepBrain ็”จไธ‰ไธช API ่งฃๅ†ณ๏ผš

```
brain.learn() โ†’ ๆŠŠ็ป้ชŒๅ†™ๅ…ฅ่ฎฐๅฟ†
brain.recall() โ†’ ้œ€่ฆๆ—ถๆฃ€็ดข็›ธๅ…ณ่ฎฐๅฟ†
brain.evolve() โ†’ ๅฎšๆœŸๆ็‚ผ๏ผŒ็Ÿฅ่ฏ†่ถŠๆฅ่ถŠ็ฒพ่€Œไธๆ˜ฏ่ถŠๆฅ่ถŠๅคš
```

## ๐ŸŽฏ ๅ’Œ็ซžๅ“็š„ๅŒบๅˆซ

| | Mem0 | LangChain Memory | Letta | **DeepBrain** |
|---|---|---|---|---|
| ๅฎšไฝ | ่ฎฐๅฟ†ๅญ˜ๅ‚จ | ๅฏน่ฏๅކๅฒ | ๆœ‰็Šถๆ€ Agent | **Agent ่ฎฐๅฟ†ๅผ•ๆ“Ž** |
| ๆ ธๅฟƒ่ƒฝๅŠ› | CRUD | ็ช—ๅฃ็ฎก็† | ็Šถๆ€ๆœบ | **learn/recall/evolve** |
| ็Ÿฅ่ฏ†ๆ็‚ผ | โŒ | โŒ | โŒ | โœ… **่‡ชๅŠจ่ฟ›ๅŒ–** |
| ่ฎฐๅฟ†ๅˆ†ๅฑ‚ | โŒ | โŒ | โœ… 3ๅฑ‚ | โœ… **Core/Working/Archival** |
| ๆก†ๆžถ็ป‘ๅฎš | ็‹ฌ็ซ‹ | LangChain | Letta | **ไปปๆ„ๆก†ๆžถ** |
| ๆœฌๅœฐ่ฟ่กŒ | ้œ€่ฆๆœๅŠก | ๅ†…ๅญ˜ | ้œ€่ฆๆœๅŠก | โœ… **PGLite ้›ถไพ่ต–** |

**ไธ€ๅฅ่ฏ๏ผšๅˆซไบบ็ฎกๅญ˜๏ผŒDeepBrain ็ฎก"็‚ผ"ใ€‚**

## ๅฟซ้€Ÿๅผ€ๅง‹

```bash
npm install deepbrain
```

```typescript
import { Brain, AgentBrain } from 'deepbrain';

// 1. ๅˆๅง‹ๅŒ–ๅคง่„‘
const brain = new Brain({ embedding_provider: 'openai' });
await brain.connect();
const agent = new AgentBrain(brain, 'my-sales-agent');

// 2. ๅญฆไน  โ€” Agent ๆฏๆฌกไบคไบ’ๅŽ่‡ชๅŠจๅญ˜ๅ‚จ
await agent.learn({
action: 'ๅฎขๆˆท้—ฎไบ†้€€่ดงๆ”ฟ็ญ–',
result: '7ๅคฉๆ— ็†็”ฑ้€€่ดง๏ผŒ้œ€ไฟ็•™ๅŒ…่ฃ…',
context: { customer: 'VIP', channel: 'wechat' }
});

// 3. ๅ›žๅฟ† โ€” ้œ€่ฆๆ—ถ่‡ชๅŠจๆฃ€็ดข
const memories = await agent.recall('่ฟ™ไธชๅฎขๆˆทไน‹ๅ‰้—ฎ่ฟ‡ไป€ไนˆ๏ผŸ');
// โ†’ [{ text: 'ๅฎขๆˆท้—ฎไบ†้€€่ดงๆ”ฟ็ญ–...', score: 0.92 }]

// 4. ่ฟ›ๅŒ– โ€” ๅฎšๆœŸ่ฟ่กŒ๏ผŒๆ็‚ผ็Ÿฅ่ฏ†
const report = await agent.evolve();
// โ†’ ๆŠŠ 50 ๆก้›ถๆ•ฃ็ป้ชŒๆ็‚ผๆˆ 3 ๆก็Ÿฅ่ฏ†
```

## ๆ ธๅฟƒๆฆ‚ๅฟต

### ไธ‰ไธช API

| API | ๅšไป€ไนˆ | ไป€ไนˆๆ—ถๅ€™่ฐƒ |
|-----|-------|----------|
| `learn()` | ๅญ˜ๅ‚จ็ป้ชŒ/็Ÿฅ่ฏ† | ๆฏๆฌก Agent ๅฎŒๆˆไปปๅŠกๅŽ |
| `recall()` | ่ฏญไน‰ๆฃ€็ดข่ฎฐๅฟ† | ๆฏๆฌก Agent ้œ€่ฆไธŠไธ‹ๆ–‡ๆ—ถ |
| `evolve()` | ๆ็‚ผ+ๅ‡็บง่ฎฐๅฟ† | ๅฎšๆ—ถไปปๅŠก๏ผˆๅฆ‚ๆฏๅคฉๅ‡Œๆ™จ๏ผ‰ |

### ่ฎฐๅฟ†ๅˆ†ๅฑ‚

```
Core (โ‰ค20ๆก) โ€” ๅง‹็ปˆๅœจไธŠไธ‹ๆ–‡ไธญ๏ผŒๆœ€้‡่ฆ็š„็Ÿฅ่ฏ†
Working (โ‰ค50ๆก) โ€” ๅฝ“ๅ‰ๆดป่ทƒ๏ผŒ้ข‘็น่ฎฟ้—ฎ็š„่ฎฐๅฟ†
Archival (ๆ— ้™) โ€” ้•ฟๆœŸๅญ˜ๅ‚จ๏ผŒๆŒ‰้œ€ๆฃ€็ดข
```

่ฎฟ้—ฎ้ข‘็އ้ซ˜ โ†’ ่‡ชๅŠจๅ‡็บงใ€‚้•ฟๆœŸไธ็”จ โ†’ ่‡ชๅŠจ้™็บงใ€‚

### ็Ÿฅ่ฏ†่ฟ›ๅŒ– (evolve)

่ฟ™ๆ˜ฏ DeepBrain ๆœ€ๆ ธๅฟƒ็š„ๅทฎๅผ‚ๅŒ–๏ผš

```
Day 1: 50ๆก้›ถๆ•ฃ็š„ๅฎขๆˆทๅฏน่ฏ่ฎฐๅฝ•
Day 7: evolve() โ†’ ๆ็‚ผไธบ 5 ๆกๅฎขๆˆทๅๅฅฝ็Ÿฅ่ฏ†
Day 30: evolve() โ†’ ่ฟ›ไธ€ๆญฅ็ฒพ็‚ผไธบ 2 ๆกๆ ธๅฟƒๆดžๅฏŸ
```

**็Ÿฅ่ฏ†่ถŠๆฅ่ถŠ็ฒพ๏ผŒ่€Œไธๆ˜ฏ่ถŠๆฅ่ถŠๅคšใ€‚**

### Memory Adapters

DeepBrain ไธ็ป‘ๅฎšไปปไฝ•ๆก†ๆžถใ€‚้€š่ฟ‡้€‚้…ๅฑ‚ๅฏนๆŽฅ๏ผš

```typescript
import { adapters } from 'deepbrain';

// OpenClaw ้€‚้…
const openclaw = adapters.openclaw;

// ๅŽŸ็”Ÿ้€‚้…๏ผˆไปปไฝ•ๆก†ๆžถ๏ผ‰
const native = adapters.native;

// ๆ›ดๅคš้€‚้…ๅฑ‚ๅผ€ๅ‘ไธญ๏ผšLangChain, CrewAI, AutoGen...
```

## ๅ…จ้ƒจ็‰นๆ€ง

| ็ฑปๅˆซ | ็‰นๆ€ง |
|------|------|
| ๐Ÿง  **่ฎฐๅฟ†** | learn/recall/evolve ไธ‰ไปถๅฅ—ใ€Memory Tiers ่‡ชๅŠจๅ‡้™็บง |
| ๐Ÿ” **ๆœ็ดข** | ๅ‘้‡่ฏญไน‰ๆœ็ดข + ๅ…จๆ–‡ๆฃ€็ดขใ€ๆททๅˆๆŽ’ๅบ |
| ๐Ÿ”„ **็ปดๆŠค** | evolve ็Ÿฅ่ฏ†ๆ็‚ผใ€dream ่‡ชๅŠจ็ปดๆŠคๅ‘จๆœŸ |
| ๐Ÿ”Œ **้€‚้…** | OpenClaw / Native ้€‚้…ๅฑ‚ใ€ๅฏๆ‰ฉๅฑ•ๆŽฅๅฃ |
| ๐Ÿ“ฅ **ๅฏผๅ…ฅ** | 24+ importers๏ผˆMarkdown/Notion/Obsidian/Logseq/Readwise...๏ผ‰ |
| ๐Ÿค– **AI** | 7 providers๏ผˆOpenAI/Gemini/DeepSeek/้€šไน‰ๅƒ้—ฎ/ๆ™บ่ฐฑ/Moonshot/Ollama๏ผ‰ |
| ๐Ÿ› ๏ธ **้›†ๆˆ** | MCP Serverใ€REST APIใ€Web UI |
| ๐Ÿ’พ **ๅญ˜ๅ‚จ** | PGLite ๆœฌๅœฐ้›ถไพ่ต–ใ€ๅ‘้‡็ดขๅผ• |

## CLI ๅ‘ฝไปค

```bash
deepbrain learn "ๅฎขๆˆทๅๅฅฝ๏ผšๅ‘จไธ€ไธŠๅˆๅผ€ไผš" # ๅญฆไน 
deepbrain recall "ๅฎขๆˆทไป€ไนˆๆ—ถๅ€™ๅผ€ไผš๏ผŸ" # ๆฃ€็ดข
deepbrain evolve # ็Ÿฅ่ฏ†่ฟ›ๅŒ–
deepbrain query "้€€่ดงๆ”ฟ็ญ–" # ่ฏญไน‰ๆœ็ดข
deepbrain serve # Web UI + API
deepbrain import notion ./export # ๅฏผๅ…ฅ Notion
deepbrain dream # ็ปดๆŠคๅ‘จๆœŸ
deepbrain stats # ๆŸฅ็œ‹็ปŸ่ฎก
```

## ๆžถๆž„

```
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ ไฝ ็š„ Agent ๆก†ๆžถ โ”‚
โ”‚ (OpenClaw / LangChain / ่‡ช็ ” / ...) โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Memory Adapters โ”‚
โ”‚ (openclaw / langchain / native) โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ AgentBrain API โ”‚
โ”‚ learn() ยท recall() ยท evolve() โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Brain Engine โ”‚
โ”‚ ๅ‘้‡ๆœ็ดข ยท FTS ยท ็Ÿฅ่ฏ†ๅ›พ่ฐฑ ยท ๅˆ†ๅฑ‚ โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ PGLite + Embeddings โ”‚
โ”‚ ๆœฌๅœฐๅญ˜ๅ‚จ ยท ้›ถไพ่ต– ยท ้›ถๆˆๆœฌ โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```

## ๐Ÿ”— ็”Ÿๆ€

DeepBrain ๆ˜ฏ่ทƒ็›Ÿๅผ€ๆบๅ››ไปถๅฅ—ไน‹ไธ€๏ผš

| ้กน็›ฎ | ๅฎšไฝ | ๅ…ณ็ณป |
|------|------|------|
| **DeepBrain** | Agent ่ฎฐๅฟ†ๅผ•ๆ“Ž | โ† ไฝ ๅœจ่ฟ™้‡Œ |
| [opc-agent](https://github.com/Deepleaper/opc-agent) | Agent OS | Traces โ†’ learn() |
| [agentkits](https://github.com/Deepleaper/agentkits) | ๅธฆ่ฎฐๅฟ†็š„ OpenRouter | ่‡ชๅŠจ recall + learn |
| [agent-workstation](https://github.com/Deepleaper/agent-workstation) | ่™šๆ‹Ÿๅทฅไฝๆจกๆฟ | brain-seed.md โ†’ L1 |

```
opc-agent ๆ”ถ้›† Traces โ†’ DeepBrain ๅญฆไน  โ†’ agentkits ่ฐƒ็”จๆ—ถ่‡ชๅŠจ recall โ†’ Agent ่ถŠๆฅ่ถŠ่ชๆ˜Ž
```

## License

Apache-2.0 โ€” ๅ…่ดนๅ•†็”จ๏ผŒๆฌข่ฟŽ่ดก็Œฎใ€‚

---

## English

## ๐Ÿ’ก What Is DeepBrain?

> **Not RAG. Not a knowledge base. DeepBrain is the brain for your AI Agent โ€” it learns, remembers, and evolves.**

The pain point with existing Agent frameworks: **every conversation starts from scratch**. The agent doesn't remember what it learned yesterday, doesn't remember last week's mistakes, and when someone else takes over, everything resets to zero.

DeepBrain solves this with three APIs:

```
brain.learn() โ†’ Write experience into memory
brain.recall() โ†’ Retrieve relevant memories when needed
brain.evolve() โ†’ Periodically refine โ€” knowledge gets sharper, not bigger
```

## ๐ŸŽฏ Competitive Comparison

| | Mem0 | LangChain Memory | Letta | **DeepBrain** |
|---|---|---|---|---|
| Positioning | Memory storage | Conversation history | Stateful Agent | **Agent Memory Engine** |
| Core capability | CRUD | Window management | State machine | **learn/recall/evolve** |
| Knowledge refinement | โŒ | โŒ | โŒ | โœ… **Auto-evolve** |
| Memory tiers | โŒ | โŒ | โœ… 3 tiers | โœ… **Core/Working/Archival** |
| Framework lock-in | Standalone | LangChain | Letta | **Any framework** |
| Local-first | Requires service | In-memory | Requires service | โœ… **PGLite, zero dependencies** |

**In one line: others store memories; DeepBrain *refines* them.**

## Quick Start

```bash
npm install deepbrain
```

```typescript
import { Brain, AgentBrain } from 'deepbrain';

// 1. Initialize the brain
const brain = new Brain({ embedding_provider: 'openai' });
await brain.connect();
const agent = new AgentBrain(brain, 'my-sales-agent');

// 2. Learn โ€” automatically store after each interaction
await agent.learn({
action: 'Customer asked about return policy',
result: '7-day no-questions-asked return, original packaging required',
context: { customer: 'VIP', channel: 'wechat' }
});

// 3. Recall โ€” retrieve when needed
const memories = await agent.recall('What did this customer ask before?');
// โ†’ [{ text: 'Customer asked about return policy...', score: 0.92 }]

// 4. Evolve โ€” run periodically to refine knowledge
const report = await agent.evolve();
// โ†’ Distills 50 scattered experiences into 3 pieces of knowledge
```

## Core Concepts

### Three APIs

| API | What it does | When to call |
|-----|-------------|-------------|
| `learn()` | Store experience/knowledge | After each Agent task completion |
| `recall()` | Semantic memory retrieval | When the Agent needs context |
| `evolve()` | Refine + upgrade memories | Scheduled task (e.g., daily at midnight) |

### Memory Tiers

```
Core (โ‰ค20 items) โ€” Always in context, most important knowledge
Working (โ‰ค50 items) โ€” Currently active, frequently accessed memories
Archival (unlimited) โ€” Long-term storage, retrieved on demand
```

High access frequency โ†’ auto-promoted. Long unused โ†’ auto-demoted.

### Knowledge Evolution (evolve)

This is DeepBrain's core differentiator:

```
Day 1: 50 scattered customer conversation records
Day 7: evolve() โ†’ Refined into 5 customer preference insights
Day 30: evolve() โ†’ Further distilled into 2 core insights
```

**Knowledge gets sharper, not bigger.**

### Memory Adapters

DeepBrain is framework-agnostic. Connect via adapters:

```typescript
import { adapters } from 'deepbrain';

// OpenClaw adapter
const openclaw = adapters.openclaw;

// Native adapter (any framework)
const native = adapters.native;

// More adapters in development: LangChain, CrewAI, AutoGen...
```

## Full Feature Set

| Category | Features |
|----------|----------|
| ๐Ÿง  **Memory** | learn/recall/evolve trio, Memory Tiers with auto-promotion/demotion |
| ๐Ÿ” **Search** | Vector semantic search + full-text search, hybrid ranking |
| ๐Ÿ”„ **Maintenance** | evolve knowledge refinement, dream auto-maintenance cycle |
| ๐Ÿ”Œ **Adapters** | OpenClaw / Native adapter layer, extensible interface |
| ๐Ÿ“ฅ **Import** | 24+ importers (Markdown/Notion/Obsidian/Logseq/Readwise...) |
| ๐Ÿค– **AI** | 7 providers (OpenAI/Gemini/DeepSeek/Qwen/GLM/Moonshot/Ollama) |
| ๐Ÿ› ๏ธ **Integration** | MCP Server, REST API, Web UI |
| ๐Ÿ’พ **Storage** | PGLite local zero-dependency, vector indexing |

## CLI Commands

```bash
deepbrain learn "Customer prefers Monday morning meetings" # Learn
deepbrain recall "When does the customer have meetings?" # Recall
deepbrain evolve # Knowledge evolution
deepbrain query "return policy" # Semantic search
deepbrain serve # Web UI + API
deepbrain import notion ./export # Import from Notion
deepbrain dream # Maintenance cycle
deepbrain stats # View statistics
```

## Architecture

```
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Your Agent Framework โ”‚
โ”‚ (OpenClaw / LangChain / Custom / ...) โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Memory Adapters โ”‚
โ”‚ (openclaw / langchain / native) โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ AgentBrain API โ”‚
โ”‚ learn() ยท recall() ยท evolve() โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Brain Engine โ”‚
โ”‚ Vector Search ยท FTS ยท Knowledge Graph โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ PGLite + Embeddings โ”‚
โ”‚ Local Storage ยท Zero Deps ยท Zero Cost โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```

## ๐Ÿ”— Ecosystem

DeepBrain is part of Deepleaper's open-source suite of four:

| Project | Role | Relationship |
|---------|------|-------------|
| **DeepBrain** | Agent Memory Engine | โ† You are here |
| [opc-agent](https://github.com/Deepleaper/opc-agent) | Agent OS | Traces โ†’ learn() |
| [agentkits](https://github.com/Deepleaper/agentkits) | OpenRouter with Memory | Auto recall + learn |
| [agent-workstation](https://github.com/Deepleaper/agent-workstation) | Virtual Role Templates | brain-seed.md โ†’ L1 |

```
opc-agent collects Traces โ†’ DeepBrain learns โ†’ agentkits auto-recalls during calls โ†’ Agents get smarter over time
```

## License

Apache-2.0 โ€” Free for commercial use. Contributions welcome.