How aetherai3/unlimited-context-llm works
Unlimited Context is a local-first context-memory engine: users run a task through the CLI or Session, which recalls relevant slices, generates with a selected model, and stores new memory in a disk-backed pool. Its documented virtual-memory capabilities include slice loading, connected-thread recall, and retention. The repository also contains a separate interactive coding-agent workflow. Relationships for unsampled modules are limited to the README and SOURCE INDEX references; those references establish dependencies, not necessarily runtime call direction.
Main entry points: session.py Session · brains.py Brain selection · engine.py Context plane engine · agent.py Coding agent
Components 24
Context entry points
- Context CLI
aether_context/cli.py
Context engine
- Session
aether_context/session.py - Model adapters
aether_context/local_llm.py - Slice encoder
aether_context/encoder.py - Slice loader
aether_context/slice_loader.py
Memory and policy
- Context pool
aether_context/context_pool.py - Retention policy
aether_context/retention.py - MPO context chain
aether_context/mpo.py - Memory witness
aether_context/witness.py - Hosted context service
aether_context/service/__init__.py - Context plane engine
aether_context/engine.py - Wire contracts
aether_context/contracts/__init__.py - Crypto and receipts
aether_context/crypto.py
Coding agent
- Agent CLI
aether_agent/cli.py - Interactive REPL
aether_agent/repl.py
Agent runtime
- Brain selection
aether_agent/brains.py - Coding agent
aether_agent/agent.py - Ollama chat adapter
aether_agent/adapter.py - Workspace tools
aether_agent/tools.py - Agent transport
aether_agent/transport.py - Web tools
aether_agent/web.py - Agent kernel
aether_agent/kernel.py
Other components
- User
- Model service
Connections 27
- User → Context CLI: runs task
- Context CLI → Session: starts session
aether_context/cli.py - Session → Model adapters: uses model
aether_context/session.py - Model adapters → Model service: generates with
aether_context/local_llm.py - Session → Slice encoder: encodes memory
aether_context/session.py - Session → Slice loader: loads slices
aether_context/session.py - Session → Context pool: reads and writes
aether_context/session.py - Session → Retention policy: applies retention
aether_context/session.py - Session → MPO context chain: uses context chain
aether_context/session.py - Session → Memory witness: records memory
aether_context/session.py - User → Agent CLI: starts agent
aether_agent/cli.py - Agent CLI → Interactive REPL: opens REPL
aether_agent/cli.py - Interactive REPL → Brain selection: selects brain
aether_agent/repl.py - Brain selection → Ollama chat adapter: uses adapter
aether_agent/brains.py - Brain selection → Coding agent: runs agent
aether_agent/brains.py - Brain selection → Workspace tools: uses tools
aether_agent/brains.py - Brain selection → Agent transport: uses transport
aether_agent/brains.py - Coding agent → Ollama chat adapter: requests completion
aether_agent/agent.py - Coding agent → Workspace tools: executes tools
aether_agent/agent.py - Coding agent → Agent kernel: uses kernel
aether_agent/agent.py - Workspace tools → Web tools: uses web tools
aether_agent/tools.py - Hosted context service → Context plane engine: delegates operations
aether_context/service/__init__.py - Context plane engine → Wire contracts: validates contracts
aether_context/engine.py - Context plane engine → Crypto and receipts: verifies and encrypts
aether_context/engine.py - Context plane engine → Retention policy: uses retention
aether_context/engine.py - Retention policy → Wire contracts: uses contracts
aether_context/retention.py - Crypto and receipts → Wire contracts: uses signed schemas
aether_context/crypto.py