daniel8919/limbic-reasoning-agent
1
π§ Limbic-Modulated Reasoning Agent
An LLM whose reasoning behavior adapts in real-time based on a simulated neuro-behavioral state engine.
How It Works
User Message β Limbic Engine β Modulate LLM Parameters β Generate Response
β β
ββ Arousal/Valence ββ Temperature (fearβ seekingβ)
ββ 4 Affective ββ Top-p (fear=tight, seek=wide)
β Engines ββ Behavioral Directive
ββ Hormones ββ Active Instincts
ββ Psychological ββ Self-Debug Protocol
LatticeCore Formulas (from LIMBIC-system-PACKGE)
Agentic Patterns (from everything-claude-code)
- 4-Tier Memory: Session β Observations β Instincts β State Store
- Learned Instincts: Behavioral patterns activated by limbic state
- 4-Phase Self-Debug: Capture β Diagnose β Fix β Report
Architecture
Try It
Type messages with different emotional tones and watch the Limbic Dashboard react:
- π° Fear: "I'm terrified of losing my job" β Low temperature, structured response
- π Seeking: "Tell me something fascinating about the brain" β High temperature, creative response
- π Care: "How can I help my friend with depression?" β Empathetic, supportive response
- π’ Panic: "My best friend is moving away forever" β Warm, validating response
Training Plan
3-stage pipeline to fine-tune a base model:
- SFT Warm-Up: 5K synthetic conversations (limbic state β response style)
- GRPO Loop Learning: 2K psychology prompts Γ 4 reward functions
- Active Learning: Uncertain predictions β human labels β retrain
See training_plan.py for the complete recipe and runnable script.
