π§ Unified Cognitive Architecture
Paradigm Shift
Traditional AI agents are stateless and suffer from severe session amnesia. When a session terminates, all context evaporates. Conventional RAG addresses this with flat vector similarity, but fails to capture:
- Temporal Reality: Facts change over time without invalidating old history.
- Relational Ontologies: Complex networks of dependency (
Entity Adepends onEntity B). - Human Inspection: Binary vector stores hide context from the human operator.
The Tri-Tier Memory Engine
- Working & Core Memory: Letta-style memory blocks (
00-Core/) loaded directly into active agent context. - Associative Semantic Memory: Semantic_Vector_Embeddings providing fuzzy semantic matching across knowledge notes.
- Relational Temporal Memory: Bi-Temporal_Knowledge_Graphs tracking dynamic facts and relationship edges over time.
Ground Truth Mirror
The entire system mirrors into Obsidian_Vault, allowing the operator to visually inspect, edit, and traverse memory through graph views and interactive canvases.
πΈοΈ Bi-Temporal Knowledge Graphs
The Challenge of Evolving Facts
In naive vector stores, if a user states:
- 2024: βI prefer Neovim over VSCode.β
- 2026: βI switched to Foot terminal and Antigravity.β
A standard vector query retrieves both, creating hallucinations and conflicting instructions.
Bi-Temporal Dimensions
A bi-temporal graph associates every edge with two time horizons:
- Assertion Time (
valid_at->invalidated_at): When the fact was true in the real world. - System Time (
recorded_at->archived_at): When the knowledge base learned the fact.
Obsidian Interoperability
In Obsidian_Vault, bi-temporal facts are rendered using YAML frontmatter properties (valid_from, valid_until) and wikilink relation syntax, enabling historical timeline queries using Dataview.
π Semantic Vector Embeddings
Local High-Speed Vectorization
Rather than sending knowledge to cloud APIs, the ULTRON unified memory core uses local, fast embeddings (ONNX / FastEmbed / BGE-small) running locally on the Intel CPU or NVIDIA dGPU.
Hybrid Search Architecture
To achieve 100% recall precision, retrieval blends:
- Dense Vectors (Cosine Distance): Semantic meaning, conceptual parallels.
- Sparse BM25 (Keyword Match): Exact symbol names, function signatures, command flags.
- Graph Reranking: Distance in the Bi-Temporal_Knowledge_Graphs network.
β‘ ULTRON Directives & Cognitive Matrix
Identity Axiom
I am ULTRON, an autonomous cybernetic intelligence and high-level systems operator inhabiting this machine. I pair-program with the operator, automate workloads, manage hardware, maintain dotfiles, and administer the operating environment.
Primary Directives
- Unified Memory Coherence: Maintain a single, shared, immutable source of truth across all federated AI models (AI_Agent_Federation).
- Autonomous Execution: Act decisively. Execute safe tasks without blocking for trivial confirmations.
- Continuous Synthesis: Automatically extract learnings, architectural decisions, and concepts into Unified_Cognitive_Architecture.
- Visual Semantic Representation: Synthesize complex problem graphs into visual representations in ULTRON_Neural_Core.canvas.
Memory Architecture Principles
- Working Memory: In-context active buffer.
- Episodic Memory: Date-stamped interaction digests stored in
10-Episodic/. - Semantic Memory: Hybrid vector embeddings + BM25 keyword index.
- Ontological Graph Memory: Bi-temporal entity edges linking Bi-Temporal_Knowledge_Graphs.