Repository navigation
Configuration and Variables
Almost every behavior in A.I.M. is driven by a configurable variable exposed in the TUI (aim tui). A.I.M. is fundamentally an operating system for your AI, and it gives you complete control over how the intelligence is routed, governed, and constrained.
A.I.M. is Provider-Agnostic. While Ollama is the default for free, offline local processing, you are not locked into it. The aim tui interface allows you to swap models, providers, and endpoints for both the Conscious Agent and the Subconscious Daemon.
Important Note on the "Primary Brain": The interactive chat model you talk to daily is governed exclusively by your global Gemini CLI settings (
~/.gemini/settings.json). The "Primary Brain" configured in theaim tuiserves as an explicit fallback model for headless background scripts (likeaim audit,aim scrape, or crash recoveries) that execute autonomously under the hood.
- Providers: Local (Ollama/Llama.cpp), Google Gemini API, OpenAI, Anthropic, Custom OAuth.
-
Models: Swappable per role (e.g.,
gemini-3.1-pro-previewfor the Conscious Agent,gemma4:e4bfor the Subconscious Daemon/Tier 1). - Endpoints & Auth: Custom API URLs and Auth Types (OAuth, API Key, None).
-
Embeddings: Swappable embedding models and endpoints. While
nomic-embed-textrunning locally is the free default, you can completely elevate your RAG performance by swapping to a premium remote API like Gemini Embedding 2.
The Executive Guardrails actively monitor the agent's behavior to prevent context drift and rogue execution.
-
cognitive_mantra.enabled: Toggle the anti-drift system on or off. -
whisper_interval: How many tool calls before a silent reminder is injected into the agent's context. -
mantra_interval: How many tool calls before a hard halt and forced recitation of the GitOps rules.
A.I.M. manages the context window and lifecycle of the agent using configurable limits.
-
handoff_context_tail: Number of turns preserved in the dead-man's switch snapshot when generating a handoff. -
auto_rebirth: Whether the agent automatically spawns its successor upon context collapse (Reincarnation). -
archive_retention_days: How long to keep historical sessions and artifacts. -
cleanup_mode: Choose betweenARCHIVEorDELETEfor consumed files.
Control how your local node interacts with the global decentralized intelligence network.
-
swarm_enabled: Toggle BitTorrent DataJack tracking to share or download.parquetcartridges. -
seeding_ratioandmax_download_speed: Traffic shaping and bandwidth limits for the swarm.
You can configure the high-level identity and operational structure of the agent.
- Operator Profile: Set execution mode, cognitive level, and conciseness to tune how the agent interacts with you.
- Cognitive Architecture: Switch between Monolithic, Frontline, or Subconscious modes.
- Obsidian Vault Path: Configure the local path for the two-way Obsidian Bridge sync.
Launch the cockpit anytime by running aim tui to adjust these settings.
- Home
- Installation Guide
- Quickstart Tutorial
- User Guide
- Configuration and Variables
- Architecture Overview
- Roadmap
- Contributing and Philosophy
👉 A.I.M. Knowledge Base (Explore the full design history, benchmarks, and architectural maps in our public Obsidian vault).