PRIMUS (Platform for Reasoning, Intelligence, Memory, and Unified Systems) is a high-performance, compliant implementation of the Hyperon 2025 AGI Architecture. It serves as a research platform bridging symbolic reasoning (AtomSpace) with neural representations, designed for cognitive stability, self-modification, and goal-directed behavior.
- Storage (
PRIMUS_Core): High-performance, specific-mmap backed AtomSpace with Merkle-DAG integrity. - Logic (
PRIMUS_AtomSpace): Graph traversal, pattern matching, and query engine. - Reasoning (
PRIMUS_Reasoning): Integrated PLN (Probabilistic Logic Network) inference and MOSES (Meta-Optimizing Semantic Evolutionary Search).
- WILLIAM (Pattern Mining): Autonomous discovery of frequent subgraphs and patterns.
- SubRep (Planning): Hierarchical goal decomposition and strategy formulation.
- TransWeave (Transfer Learning): Cross-domain knowledge mapping and jumpstart learning.
- Attention Broker (ECAN): Economic Attention Network with Wait-Free Vectorized Physics (<100ms latency @ 100K atoms).
- Cyborg Agent: Full Neuro-Symbolic Agents connecting Gemini 3.0, MCP Tools, and MeTTa Logic.
- Julia 1.10+ (Recommend 1.12 for best performance)
- Linux/WSL (Required for optimal threading)
-
Clone the repository:
git clone https://github.com/shivaji1012/JuliaAGI.git cd JuliaAGI -
Instantiate Environment:
julia --project=. -e 'using Pkg; Pkg.instantiate()' -
Enable Multi-Threading (Critical): PRIMUS uses a vectorized, parallel attention physics engine. For optimal performance, you must enable multi-threading.
export JULIA_NUM_THREADS=auto
Visualizes internal system state, attention dynamics, and agent activity.
julia --project=. packages/PRIMUS_Dashboard/notebooks/PRIMUS_Glass_Box_Demo.jlDemonstrates an agent that thinks in MeTTa, queries Gemini 3.0, and executes Tools via MCP.
julia --project=. test/run_tool_verify.jlDemonstrates decentralized coordination using MeTTa policies.
julia --project=. demo/demo_multi_robot_coordination.jlPlay against the AI in your browser with real-time visualization of its reasoning process.
julia --project=. demo/web_server.jl
# Open http://localhost:8080Watch two cognitive agents play Tic-Tac-Toe, Chess (stub), and Gomoku against each other.
julia --project=. demo/demo_agent_vs_agent.jlClassic command-line interface.
julia --project=. demo/demo_tictactoe.jlPRIMUS genericizes game playing through four stages:
- WorldModeling:
AbstractGameinterface supports any game state. - Attention (ECAN): STI diffusion focuses processing on critical threats.
- Reasoning (PLN): Probabilistic logic evaluates moves (Strength × Confidence).
- Learning (WILLIAM): Pattern mining discovers strategies from experience.
PRIMUS includes a unified test suite covering Core, Agents, Reasoning, and Neural subsystems.
# Run all single-node tests
julia --project=. test/run_all_tests.jlTo verify scaling and attention physics performance (target: >45K atoms/sec):
julia --project=. test/benchmarks/stress_test.jlDetailed architectural documentation is available in docs/ and the artifacts directory:
This system implements Goal Stability and Safe Self-Modification protocols as per the Hyperon 2025 specs. All self-modifying code passes through a registered GoalStability check before execution.
All Rights Reserved - This software is proprietary and may not be copied, modified, or distributed without explicit permission. See LICENSE for details.