An open-world JRPG inspired by Fable where player choices dynamically shape the world. Built with Godot 4, featuring AI-powered NPCs with persistent memory and dynamic dialogue via Claude.
-
Install dependencies:
# Install ChromaDB for NPC memory pip install chromadb # Start ChromaDB server chroma run --host localhost --port 8000
-
Configure API keys:
# Copy example env file cp .env.example .env # Edit .env and add your Claude API key
-
Open in Godot:
godot project.godot
See .github/copilot-instructions.md for comprehensive architecture documentation, development workflows, and AI integration patterns.
scenes/- Godot scene filesscripts/- GDScript code organized by featureworld_state/- Event bus, world state, consequence trackingnpcs/- NPC AI, memory, behaviordialogue/- Claude integration, dialogue managementmemory/- ChromaDB integration for RAG
resources/- Godot resources (NPC profiles, quests)
- Event-Driven World State - Player actions flow through EventBus singleton
- AI-Powered NPCs - Each NPC is an independent Claude AI agent with unique personality
- RAG Memory System - ChromaDB stores and retrieves NPC experiences semantically
- Consequence Graph - Tracks causal chains of player choices → world changes
- Hot Reload - Save GDScript files while running to see changes instantly
- Debug Tools - Use Debug menu for AI state visualization, world state timeline
- Testing - Run scenarios via
scripts/debug/ai_scenario_tester.gd
MIT