AI Memory & Knowledge Bases
Persistent memory and knowledge bases for AI agents — Karpathy's LLM wiki, OpenBrain, second brain setups, self-evolving Claude Code memory, three-layer memory architectures, RAG patterns, vector databases, embeddings strategy.

What Is Agent Memory Infrastructure? How Mem0 Beats OpenAI's Built-In Memory by 26%
Mem0 uses a hybrid graph, vector, and key-value store to outperform OpenAI's memory on accuracy, latency, and token usage. Here's how it works.

What Is Andrej Karpathy's LLM Knowledge Base Architecture? The Compiler Analogy Explained
Karpathy's LLM knowledge base treats raw articles like source code and compiles them into a queryable wiki. Here's the full architecture breakdown.

What Is the LLM Knowledge Base Index File? How Agents Navigate Without Vector Search
Karpathy's LLM wiki uses an index.md file as a navigation map so agents can find information without semantic search or vector databases.

LLM Wiki vs RAG for Internal Codebase Memory: Which Approach Should You Use?
Karpathy's wiki approach uses markdown and an index file instead of vector databases. Here's when each method works best for agent memory systems.

What Is Andrej Karpathy's LLM Wiki? How to Build a Personal Knowledge Base With Claude Code
Karpathy's LLM wiki turns raw documents into a structured markdown knowledge base Claude can query. Here's how to set it up in 5 minutes with Obsidian.

How to Build an AI Second Brain That Evolves Over Time with Claude Code and Obsidian
Learn the full architecture for a self-improving AI second brain: memory layers, heartbeat scheduling, skills management, and multi-client support.

Claude Code Source Leak: The Three-Layer Memory Architecture and What It Means for Builders
The Claude Code source leak revealed a self-healing memory system using memory.md as a pointer index. Here's what it means for building your own AI agents.

How to Build an AI Second Brain with Claude Code and Obsidian
Learn how to build a personal AI second brain using Claude Code and Obsidian that learns from every session and automates your daily business tasks.

How Context Compounding Works in Claude Code (And How to Stop It)
Every Claude Code message re-reads your entire conversation history. Learn why token costs compound exponentially and how to manage it effectively.

Agentic RAG vs File Search: When to Use Each in Your AI Agent Workflow
File search beats traditional RAG for small corpora, but semantic search still wins for large knowledge bases. Here's how to choose the right approach.

What Is the Context Window in Claude Code? How to Manage It for Consistent Results
Claude's context window is its short-term memory with a hard limit. When it fills with stale data, quality drops. Here's how to keep it fresh and focused.

What Is Chroma Context-1? The Specialized RAG Model That Beats Frontier Models
Chroma Context-1 is a 20B parameter model trained specifically for retrieval tasks. It beats GPT-5.4 on search benchmarks at a fraction of the cost.

What Is LiteParse? LlamaIndex's Open-Source Document Parser for AI Agents
LiteParse is a free, GPU-free document parser from LlamaIndex that preserves spatial layout for tables and charts. Here's why it matters for AI workflows.

What Is the Context Window Limit in Claude Code? How to Manage It for Better Results
Claude Code's context window is its short-term memory. When it fills with stale content, quality drops. Here's how to keep it fresh and get consistent outputs.

What Is the Business Brain Pattern for Claude Code? How to Share Brand Context Across All Skills
The business brain pattern gives every Claude Code skill access to your tone, audience, and positioning without bloating the context window.

How to Build a Shared Business Brain for Claude Code Skills
Stop re-explaining your brand to every skill. Learn how to create a shared context layer so every Claude Code skill knows your voice, audience, and standards.

Claude 1M Token Context Window: What It Means for Long-Running Agent Tasks
Anthropic expanded Claude Opus 4.6 and Sonnet to 1 million tokens at no extra cost. Here's what that means for agents, RAG, and long workflows.

Does a 1M Token Context Window Replace RAG? What the Claude Benchmark Data Shows
Claude's 1M token window achieves 90% retrieval accuracy, but RAG is still necessary. Here's when to use each approach and why latency still matters.

Claude 1M Token Context Window: What It Means for AI Agents and Long-Running Tasks
Claude Opus 4.6 and Sonnet 4.6 now support 1M token context with 90% retrieval accuracy. Here's what that means for agents, RAG, and document workflows.

Shared Brand Context vs Context Folder: The Two Memory Layers Every AI System Needs
Understand the difference between static brand context and dynamic context folders in agentic AI systems, and why both are essential for reliable outputs.

Gemini Embedding 2 and the End of Stitched-Together Embeddings
Why Gemini Embedding 2 matters: a primer on embeddings and how a unified vector space replaces the brittle stitching of separate text, image, and audio models.

AI Memory for Professional Relationship Management: How to Never Miss a Follow-Up
Use an agent-readable database to track professional contacts, flag neglected relationships, and surface warm intro windows before they close.

How to Build an AI-Powered Job Search Dashboard with OpenBrain and Claude
Track companies, contacts, applications, and interviews in a shared database your AI agent can reason across to surface warm intros and flag expiring windows.

How to Build Visual Dashboards on Top of Your AI Memory System with Vercel
Add a human-readable interface to your OpenBrain database using Claude-generated web apps deployed free on Vercel. Both you and your agents read the same data.