-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Welcome! This guide will help you install and set up Adastrea Director on your system.
- Python: 3.9 or higher (3.12+ recommended for best compatibility)
- pip: Package manager (included with Python)
- RAM: 4GB minimum, 8GB+ recommended
- Storage: 2GB free space (more for document databases)
- OS: Windows 10+, macOS 10.14+, Ubuntu 20.04+
- GitHub Token: For private repository ingestion
- API Keys: For LLM providers (Gemini or OpenAI)
- Unreal Engine: 5.0+ (for plugin mode only)
The automated setup script handles everything for you:
# Clone the repository
git clone https://github.com/Mittenzx/Adastrea-Director.git
cd Adastrea-Director
# Run setup script (Linux/Mac)
./setup.sh
# Run setup script (Windows - use Git Bash or WSL)
bash setup.shThe setup script will:
- β Check system compatibility
- β Create and activate virtual environment
- β Install all dependencies with platform-specific handling
- β Verify the installation
- β Guide you through initial configuration
π‘ Tip: The virtual environment is reusable. Simply activate it with:
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # WindowsIf the quick setup doesn't work or you need more control:
# Clone the repository
git clone https://github.com/Mittenzx/Adastrea-Director.git
cd Adastrea-Director
# Run the smart installer
python install_dependencies.pyThe smart installer will:
- Detect your platform and architecture
- Handle platform-specific dependencies (especially for Apple Silicon)
- Guide you through any required manual steps
- Verify the installation
For advanced users who want complete control:
# 1. Clone the repository
git clone https://github.com/Mittenzx/Adastrea-Director.git
cd Adastrea-Director
# 2. Create virtual environment (recommended)
python -m venv venv
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windows
# 3. Install dependencies
pip install -r requirements.txt
# 4. Verify installation
python test_installation.shChoose one of the installation methods above. We recommend the Quick Setup for most users.
Adastrea Director supports multiple LLM providers. You have three options:
Keys are securely stored in ~/.adastrea/config.json:
Via CLI:
python main.py --set-api-key gemini
# Follow the prompts and check "Save API key for future sessions"Via GUI:
python gui_director.py
# Use Settings dialog (Ctrl+,) to save API keys# For Gemini (recommended - free tier available)
export GEMINI_KEY="your-api-key-here"
# For OpenAI
export OPENAI_API_KEY="your-api-key-here"# Copy the template
cp .env.example .env
# Edit .env and add your keys
GEMINI_KEY=your-api-key-here
OPENAI_API_KEY=your-api-key-herePriority: Local config β Environment variables β .env file
Only needed for private repository ingestion:
export GITHUB_TOKEN="your-github-token-here"Run a quick test to ensure everything is working:
# Test the CLI
python main.py --help
# Test the GUI
python gui_director.pyDefault (No Setup Required): Adastrea Director uses HuggingFace embeddings by default (works offline, no API key needed).
Optional - OpenAI Embeddings: For better quality embeddings:
- Set
OPENAI_API_KEYenvironment variable - Configure in settings to use OpenAI embeddings
Before using Adastrea Director, you should populate the knowledge base:
# Ingest your project documentation
python ingest.py --docs-dir /path/to/your/docs
# For Mittenzx/Adastrea game developers
python ingest_game_repo.pySee the Document Ingestion Guide for more details.
If you encounter issues with ARM-based dependencies:
- Use the smart installer:
python install_dependencies.py - It will guide you through any required steps for Apple Silicon compatibility
- Use Git Bash or WSL for best compatibility with setup scripts
- tkinter is included with Python on Windows
- Some dependencies may require Visual C++ Build Tools
Ubuntu/Debian:
# Install tkinter if needed
sudo apt-get install python3-tk
# Install build essentials if needed
sudo apt-get install build-essential python3-devFedora/CentOS:
# Install tkinter if needed
sudo dnf install python3-tkinterProblem: "No module named 'tkinter'"
- Solution: Install python3-tk package for your OS (see Platform-Specific Notes)
Problem: "Failed to load embeddings model"
- Solution: Ensure you have internet connection for first-time model download, or check your API key configuration
Problem: "Permission denied" when running setup.sh
-
Solution: Make the script executable:
chmod +x setup.sh
Problem: Dependencies fail to install on Apple Silicon
-
Solution: Use the smart installer:
python install_dependencies.py
For more troubleshooting help, see the Troubleshooting Guide.
Now that you have Adastrea Director installed:
- π Quick Start Tutorial - Learn the basics in 5 minutes
- π Context-Aware Assistant - Start asking questions about your project
- π Planning System - Create implementation plans
- π€ Autonomous Agents - Set up proactive monitoring
- π FAQ - Frequently asked questions
- π Report Issues - Found a bug?
- π¬ Discussions - Ask questions
Next: Quick Start Tutorial β
Adastrea Director | GitHub | Issues | Discussions
Building tomorrow's game development tools, today.