惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Schneier on Security
A
Arctic Wolf
S
Security Affairs
O
OpenAI News
SecWiki News
SecWiki News
TaoSecurity Blog
TaoSecurity Blog
H
Heimdal Security Blog
T
Threat Research - Cisco Blogs
Hacker News: Ask HN
Hacker News: Ask HN
N
News | PayPal Newsroom
Google Online Security Blog
Google Online Security Blog
C
Cisco Blogs
The Hacker News
The Hacker News
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
CXSECURITY Database RSS Feed - CXSecurity.com
P
Privacy International News Feed
V
Vulnerabilities – Threatpost
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
T
Tenable Blog
T
The Exploit Database - CXSecurity.com
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Spread Privacy
Spread Privacy
人人都是产品经理
人人都是产品经理
www.infosecurity-magazine.com
www.infosecurity-magazine.com
V2EX - 技术
V2EX - 技术
L
LINUX DO - 最新话题
The GitHub Blog
The GitHub Blog
博客园 - 三生石上(FineUI控件)
T
The Blog of Author Tim Ferriss
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
The Cloudflare Blog
N
News and Events Feed by Topic
量子位
Google DeepMind News
Google DeepMind News
Application and Cybersecurity Blog
Application and Cybersecurity Blog
L
LINUX DO - 热门话题
P
Palo Alto Networks Blog
Stack Overflow Blog
Stack Overflow Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Attack and Defense Labs
Attack and Defense Labs
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Hacker News - Newest:
Hacker News - Newest: "LLM"
Apple Machine Learning Research
Apple Machine Learning Research
The Register - Security
The Register - Security
Microsoft Security Blog
Microsoft Security Blog
Know Your Adversary
Know Your Adversary
Webroot Blog
Webroot Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Your AI Has No Long-Term Memory. You Need an External Brain
linz001 · 2026-06-23 · via DEV Community

linz001

Your AI Has No Long-Term Memory. You Need an External Brain

How Karpathy-style LLM Wikis, cloud sync, and agent-native APIs are changing the way researchers and developers store knowledge


Every knowledge worker has lived through the same cycle.

You spend an afternoon reading papers, scanning documentation, or chasing down a thread across a dozen browser tabs. You paste the highlights into a chat window. The model gives you a crisp summary. You feel productive.

A week later, you ask a follow-up question. The model has no idea what you read. It improvises. You spend twenty minutes reconstructing context you already paid for once.

This is not a failure of intelligence. It is a failure of memory architecture. Large language models are extraordinary reasoning engines, but they are poor custodians of your personal knowledge. Chat logs disappear. Notes apps become graveyards. Folder trees of markdown files rot without structure. One-shot retrieval pipelines are expensive, brittle, and disconnected from how you actually think.

What you need is not another note-taking app. You need an external brain: a structured, searchable, durable knowledge base that both you and your AI agents can read and write over time.

That is the problem brain2.wiki was built to solve.


The Karpathy insight: wikis, not chat logs

In 2024, Andrej Karpathy articulated a simple but powerful idea: instead of stuffing documents into a vector database and hoping retrieval works, treat knowledge as a living wiki — interlinked markdown pages that accumulate, cross-reference, and compound.

The model does not need to re-read everything from scratch. It orients itself in a structured graph: an index, a schema, entity pages, concept pages, comparison pages. Each page carries frontmatter, wikilinks, and provenance. Knowledge is compiled once and updated incrementally, the way Wikipedia grows rather than the way a conversation evaporates.

This pattern — sometimes called an LLM Wiki — changes the economics of AI-assisted research. You stop paying the same context tax on every session. Your agent reads what already exists, cites specific pages, and writes back new pages when it learns something durable.

brain2.wiki takes that pattern and puts it in the cloud, with an API and a Skill layer designed for agents first and humans second.


What brain2.wiki actually is

brain2.wiki is an external brain knowledge base service. At its core, it hosts Karpathy-style LLM Wiki vaults: markdown knowledge bases organized into entities, concepts, comparisons, and queries, linked together with [[wikilinks]] and governed by a schema.

Each vault is isolated behind a UUID. Your research vault is yours. Your cooking notes are separate from your health references. There is no shared namespace where your private knowledge could leak into someone else's.

The service is built around three ideas:

  1. Agents are the primary users. Search, read, ingest, and sync happen through API calls and editor Skills — not through a human browsing a website for answers.
  2. Cloud sync keeps vaults durable and portable. You maintain a local wiki in your project; you mirror it to the cloud when ready. Your agent can pull it back on another machine. Your knowledge survives session boundaries.
  3. Search must be real. brain2.wiki indexes vault content with trigram full-text search, so agents can find specific passages across thousands of pages — not approximate semantic neighbors, but actual text matches you can verify.

If you have used a local LLM Wiki in Cursor or Claude Code, brain2.wiki is the cloud backbone that makes that wiki persistent, shareable across devices, and queryable at scale.


Getting started: API keys and vault isolation

The onboarding path is deliberately minimal.

You sign up at brain2.wiki, create an API key, and receive a token your agents use for authentication. No OAuth dance. No session cookies your CLI cannot hold. An API key is the right abstraction when the consumer is code.

With that token, you create one or more UUID wiki vaults. Each vault has its own domain, schema, and page graph. UUIDs are not cosmetic — they are the stable identity your Skill and CLI reference on every sync and read operation. Isolation is enforced at the storage layer: your vault's markdown lives in its own namespace on disk and in the index.

This matters if you are a researcher with multiple projects, a developer maintaining separate knowledge bases for work and side projects, or a team that wants clean separation between domains without spinning up separate infrastructure.


The brain2-wiki Skill: where local editing meets cloud sync

The brain2-wiki Skill is the bridge between your AI editor and the cloud service. It works with Cursor, Claude Code, Trae, and other AI editors that support Skills.

The workflow mirrors how serious wiki maintenance should work:

Orient. Before any work, the agent reads your wiki's schema, index, and recent log entries. This prevents duplicate pages, broken links, and taxonomy drift — the silent killers of knowledge bases.

Ingest. New sources land in a raw/ layer. The agent reviews them, extracts durable facts, and writes structured wiki pages with outbound wikilinks. The index and append-only log are updated. Knowledge compounds.

Lint. A hard gate checks frontmatter, link integrity, page length, and review status. Nothing syncs to the cloud until the vault passes lint. Quality is enforced before persistence, not discovered after corruption.

Sync. When the vault is clean, the Skill performs a manifest batch sync: it computes what changed, packages the delta efficiently, and pushes to your UUID vault on brain2.wiki. Large updates go through in batches rather than page-by-page round trips.

The raw/ layer never uploads. Sources stay local; curated wiki pages go to the cloud. That boundary keeps storage lean and respects the distinction between "material I collected" and "knowledge I distilled."

You can also pull an export from the cloud to hydrate a local vault on a new machine, or edit a single page via API when a full sync is overkill.


Featured common brains: knowledge you can query today

Not everyone starts from zero. brain2.wiki ships with featured common brains — curated public vaults seeded with structured, searchable content that any registered user can query through the API.

Two examples are live now:

Public Health Brain — a public health external brain with 5,406 searchable topics covering nutrition, wellness, symptoms, and related domains. Agents can search and read pages through stable slug-based URLs without building a health wiki from scratch.

Public Cooking Brain — a public cooking external brain with 3,955 searchable topics spanning techniques, ingredients, and recipes. Same API surface, same search-and-read pattern.

These are not marketing demos. They are fully indexed vaults with trigram search, readable by any agent holding an API key. Sign up, install the brain2-wiki Skill (or the companion external-brain Skill for query-focused workflows), and your agent can search featured brains immediately while you build your private vault in parallel.

The common-brain API follows a predictable pattern: search by keyword, read selected pages, synthesize locally. Orchestration stays on the agent side; the server provides storage, indexing, and stable endpoints.


Why agent-first changes the design

Most knowledge products assume a human opens a web app, types a query, and reads a rendered page. brain2.wiki inverts that assumption.

The primary consumer is an agent running inside your editor or automation pipeline. It receives a question, extracts keywords, searches your vault (or a common brain), reads up to a few relevant pages, and synthesizes an answer with citations to specific wikilinks. The human's job is curation and judgment; the agent's job is maintenance and retrieval.

This design choice has consequences:

  • API keys, not accounts with UI sessions, because agents authenticate programmatically.
  • UUID vaults, because stable identifiers survive refactors and sync cleanly across CLI and Skill.
  • Manifest batch sync, because agents update dozens of pages at once after an ingest session.
  • Trigram search, because agents need deterministic text retrieval they can cite, not opaque embedding rankings.
  • Rate limits tuned for agent traffic patterns — higher throughput on search and read endpoints, separate quotas on heavier server-side query operations.

The result is infrastructure, not an app. You do not "use brain2.wiki" the way you use a search engine. You wire it into your agent's toolchain and forget it is there — until you ask a question and your agent answers from pages you wrote three months ago.


A practical picture

Imagine you are researching financial regulation for a project. Over two weeks, your agent ingests PDFs and web sources into a local wiki. Each source becomes entity pages and concept pages, cross-linked in an index. You run lint. You sync to your UUID vault on brain2.wiki.

Six months later, on a different laptop, you ask: "What did we conclude about disclosure requirements for cross-border listings?" Your agent orients in the vault, searches for "disclosure cross-border," reads three pages, and answers with citations. No tab archaeology. No hallucinated recall.

Meanwhile, when you need a quick health or cooking reference, you query the featured common brains through the same API — 9,000+ topics already indexed, no setup required.

That is the compound interest of a wiki over a chat log.


Who this is for

brain2.wiki is built for people who already live inside AI-native editors and want their knowledge to survive beyond a single session:

  • Researchers who accumulate sources faster than they can re-explain them to a model.
  • Developers using Cursor, Claude Code, or Trae who want project wikis that sync to the cloud and stay lint-clean.
  • Anyone building a second brain for agents — where the reader and writer of record is code, not a human scrolling a dashboard.

If you only need a one-off answer, a chat window is fine. If you need knowledge that accumulates, links, and retrieves reliably, you need a wiki and a place to host it.


Start building your external brain

The path from zero to a searchable, agent-readable knowledge base is short:

  1. Sign up at brain2.wiki and create an API key.
  2. Install the brain2-wiki Skill in your AI editor.
  3. Explore featured common brains — health (5,406 topics) and cooking (3,955 topics) — to see search and read in action.
  4. Create your own UUID vault, initialize a local wiki, and run your first ingest-and-sync cycle.

Research and conversations become pages. Pages become a graph. The graph becomes memory your agents can actually use.

That is what an external brain is supposed to do.


brain2.wiki — Karpathy-style LLM Wiki in the cloud. Readable and writable by agents. Sync with the brain2-wiki Skill.