Files
timmy-config/wizards/allegro/gofai/__init__.py
2026-03-31 20:02:01 +00:00

58 lines
1.3 KiB
Python

#!/usr/bin/env python3
"""
GOFAI - Good Old-Fashioned AI for Hermes Fleet
Hybrid neuro-symbolic AI module
Provides:
- Knowledge Graph for wizard lineage and relationships
- Rule Engine for SOUL.md enforcement
- Schema definitions for fleet entities
- Child Assistant for offline reasoning
All operations are:
- Local (no cloud calls)
- Deterministic (predictable)
- Fast (< 10ms for most operations)
- Explainable (can show reasoning)
"""
__version__ = "0.1.0"
from .schema import (
FleetSchema, Wizard, Task, TaskStatus,
EntityType, get_fleet_schema
)
from .rule_engine import (
RuleEngine, Rule, RuleContext, ActionType,
create_child_rule_engine,
CHILD_SAFETY_RULES, FLEET_COORDINATION_RULES
)
from .knowledge_graph import (
KnowledgeGraph, FleetKnowledgeBase,
Node, Edge
)
from .child_assistant import (
ChildAssistant, Decision
)
__all__ = [
# Schema
'FleetSchema', 'Wizard', 'Task', 'TaskStatus',
'EntityType', 'get_fleet_schema',
# Rule Engine
'RuleEngine', 'Rule', 'RuleContext', 'ActionType',
'create_child_rule_engine',
'CHILD_SAFETY_RULES', 'FLEET_COORDINATION_RULES',
# Knowledge Graph
'KnowledgeGraph', 'FleetKnowledgeBase',
'Node', 'Edge',
# Child Assistant
'ChildAssistant', 'Decision',
]