These guides explain key concepts and patterns for building trustworthy AI systems with AGISystem2. Each guide includes theory, examples, and best practices.
Available Guides
Geometric Reasoning
Understanding how knowledge is represented and queried in high-dimensional vector spaces.
Why high dimensions work
The binding equation
Query mechanics
Confidence interpretation
Theory Layering
Building modular, composable knowledge bases with stacked theories.
Theory architecture
Import and export
Namespace management
Versioning strategies
Explainability
Generating human-readable explanations with full provenance tracking.
Proof trace structure
Natural language generation
Audit trail management
Replay and verification
LLM Integration
Combining AGISystem2 with Large Language Models for enhanced capabilities.
// Use LLM for natural language input
const userQuery = "Who sold the car to Bob?";
const dsl = await llm.translate(userQuery); // LLM generates DSL
// Use AGISystem2 for reasoning
const result = session.query(dsl); // Deterministic, verifiable
// Use LLM for fluent output
const explanation = session.elaborate(result, { useLLM: true });
// LLM improves style only, cannot change facts
Trust Boundaries
LLM is for STYLE only, never CONTENT
LLM may improve grammar and flow
LLM must NOT add, remove, or change facts
All entities from the source must appear in output
Validation rejects LLM output that fails these checks