🧠 Beyond RAG · Beyond LLM Wiki

aing

Architecture for Intelligent Networked Growth

Dual-Brain Knowledge Metabolism Engine
Order Brain × Growth Brain
🧠 双脑代谢 · 🌿 意识神经 · 💬 会话入库 · 📦 一键部署
让知识库自己活着 —— 进入主动代谢时代

19
Entities
77
Links
0.99
Avg Vitality
0
Dependencies
55
Lines of Code

🧬 Dual-Brain Architecture

Two subsystems, one shared infrastructure — zero external services

🧠 Order Brain · 秩序脑

Stable storage & structured governance

  • MD File Tree + Git auto-versioning
  • Entity/Link Graph (SQLite)
  • Type Classification
  • AI Provider Abstraction
  • raw/ → wiki/ compilation

🌱 Growth Brain · 生长脑

Active metabolism & non-linear evolution

  • Sprouting Engine (new associations)
  • Pollination Engine (cross-domain)
  • Mustard Seed Compressor
  • KESPI 5D Health Check
  • Expiry Decay + Tissue Culture

⚡ Shared Infrastructure

SQLite (Graph + FTS5) · Node Single Process · Zero Dependencies

No PostgreSQL · No Redis · No Docker · No npm install

🔄 Metabolism Cycle

Knowledge doesn't just sit — it lives, grows, and renews

📝 raw/ → compile 🌱 sprout 🌸 pollinate 🌰 mustard seed 🏥 KESPI 🕰️ decay 🧫 regenerate
# Real output from aing metabolize
🌱 Sprouting: 3 new links grown
🌸 Pollination: 55 cross-domain bridges
🏥 KESPI: 16 healthy · 2 stale · 1 expired
📊 Avg KESPI: 0.737 → 0.988 after growth cycle

⚔️ aing vs Karpathy LLM Wiki

From compilation to metabolism — the paradigm shift

DimensionKarpathy LLM Wikiaing
ParadigmKnowledge CompilationKnowledge Metabolism
GrowthLinear: ingest→compile→queryNon-linear: self-sustaining evolution
LLM RoleSingle "programmer"Dual-brain: compile + metabolize
AutomationManual triggerTime-triggered, automated
Upper Limit~100-200 sources / 50K tokensTheoretically unbounded
GitManual init required✅ First-class native
Knowledge LivenessStatic after compile✅ Active expiry · pruning · regeneration

⚡ Quick Start

Zero dependencies. Just Node.js. One command to start.

# No npm install. No Docker. No config.

git clone https://github.com/doerking/aing.git
cd aing

# Drop your .md files into raw/

node aing.js compile --all
node aing.js metabolize
node aing.js status
node aing.js graph
node aing.js search "your topic"
node aing.js watch

🎮 All Commands

init Initialize aing in current directory
status Show knowledge base dashboard
compile Compile raw/ → wiki/ entities
sprout Run sprouting engine
pollinate Run cross-domain pollination
kespi Run KESPI 5D health check
decay Apply time-based vitality decay
compress Run mustard seed compression
metabolize Run full metabolism cycle
search Full-text search across entities
graph Show entity connection graph
watch Start background metabolism service
ai-config Configure AI provider (optional)
logs View metabolism logs