These guides explain key concepts and patterns for building trustworthy AI systems with AGISystem2. Each guide includes theory, examples, and best practices.
New to AGISystem2? Start here with installation, first session, and basic queries.
Convert natural language to DSL automatically.
Philosophical comparison with Prolog, theorem provers, Wolfram, expert systems, and more.
Combine LLM translation with verifiable, traceable reasoning.
Implement and validate custom HDC strategies under a shared contract.
Understanding how knowledge is represented and queried in high-dimensional vector spaces.
Building modular, composable knowledge bases with stacked theories.
Generating human-readable explanations with full provenance tracking.
Combining AGISystem2 with Large Language Models for enhanced capabilities.
Creating custom hyperdimensional computing implementations.
Performance on standard reasoning test suites.
In high-dimensional spaces (32,768+ dimensions), random vectors are almost orthogonal to each other. This "blessing of dimensionality" provides:
All queries reduce to the fundamental equation:
Answer = UNBIND(KB, Partial_Query)
where Partial_Query = everything known in the query
Answer = the unknown bindings
Note: in XOR-based strategies, UNBIND is implemented by BIND again.
| Score | Meaning | Recommended Action |
|---|---|---|
| > 0.80 | Strong match | Trust the result |
| 0.65 - 0.80 | Good match | Probably correct, verify if critical |
| 0.55 - 0.65 | Weak match | Multiple interpretations possible |
| < 0.55 | No match | Query failed, don't use result |
Theories are self-contained knowledge modules that can be stacked:
Every proof generates a trace that can be inspected (replay/export requires external logging):
ProofTrace {
goal: "isA Socrates Mortal",
method: "rule",
rule: "humans_are_mortal",
premises: [
{
goal: "isA Socrates Human",
method: "direct",
kbMatch: true,
confidence: 0.95
}
],
timestamp: "2024-01-15T10:30:00Z",
duration_ms: 12
}
| Capability | LLM | AGISystem2 |
|---|---|---|
| Natural Language | Excellent | Template-based |
| Determinism | None | 100% |
| Explainability | Limited | Full traces |
| Factual Accuracy | Hallucinations | Verified KB |
| Creativity | Excellent | Rule-based |
// 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