Repository navigation
Feature Cognitive Routing
The Problem: Running a background memory refinement pipeline (summarizing 100,000 tokens of raw terminal logs every hour) using a flagship model like Gemini 1.5 Pro or GPT-4o will rapidly drain your API credits.
The Solution: Cognitive Routing. A.I.M. splits the "Brain" into discrete, interchangeable LLM endpoints, allowing you to use hyper-expensive models for logic, and 100% free local models for memory management.
A.I.M. is completely model-agnostic. The aim tui command opens the Sovereign Cockpit, allowing you to route different tiers of the architecture to completely different API providers (Google, OpenAI, Anthropic, OpenRouter, or Local Ollama).
- Assignment: The Default Agent.
- Model: Gemini 3.1 Pro or Claude 3.5 Sonnet.
- Use Case: Writing complex Rust backends, debugging React states, and making deep architectural decisions. You pay the premium API price because you need maximum logic.
- Assignment: The Tier 1 Harvester / The Indexer.
- Model: Local Ollama (Llama-3 8B) or Gemini Flash.
- Use Case: Reading 10,000 lines of JSON to extract the "Signal Skeleton."
-
The Secret: Smaller models typically fail at complex RAG pipelines due to hallucination or sequential tool spam. A.I.M. solves this via the Explicit Guardrails toggle during
aim init.
When you assign a local, lightweight model to handle your background tasks, A.I.M. automatically injects a rigid, ALL-CAPS behavioral matrix into the prompt:
## ⚠️ EXPLICIT GUARDRAILS (Lightweight Mode Active)
1. **NO TITLE HALLUCINATION:** You MUST NOT guess file contents from titles.
2. **PARALLEL TOOLS:** You MUST request all files in a single tool turn.
3. **DESTRUCTIVE MEMORY:** You MUST delete stale facts.By imposing this strict "Token Tax" on the prompt, A.I.M. physically forces low-IQ local models to behave like disciplined data-entry clerks.
You experience the brilliant coding capabilities of a flagship model in your terminal, while your massive background memory cascade runs entirely offline on your GPU for $0.00.
- Atomic Architecture (The KISS Manifesto)
- Origin Story
- The Logic Of A.I.M.
- The A.I.M. Handbook (Operator's Manual)
- The Swarm Post Office (Comms Interface)
- The Master Schema
- Waterfall Memory Architecture
- Technical Specification
- Script Map (Core Codebase Map)
- Brain Map (Memory Architecture)
- A.I.M. Prompt Injection Map
- AI Prompt Ledger
- Onboarding Identity Map
- Handoff Architecture Guide
- Reincarnation Map
- TUI Map (Cockpit UI Logic)
- The Global Chalkboard (Concept: Document Data Bus)
- Remote Fleet Architecture (Concept: The Phantom Keyboard)
- The Eureka Protocol (Concept: Live Context Pruning)
- The Sovereign Swarm (Concept: BitTorrent DataJack)
- The Decoupled Brain (Concept: Obsidian Transport Layer)
- Obsidian Bridge Architecture
- Layered Engram Architecture
- The Pragmatic Feature Manifesto
- The Cascading Memory Engine
- Hybrid RAG (Semantic + Lexical)
- Cognitive Routing
- The DataJack Protocol
- Runbook Engram Creation
- The GitOps Bridge
- Feature Quarantine Daemon
- The 30 Percent Rule
- TUI Handoff Report
- The Universal Skills Framework
- Vibe Coding Pipelines (Automated Agentic Assembly)
- Cartridge Farming Ecosystem
- Design Future Architectures
- The Collective Cortex (Vision: SETI@home for AI)
- Sovereign Swarm (P2P) (Architecture: P2P DataJack)
- Eureka Protocol & Synapses (Protocol: Synthetic Data Factory)