Skip to content

Latest commit

Β 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

README.md

GeneralizedNotationNotation (GNN) Documentation

πŸ“‹ Document Metadata
Type: Navigation Hub | Audience: All Users | Complexity: Beginner
Status: Production-Ready
Cross-References: Setup Guide | Contributing | AGENTS.md (doc tree index) | Doc audit (uv run python doc/development/docs_audit.py --strict)

Welcome to the documentation for Generalized Notation Notation (GNN), a standardized text-based language for expressing Active Inference generative models.

⚠️ Important: For setup and installation instructions, please refer to the GNN Project Setup Guide.

πŸš€ Quick Start

🎯 Learning Path: Beginner β†’ Intermediate β†’ Advanced (Estimated Time: 2-8 hours total)

New to GNN? Follow the Beginner Path in our Learning Paths Guide:

  1. What is GNN? - Overview and motivation
  2. Quickstart Tutorial - Comprehensive getting started guide
  3. Your First GNN Model - Simple example walkthrough
  4. Basic Syntax Guide - Essential notation rules
  5. Tools Setup - Get GNN tools running

πŸ“š Complete Learning Paths: See Learning Paths Guide for structured beginner β†’ intermediate β†’ advanced progression

πŸ“š Documentation Structure

🧭 Navigation by User Type | πŸ”— Related: Comprehensive cross-reference system

For Beginners

πŸ“– Learning Path: Concepts β†’ Syntax β†’ Examples β†’ Practice (Full Beginner Path)

For Intermediate Users

πŸ› οΈ Learning Path: Syntax β†’ Structure β†’ Implementation β†’ Tools (Full Intermediate Path)

For Developers

βš™οΈ Learning Path: APIs β†’ Architecture β†’ Integration β†’ Development

For Researchers

πŸ”¬ Learning Path: Theory β†’ Specification β†’ Applications β†’ Research

πŸ”§ Framework Integrations

πŸ”— Cross-Platform Compatibility | πŸ“Š Coverage: Complete framework integration guides

Framework Documentation Description Template Compatibility Examples
PyMDP gnn_pymdp.md Python Active Inference framework βœ… All templates POMDP, Multi-agent
RxInfer gnn_rxinfer.md Julia Bayesian inference βœ… All templates Hierarchical, Multi-agent
DisCoPy gnn_discopy.md Category theory and quantum computing βœ… Advanced templates Category Theory Models
DSPy gnn_dspy.md AI prompt programming πŸ”„ LLM integration LLM Pipeline
AutoGenLib gnn_autogenlib.md Dynamic code generation πŸ”„ Code generation Tool Development
MCP gnn_mcp.md Model Context Protocol βœ… API integration MCP Guide, FastMCP
PoE-World poe-world_gnn.md Compositional world modeling πŸ”„ Research integration PoE-World Overview, Program Synthesis

πŸ”— Cross-References: API Documentation | Pipeline Integration | Performance Comparison

Additional Framework Categories

Audio and Sonification

  • SAPF - Structured Audio Processing Framework for sonification
  • Pedalboard - Audio effects framework for model representation

Formal Methods and Verification

  • Axiom - Formal verification and theorem proving
  • Petri Nets - Workflow modeling and process analysis
  • Nock - Formal specification language integration

Distributed Systems

  • Iroh - Peer-to-peer networking for decentralized agents
  • X402 - Distributed inference protocol

Specialized Tools

  • GUI-Oxdraw - Visual model construction interface
  • OneFileLLM - Single-file LLM wrapper for analysis
  • Vec2Text - Vector-to-text model interpretation

Research and Benchmarking

  • ARC-AGI - Abstract reasoning benchmark integration
  • D2 - Scriptable diagram generation
  • Glowstick - Interactive visualization framework
  • Klong - Array programming language integration

Temporal and Analytical

  • TimEP - Performance profiling and temporal analysis
  • POMDP - POMDP analytical framework
  • SPM - Statistical Parametric Mapping for neuroscience

Configuration and Performance

  • Pkl - Configuration-as-code language integration
  • Muscle-Mem - Behavior caching for performance optimization
  • SymPy - Symbolic mathematics and MCP integration
  • Kit - Code intelligence and developer tools
  • ActiveInference.jl - High-performance Julia framework
  • Quadray - Geometric coordinate system for spatial modeling

πŸ“– Example Gallery

πŸ“ˆ Progressive Complexity | 🎯 Learning Path: Basic β†’ Intermediate β†’ Advanced

Basic Examples

⏱️ Time to Complete: 30 minutes | Prerequisites: Syntax Guide

Intermediate Examples

⏱️ Time to Complete: 1-2 hours | Prerequisites: Basic examples + Implementation Guide

Advanced Examples

⏱️ Time to Complete: 2-4 hours | Prerequisites: Intermediate examples + Advanced Patterns

🎯 Advanced Topics

πŸ”¬ Learning Path: Theory β†’ Specification β†’ Applications β†’ Research (Full Advanced Path)
🧠 Specialized Applications | πŸ”— Related: Cognitive Phenomena

πŸ” Quick Reference

⚑ Fast Access | 🎯 Common Tasks | πŸ”— Related: Troubleshooting

Common Tasks

File Templates

πŸ“‹ Production-Ready Templates | πŸ“Š Total: 4 comprehensive templates (49KB)

Pipeline Documentation

βš™οΈ 25-Step Processing Pipeline | πŸ“ˆ Complete Workflow Coverage

API Reference & Integration

πŸ”Œ Programming Interfaces | πŸ“š 36KB Documentation | 🎯 103 Functions

Learning Resources

πŸ“– Progressive Learning System | 🎯 Beginner to Expert

Security & Compliance

πŸ”’ Enterprise Security | πŸ“Š Production-Ready

  • Security Guide - Comprehensive security documentation
    • LLM Security: Prompt injection prevention and API security
    • MCP Security: Model Context Protocol security measures
    • Production Security: Deployment and infrastructure security
    • Development Security: Secure coding practices and testing

Release Management

πŸš€ Professional Release Process | πŸ“‹ Version Control

  • Release Management - Complete release process documentation
    • Versioning: Semantic versioning strategy and guidelines
    • Release Cycles: Regular and emergency release procedures
    • Quality Assurance: Testing and validation requirements
    • Security Releases: Critical vulnerability response process
  • Releases - Release management and version history
    • Current Version: v1.3.0 with comprehensive feature additions
    • Version History: Detailed change tracking since project inception
    • Upgrade Guides: Migration assistance between major versions

Documentation Standards

πŸ“ Contribution Guidelines | βœ… Quality Assurance

  • Documentation Style Guide - Comprehensive writing and formatting standards
    • Writing Standards: Voice, tone, and clarity guidelines
    • Technical Guidelines: Code examples, mathematical notation, GNN syntax
    • Quality Assurance: Review processes and automated validation
    • Content Guidelines: Structure, cross-references, and accessibility

Deployment & Operations

πŸš€ Production Deployment | πŸ“Š 46KB Operational Documentation

Troubleshooting & Support

πŸ†˜ Comprehensive Problem Solving | πŸ“Š 56KB Support Documentation

🀝 Contributing to Documentation

πŸ“ Community Contributions Welcome | πŸ“‹ Standards & Guidelines

We welcome contributions! See our Contributing Guide and Documentation Style Guide for:

πŸ“ž Getting Help

🌐 Community Support Channels

πŸ”— Related Support: Support Guide | Troubleshooting | Contributing


πŸ“Š Documentation Metadata

🏷️ Machine-Readable Navigation Data

document_type: navigation_hub
primary_audience: [beginners, practitioners, developers, researchers]
learning_paths:
  beginner: [about_gnn.md, quickstart_tutorial.md, gnn_examples_doc.md, gnn_syntax.md]
  practitioner: [gnn_syntax.md, gnn_file_structure_doc.md, gnn_implementation.md, templates/README.md]
  developer: [api/README.md, gnn/reference/architecture_reference.md, development/README.md]
  researcher: [gnn/gnn_paper.md, advanced_modeling_patterns.md, cognitive_phenomena/README.md, poe-world/poe-world.md]
cross_references:
  setup: [SETUP.md, configuration/README.md, deployment/README.md]
  frameworks: [pymdp/gnn_pymdp.md, rxinfer/gnn_rxinfer.md, discopy/gnn_discopy.md, poe-world/poe-world_gnn.md]
  templates: [templates/README.md, templates/basic_gnn_template.md, templates/pomdp_template.md, templates/multiagent_template.md, templates/hierarchical_template.md]
  support: [troubleshooting/README.md, troubleshooting/common_errors.md, troubleshooting/faq.md]
  research_integration: [poe-world/poe-world.md, gnn/advanced/gnn_llm_neurosymbolic_active_inference.md, dspy/gnn_dspy.md]
coverage_metrics:
  total_documents: 70+
  total_content: 1.3MB+
  template_count: 4
  framework_integrations: 12+
  research_integrations: 5+
  pipeline_steps: 25
  cognitive_phenomena: 22+
  test_status: 1,522+ tests passing
status: production_ready
quality_level: gold_standard
recent_additions: [poe-world_integration, enhanced_cross_references, improved_research_pathways, 100%_signposting_coverage]

Status: Comprehensive and Production-Ready
Documentation Version: Compatible with GNN v1.x
Cross-Reference Network: βœ… Fully Integrated