-
Notifications
You must be signed in to change notification settings - Fork 0
Quick Start
Get started with Adastrea Director in just a few minutes!
In this tutorial, you'll:
- β Run your first query
- β Ingest documentation
- β Create an implementation plan
- β Use the GUI application
Time Required: 5-10 minutes
β You've completed Installation & Setup
Let's start with a simple query using the command-line interface:
# Activate your virtual environment (if not already active)
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windows
# Start the interactive assistant
python main.pyYou'll see a prompt like this:
Adastrea Director - Context-Aware Assistant
Type 'quit' or 'exit' to end the session.
>
Try asking a question:
> What is Adastrea Director?
Note: The first query may be slow as it loads the embeddings model. Subsequent queries will be much faster!
To get meaningful answers about your project, you need to populate the knowledge base:
Start with the project's own documentation:
# Ingest the README and core documentation
python ingest.py --docs-dir .This will:
- β Scan for markdown files
- β Process and chunk documents
- β Create vector embeddings
- β Store in the database
Ingest your own documentation:
# Ingest from a specific directory
python ingest.py --docs-dir /path/to/your/docs
# Ingest multiple types of files
python ingest.py --docs-dir /path/to/your/docs --file-types .md .txt .rst# Set your GitHub token
export GITHUB_TOKEN="ghp_your_token_here"
# Populate with game repository
python ingest_game_repo.pySee the Document Ingestion Guide for advanced options.
Now let's create an implementation plan:
# Start interactive planning mode
python planner.py --interactiveTry this example goal:
> Add a player inventory system with drag-and-drop UI
The planner will:
- π Analyze your goal
- π Break it down into prioritized tasks
- π Identify dependencies
- π» Suggest code implementations
- β±οΈ Estimate effort required
# Plan a specific goal and export to markdown
python planner.py "Optimize rendering pipeline" --export markdown --output plan.md
# Export to JSON for programmatic use
python planner.py "Add multiplayer support" --export json --output plan.jsonFor a more user-friendly experience:
python gui_director.py1. Main Interface:
- Query Tab: Ask questions about your project
- Ingest List Tab: See what's in your knowledge base
- Conversation History: View all Q&A with timestamps
2. Settings Dialog (Ctrl+,):
- Configure API keys
- Select LLM provider (Gemini, OpenAI, Ollama)
- Choose embedding provider
- Adjust display options
3. Useful Shortcuts:
-
EnterorCtrl+Enter- Send question -
Ctrl+K- Quick API key setup -
Ctrl+,- Open settings -
Ctrl+U- Update knowledge base -
Ctrl+L- Clear conversation -
Ctrl+E- Export conversation
- Type your question in the input box at the bottom
- Press Enter or click "Send"
- Watch as the AI processes your query
- View the response with source citations
# Start the agent orchestrator CLI
python agent_orchestrator_cli.py start --all
# Check agent status
python agent_orchestrator_cli.py status
# View the real-time dashboard
python agent_dashboard.py --auto-startIf you're working in Unreal Engine:
- Copy
Plugins/AdastreaDirectorto your UE project'sPluginsfolder - Regenerate project files
- Build your project
- Open Window β Developer Tools β Adastrea Director
See the Plugin Guide for detailed instructions.
# 1. Ingest your docs
python ingest.py --docs-dir /path/to/docs
# 2. Start asking questions
python main.py
> How do I implement feature X?
> What are the requirements for Y?
> Explain the architecture of Z# 1. Define your goal
python planner.py --interactive
> Add user authentication with OAuth2
# 2. Review the generated plan
# 3. Export for your team
python planner.py "Add authentication" --export markdown --output auth_plan.md
# 4. Follow the implementation steps# 1. Keep knowledge base updated
python ingest.py --docs-dir . --update
# 2. Use GUI for quick queries during development
python gui_director.py
# 3. Generate plans as needed
python planner.py "Refactor module X"-
Be Specific: Instead of "How do I code this?", ask "How do I implement a singleton pattern for a game manager in C++?"
-
Provide Context: The more documents you ingest, the better the answers
-
Use Natural Language: Write questions as you would ask a colleague
-
Regular Updates: Re-run ingestion when documentation changes
python ingest.py --docs-dir . --update -
Check What's Ingested: Use the Ingest List tab in the GUI to see all documents
-
Organize Documents: Keep documentation in a structured directory for easier ingestion
- First Query is Slow: The initial query loads models - this is normal
- Use Local Config: Save API keys to avoid re-entering them
- GPU Acceleration: If you have a GPU, embeddings will be faster
No/Poor Responses:
- β Ensure you've ingested relevant documentation
- β Check your API key is set correctly
- β Verify internet connection (for API-based LLMs)
Slow Performance:
- β First query is always slow (loading models)
- β Subsequent queries should be fast
- β Consider using GPU acceleration
GUI Won't Start:
- β Ensure tkinter is installed (see Installation Guide)
- β
Try running
python -m tkinterto test
Now that you're familiar with the basics:
- π Context-Aware Assistant Guide - Deep dive into P1 features
- π Planning System Guide - Master P2 planning capabilities
- π€ Autonomous Agents Guide - Set up P3 proactive monitoring
- π¨ GUI Application Guide - Explore all GUI features
Here are some example queries to get you started:
> What is the main purpose of this project?
> How do I contribute to this project?
> What are the system requirements?
> Explain the RAG architecture
> How do I add a new agent?
> What testing framework is used?
> How do I troubleshoot installation issues?
- π FAQ - Common questions and answers
- π§ Troubleshooting - Solve common issues
- π Report Issues - Found a bug?
- π¬ Discussions - Ask questions
Congratulations! You're now ready to use Adastrea Director! π
Adastrea Director | GitHub | Issues | Discussions
Building tomorrow's game development tools, today.