Adastrea Director - AI Game Director
February 24, 2026 ยท View on GitHub
An intelligent assistant system designed to understand natural language commands and assist with the game development lifecycle in Unreal Engine.
โ Phase 3 Complete: Legacy IPC components removed. Plugin now uses VibeUE architecture exclusively.
๐ Documentation: See Adastrea Director Wiki for complete documentation.
๐๏ธ Architecture: See ARCHITECTURE.md for system architecture and VibeUE components.
Overview
Adastrea Director is an AI-powered tool that aims to revolutionize game development by providing context-aware assistance, automated planning, and eventually autonomous development capabilities. The project is being developed in four distinct phases, with each phase building upon the previous one.
Value Proposition
Current Value (P1-P3): โญโญโญโญโญโญโญโญโญ 9/10
- Context-aware documentation search across all project guides
- Intelligent planning and task decomposition for development goals
- Code generation assistance with multiple implementation approaches
- โจ Autonomous agents for performance profiling, bug detection, and code quality
- Real-time monitoring and proactive issue detection
- 230+ comprehensive tests across Phases P1โP3 (including 120+ Phase 3 autonomous-agent tests, all 100% passing) for production-ready stability
- ROI: 300%+ return in 6 months with automated profiling and bug detection
Future Potential (P4 + Plugin): โญโญโญโญโญโญโญโญโญโญ 10/10
- Integrated UE Editor experience with all P1-P3 capabilities
- AI-assisted content generation (quests, dialogue, assets)
- Real-time in-editor performance profiling and optimization
- Automated playtesting with reproduction steps
- ROI: 400%+ return with full autonomous development assistance
For detailed analysis, see the Wiki
Architecture: One System, Two Deployment Options
Adastrea Director is one AI system with two deployment modes:
๐ฅ๏ธ Standalone Mode (Python GUI/CLI)
- Purpose: Development, testing, and standalone use
- Technology: Python + tkinter/CLI
- Best for: Rapid prototyping, testing, non-UE users
- Status: โ Fully functional (P1-P3)
๐ฎ Plugin Mode (Unreal Engine - VibeUE Architecture)
- Purpose: Native C++ integration in Unreal Editor
- Technology: Modern C++ with direct LLM integration (no external processes)
- Architecture: VibeUE pattern - IPythonScriptPlugin, direct HTTP, runtime queries
- Best for: Production UE development with integrated AI assistance
- Status: โ VibeUE architecture complete - Phase 3 migration finished (Jan 2026)
- Components: AdastreaScriptService, LLMClient, AssetService, ToolSystem, MCPServer
Key Point: The plugin uses the VibeUE architecture with native C++ components. Legacy IPC components have been REMOVED (Phase 3 complete). All functionality is now provided through direct C++ integration.
๐ See: ARCHITECTURE.md for detailed system architecture and Wiki for complete documentation.
Current Phase: Phase 3.5 Complete - Plugin Integration 70%
Latest Achievement: Phase 3.5 (VibeUE Architecture) completed January 2026! ๐
Completed Phases
- โ Phase 1: Foundation (RAG-based Q&A)
- โ Phase 2: The Planner (Goal decomposition and task planning)
- โ Phase 3: Autonomous Agents (Performance, Bug Detection, Code Quality)
- โ Phase 3.5: VibeUE Architecture Migration (Native C++ integration)
Phase 3.5 Highlights (January 2026)
The C++ plugin has completed the full migration to VibeUE architecture:
- โ Direct LLM integration (AdastreaLLMClient) - no external Python process needed
- โ Built-in Python execution (AdastreaScriptService) via IPythonScriptPlugin
- โ Runtime asset discovery (AdastreaAssetService) - no document ingestion required
- โ Tool system (AdastreaToolSystem) for extensible AI capabilities
- โ MCP server (AdastreaMCPServer) for external AI clients (VS Code, Claude Desktop)
- โ Legacy IPC components fully removed (~5,000 lines) - zero IPC overhead
- โ Sockets/Networking modules removed from build dependencies
Impact: Better reliability, simplified architecture, native C++ performance, and modern integration patterns.
See Q1_2026_PROGRESS_SUMMARY.md for complete details, VIBEUE_COMPLETION_SUMMARY.md for technical implementation, and MIGRATION_GUIDE.md for historical migration reference.
Current Focus: Plugin Integration (70% Complete)
Completed:
- โ Basic plugin infrastructure and UI framework
- โ RAG integration for documentation queries
- โ Phase 3 agent integration with IPC server
- โ UE Python API integration (25+ tests)
- โ Content generation and validation utilities
- โ Backend logging and monitoring infrastructure
In Progress (Q1 2026):
- ๐ Plugin C++ testing framework (Target: 90% coverage)
- ๐ UI/UX redesign matching UE5 editor style
- ๐ Blueprint widgets for agent visualization
- ๐ Real-time event streaming to editor
Next Milestones:
- ๐ Feb 2026: Complete testing framework
- ๐ Mar 2026: UI/UX redesign complete
- ๐ Apr 2026: Plugin feature complete (v1.0)
- ๐ May 2026: Marketplace submission
For detailed roadmap and future plans, see ROADMAP.md.
Features
- โ P1: Foundation - RAG-based document understanding and Q&A
- โจ P2: The Planner (Complete):
- Goal Analysis: Parse natural language development goals and classify them
- Task Decomposition: Automatically break down goals into prioritized tasks
- Dependency Management: Identify task dependencies and optimal execution order
- Code Generation: Generate implementation approaches with code examples
- Feasibility Analysis: Assess complexity and provide recommendations
- Plan Export: Export plans in Markdown, JSON, or Text formats
- Interactive Planning CLI: New dedicated planning interface
- Effort Estimation: Estimate time and complexity for tasks
- Priority Assignment: Intelligent task prioritization
๐ Project Status
Current Focus: Plugin Integration & Testing (70% Complete - Target: May 2026 v1.0)
Completed Phases:
- โ Phase 1: Foundation (RAG-based Q&A) - Q3 2024
- โ Phase 2: The Planner (Goal decomposition and task planning) - Q4 2024
- โ Phase 3: Autonomous Agents (Performance, Bug Detection, Code Quality) - Q4 2025
- โ Phase 3.5: VibeUE Architecture Migration (Native C++ integration) - January 2026
- โ Backend Infrastructure Hardening (Comprehensive logging) - January 2026
- โ Standalone Python application (CLI + GUI) - Production Ready
In Progress:
- ๐ UE Plugin Testing Framework (Feb 2026)
- ๐ UI/UX Redesign for UE5 Style (Mar 2026)
- ๐ Blueprint Widgets & Real-time Features (Feb-Mar 2026)
Upcoming:
- ๐ Plugin v1.0 Feature Complete (April 2026)
- ๐ Marketplace Submission (May 2026)
- ๐ Phase 4: Creative Partner (Q3 2026)
Latest Updates:
- January 30, 2026: Updated roadmap with detailed future plans through 2027
- January 24, 2026: Completed backend logging infrastructure
- January 19, 2026: VibeUE migration complete, removed ~5,000 lines of legacy code
For detailed progress tracking and future plans, see Q1_2026_PROGRESS_SUMMARY.md, ROADMAP.md, and the Wiki.
Project Phases
-
P1: Foundation (Context-Aware Assistant) - โ Complete
- RAG-based document understanding
- Natural language query interface
- Document ingestion and vector database
-
P2: The Planner (Goal-Oriented Tasking) - โ Complete
- Goal analysis and classification
- Task decomposition with dependencies
- Action plan generation
- Effort estimation and prioritization
-
Phase 3: The Proactive Agent System - โ Complete
- โ Autonomous performance profiling and optimization
- โ Automated bug detection and crash analysis
- โ Code quality monitoring and refactoring suggestions
- โ Agent Orchestrator CLI for managing agents
- โ Real-time Dashboard UI for monitoring
- โ 120+ comprehensive tests (100% passing)
- โ Remote Control API client module (67 tests, integrated and functional)
- โ Event bus implementation (16 tests)
- โ Shared state management (20 tests)
- โ MCP Server integration for AI agent access (84 tests)
-
P4: Creative Partner - ๐ Vision
- AI-assisted content generation
- Creative design suggestions
Getting Started
๐ Quick Start (5 Minutes)
New to Adastrea Director? Start with our updated quick start guide:
๐ QUICK_START_GUIDE.md - Get started in 5 minutes with either:
- Standalone Python tools (no Unreal Engine required)
- Unreal Engine integration (full MCP server control)
Recent Updates (2026-02-24):
- Added connection diagnostic tool:
test_unreal_connection.py - Created comprehensive work session summary:
WORK_SESSION_SUMMARY_2026-02-24.md - Simplified setup instructions for new users
Prerequisites
- Python 3.9 or higher (Python 3.12+ recommended for best compatibility)
- pip package manager
- (Optional) GitHub Personal Access Token for game repository ingestion
Quick Start: Populate the Database
โก Want to start using Adastrea Director immediately with full game context?
๐ NEW: HuggingFace access is now enabled! Game repository ingestion is ready to use.
Populate the database with your game repository so all agents have access to your codebase:
Method 1: Quick Ingestion Script (Easiest)
./quick_ingest_game.sh
Method 2: Manual Ingestion
# Set your GitHub token (for private repository access, if needed)
export GITHUB_TOKEN="ghp_your_token_here"
# Populate the database (uses HuggingFace embeddings - no API key required!)
python3 ingest_game_repo.py
Method 3: Use GitHub Actions (Automated) โญ
- Add
GAME_REPO_TOKENsecret in repository settings - Go to Actions โ "Populate Database with Adastrea Game Repository"
- Click "Run workflow"
๐ Documentation:
- Quick Status: INGESTION_STATUS.md - Current status and quick reference
- Complete Guide: GAME_REPO_INGESTION_GUIDE.md - Detailed instructions and troubleshooting
- Quick Start: START_HERE_INGESTION.md - 60-second setup guide
Once populated, all agents will have full context about your Adastrea game when providing assistance!
Installation
Quick Setup (All Platforms)
git clone https://github.com/Mittenzx/Adastrea-Director.git
cd Adastrea-Director
./setup.sh # Linux/Mac
The setup script will:
- Check your system compatibility
- Create a virtual environment (reusable for fast subsequent runs)
- Install all dependencies with platform-specific handling
- Verify the installation
๐ก Tip: The virtual environment can be reused - just activate it with source venv/bin/activate for instant access without reinstalling dependencies.
Manual Installation
- Clone the repository:
git clone https://github.com/Mittenzx/Adastrea-Director.git
cd Adastrea-Director
- Install dependencies:
Option A: Smart Installer (Recommended)
python install_dependencies.py
This script will detect your platform and guide you through any platform-specific setup needed.
Option B: Direct Installation
pip install -r requirements.txt
๐ Note: If you encounter issues (especially on Apple Silicon Macs or ARM systems), use the smart installer or see the Installation Guide in the Wiki for platform-specific instructions and troubleshooting.
- Verify your installation and test API keys:
โ ๏ธ Run from system terminal, NOT UE Python console!
# Test that all dependencies are installed and API keys work
python test_api_keys.py
# Test specific provider
python test_api_keys.py --provider gemini
# Check configuration without making API calls
python test_api_keys.py --skip-api-test
This script will help you diagnose any issues with dependencies or API key configuration.
Note: If run from Unreal Engine's Python console, you'll see "Dependencies NOT INSTALLED" messages. This is expected - the script should be run from your system terminal. See TROUBLESHOOTING.md for details.
- Set up your LLM API key:
For document embeddings: The system uses HuggingFace embeddings by default (no API key required, works offline).
- See the Wiki for OpenAI embeddings setup if needed
For LLM queries: Set up your preferred LLM provider. You have four options:
Option A: Save to local config (Recommended - persists across repository clones)
# Via CLI
python main.py --set-api-key gemini # or openai, or openrouter
# Via GUI
# When prompted, check "Save API key for future sessions"
Keys are securely stored in ~/.adastrea/config.json and encrypted with a machine-specific key.
Option B: Use environment variable
export GEMINI_KEY="your-api-key-here"
# or for OpenAI
export OPENAI_API_KEY="your-api-key-here"
# or for OpenRouter
export OPENROUTER_API_KEY="your-api-key-here"
Option C: Use .env file
cp .env.example .env
# Edit .env and add your GEMINI_KEY, OPENAI_API_KEY, or OPENROUTER_API_KEY
Option D: Select provider in GUI Settings Open the Settings dialog (โ๏ธ) and configure your preferred provider and API key.
Priority: Local config โ Environment variables (including .env file)
๐ Test your configuration: After setting up your API key, verify it works:
python test_api_keys.py
- (Optional) Set up GitHub token for game repository ingestion:
export GITHUB_TOKEN="your-github-token-here"
This is only needed if you want to ingest documents from the private Mittenzx/Adastrea game repository.
๐ For detailed setup guides, see the Wiki
Usage
๐ก Which mode should I use?
| Use Case | Recommended Mode | Why |
|---|---|---|
| Working in Unreal Engine | ๐ฎ Plugin | Integrated workflow, no context switching |
| Testing/prototyping new features | ๐ฅ๏ธ Standalone | Faster iteration, easier debugging |
| Non-UE game development | ๐ฅ๏ธ Standalone | Works with any project type |
| Plugin is not yet feature-complete | ๐ฅ๏ธ Standalone | All features available immediately |
Both modes share the same AI backend, so you get the same quality of results!
Planning System (P2 - Complete!)
Create implementation plans for your development goals:
# Interactive planning mode
python planner.py --interactive
# Plan a specific goal
python planner.py "Add a new inventory system"
# Export plan to file
python planner.py "Optimize rendering pipeline" --export markdown --output plan.md
# Enable debug logging for troubleshooting
python planner.py --debug "Optimize rendering pipeline"
The planning system will:
- Analyze your goal and identify requirements
- Break it down into prioritized tasks with dependencies
- Estimate effort and assess feasibility
- Suggest implementation approaches with code examples
- Export a complete plan for review
Debugging & Logging:
All commands support --debug flag for detailed logging output. Logs are saved to logs/adastrea_YYYYMMDD.log and can be viewed in the GUI's Debug Logs tab
Context-Aware Assistant (P1)
- Ingest your project documents:
python ingest.py --docs-dir /path/to/your/docs
๐ For detailed ingestion guides, see the Wiki
๐ฎ Working on the Mittenzx/Adastrea game? Use the dedicated game repository ingestion:
python ingest_game_repo.py
- Start the interactive assistant:
python main.py
- Ask questions about your project:
> What is the main gameplay loop?
> Describe the player character abilities
> What are the performance requirements?
P2: Goal Decomposition
- Interactive goal planning:
python planning_cli.py --interactive
- Single goal with markdown export:
python planning_cli.py --goal "Implement user authentication system" --output action_plan.md
- Run the planning example:
python examples/planning_example.py
๐ Want to learn more? See the Planning Guide in the Wiki for comprehensive documentation with examples.
P3: Autonomous Agents (Complete! โ )
The autonomous agent system is fully implemented and operational. Manage and monitor agents for performance profiling, bug detection, and code quality:
- Agent Orchestrator CLI - Control agents from command line:
# Start all agents
python agent_orchestrator_cli.py start --all
# Check agent status
python agent_orchestrator_cli.py status
# View recent events
python agent_orchestrator_cli.py events --limit 20
# Stop specific agent
python agent_orchestrator_cli.py stop --agent performance
- Agent Dashboard - Real-time monitoring:
# Start dashboard with auto-start
python agent_dashboard.py --auto-start
# Custom update interval
python agent_dashboard.py --interval 2.0
- Run the P3 demo:
python examples/phase3_orchestrator_demo.py
๐ Documentation: See the Phase 3 Guide in the Wiki for complete documentation
Unreal Engine Plugin
For game developers working in Unreal Engine, the plugin provides an integrated in-editor experience:
Current Status: Weeks 1-6 Complete (Basic UI + RAG Integration) + NEW: UE Python API Integration โจ
๐ Quick Start:
๐ Plugin Setup Guide - Get started in 5 minutes!
Installation (Quick):
- Copy
Plugins/AdastreaDirectorto your UE project'sPluginsfolder - Regenerate project files (right-click .uproject โ Generate Visual Studio project files)
- Build your project
- Launch Unreal Engine Editor
Usage:
- Open Window โ Developer Tools โ Adastrea Director
- The AI assistant panel opens as a dockable tab
- Use the Ingestion tab to add your documentation
- Use the Query tab to ask questions
- Python backend starts automatically!
NEW: UE Python API Features โจ
- โ
Direct access to Unreal Engine's Python API (
import unreal) - โ Asset operations (query, load, save)
- โ Actor operations (spawn, query, delete)
- โ Console command execution
- โ Editor automation (notifications, logging)
- โ Hybrid architecture (External Python + UE Python)
- โ Content generation utilities - Procedural layouts, material libraries, Blueprint creation
- โ Content validation framework - Automated asset validation and standards compliance
- โ Batch processing - Mass operations on assets and actors
- โ 25+ comprehensive tests (100% passing)
๐ Complete Plugin Documentation:
- Setup Guide - ๐ Start here! Quick setup and testing
- Plugin README - Full plugin guide
- UE Python API Guide - NEW! UE Python integration
- Python Research Document - ๐ NEW! Complete UE Python API capabilities (UE 4.27-5.7)
- Installation Guide - Detailed setup
- RAG Integration - Using the RAG system
- Testing Quick Reference - Verify installation
Coming Soon (Weeks 7-16):
- Planning agent integration (task breakdown in UE)
- Performance profiling UI
- Bug detection integration
- Code quality monitoring
Unreal Engine MCP Integration (NEW!)
Control Unreal Engine directly from the command line using the MCP server integration:
# Interactive mode - no external client needed
python unreal_mcp_cli.py
# Direct commands
python unreal_mcp_cli.py project-info # Get project info
python unreal_mcp_cli.py list-assets # List all assets
python unreal_mcp_cli.py search-assets "player"
python unreal_mcp_cli.py run-python "import unreal; print(unreal.SystemLibrary.get_engine_version())"
Features:
- โ Execute Python directly in Unreal Editor
- โ List, search, and inspect assets
- โ Create, update, and delete actors
- โ Run console commands
- โ Get project and level information
- โ Works with any MCP-compatible client (5ire, Cline, Zed, etc.)
- โ 84 comprehensive tests
๐ Documentation: MCP Server Guide
๐ Related Project: Adastrea-MCP - Complementary MCP server providing static analysis, code generation, and UE5.6+ knowledge (37 tools). Can integrate with Adastrea-Director for comprehensive UE development assistance. See MCP Integration Architecture for details.
Project Structure
Adastrea-Director/
โโโ README.md # This file - Quick start guide
โโโ CONTRIBUTING.md # Contribution guidelines
โโโ Documentation/ # Organized documentation (UE standards)
โ โโโ guides/ # User guides and tutorials
โ โโโ implementation/ # Implementation summaries
โ โโโ architecture/ # Architecture and design docs
โ โโโ research/ # Research and exploration
โ โโโ development/ # Development status docs
โโโ requirements.txt # Python dependencies
โโโ ingest.py # Document ingestion script
โโโ ingest_game_repo.py # Game repository ingestion
โโโ main.py # P1 CLI entry point
โโโ planner.py # P2 planning CLI
โโโ ue_log_capture.py # UE log capture module
โโโ agent_orchestrator_cli.py # P3 agent CLI
โโโ agent_dashboard.py # P3 dashboard
โโโ agents/ # Agent system
โ โโโ phase3/ # P3 autonomous agents
โ โโโ ... # P2 planning agents
โโโ logs/ # UE output logs (dated files)
โโโ tests/ # Comprehensive test suite (230+ tests)
โโโ examples/ # Example scripts
โโโ remote_control/ # Remote control API
โโโ Plugins/ # Unreal Engine plugin
โโโ AdastreaDirector/ # Plugin implementation
๐ All documentation is now in the Wiki: https://github.com/Mittenzx/Adastrea-Director/wiki
Documentation
๐ Complete documentation is available in the Adastrea Director Wiki
The wiki includes:
- Installation & Setup - Platform-specific instructions and troubleshooting
- Usage Guides - How to use all features (P1-P3)
- Architecture - System design and agent architecture
- Phase Documentation - Detailed guides for each project phase
- Development - Contributing, testing, and code reference
- Design System - UI/UX guidelines
- API Reference - Remote control API and integrations
- Remote Connection Types & Actions - Comprehensive directory of all connection types (HTTP, WebSocket, Python IPC, UE Python API, Director Plugin)
๐ค For GitHub Copilot and AI Agents
If you're a GitHub Copilot agent or AI assistant working with Adastrea Director:
- COPILOT_INSTRUCTIONS.md - ๐ Complete guide for Copilot agents with connection methods, capabilities, and verification procedures
- .github/COPILOT_QUICK_REFERENCE.md - ๐ Quick reference card for common operations
๐ค GitHub Copilot Integration
NEW: MCP Server Integration โจ
GitHub Copilot in VS Code can now directly use Adastrea Director's MCP (Model Context Protocol) server to interact with Unreal Engine! The repository includes pre-configured VS Code settings in .vscode/settings.json that enable Copilot to:
- Execute Python code directly in Unreal Engine Editor
- Query project information and list assets
- Create and manipulate actors in the level
- Access Director's RAG knowledge base
- Get context-aware assistance for UE development
Quick Setup:
- Open this repository in VS Code
- Ensure GitHub Copilot extension is installed
- Start Unreal Engine with Python Editor Script Plugin enabled
- Ask Copilot:
Use the adastrea-unreal server to get project information
See .vscode/README.md for complete setup instructions and troubleshooting.
Debugging UE Logs: Want GitHub Copilot to help debug UE crashes and errors? See COPILOT_UE_LOGS_GUIDE.md for details on how Copilot can access Unreal Engine output logs for better assistance.
Testing
Adastrea Director includes a comprehensive test suite to ensure reliability and quality:
Test Coverage
- 230+ Total Tests: Covering all major components
- 27 GUI Tests: Complete UI testing suite (20 functional, 7 integration tests marked for future)
- 88% GUI Coverage: Thorough testing of UI components
- 100% Pass Rate: Production-ready stability
Running Tests
# Run all tests
pytest
# Run with coverage report
pytest --cov=. --cov-report=html
# Run specific test categories
pytest -m unit # Unit tests only
pytest -m integration # Integration tests only
Test Categories
- Unit Tests: Individual component testing
- Integration Tests: Component interaction testing
- UI Tests: User interface behavior testing
- Error Handling Tests: Error condition validation
- Workflow Tests: Complete user workflow testing
Manual Testing
For manual testing and QA procedures, see the Testing Guide in the Wiki.
Contributing
This project is in early development. Contributions, suggestions, and feedback are welcome!
See CONTRIBUTING.md for guidelines on how to contribute to this project.
License
[To be determined]
Contact
Project maintained by Mittenzx
"Building tomorrow's game development tools, today."