A Minimal Viable Product (MVP) implementation of the Aime multi-agent framework - a novel approach to building fully-autonomous multi-agent systems that overcome the limitations of traditional plan-and-execute paradigms.
Mini-Aime is a proof-of-concept implementation of the Aime framework proposed by ByteDance researchers. Unlike conventional multi-agent systems that rely on rigid, static planning, Aime introduces a fluid, adaptive architecture that enables dynamic plan adjustments, on-demand role allocation, and streamlined coordination.
- Problem Solved: Traditional frameworks generate static plans that cannot adapt to real-time feedback
- Solution: Continuous strategy refinement based on live execution feedback
- Implementation: Real-time task decomposition and adaptive planning in
src/core/dynamic_planner.py
- Problem Solved: Static agent roles limit system adaptability to unforeseen tasks
- Solution: On-demand instantiation of specialized agents with tailored tools and knowledge
- Implementation: Dynamic agent creation with custom personas and capabilities in
src/core/actor_factory.py
- Problem Solved: Limited executor capabilities for complex multi-step tasks
- Solution: Autonomous ReAct-based execution with reasoning and action capabilities
- Implementation: Intelligent agent execution logic in
src/core/dynamic_actor.py
- Problem Solved: Lack of unified state awareness leading to coordination failures
- Solution: Centralized progress tracking providing system-wide state consistency
- Implementation: State tracking and event management in
src/core/progress_manager.py
- LLM-First Architecture: All critical decisions made by Large Language Models, avoiding hardcoded rules
- Rich Tool Ecosystem: Integrated web search, file operations, code execution, and more
- Real-time Web Interface: Intuitive task execution progress visualization
- Modular Design: Highly extensible component-based architecture
- Dynamic Adaptation: Continuous learning and adjustment based on execution feedback
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ Dynamic │ │ Actor │ │ Dynamic │
│ Planner │───▶│ Factory │───▶│ Actors │
│ │ │ │ │ │
└─────────────────┘ └──────────────────┘ └─────────────────┘
│ │ │
└───────────────────────┼───────────────────────┘
│
┌──────────────────┐
│ Progress │
│ Management │
│ Module │
└──────────────────┘
- Python 3.8+
- Node.js 16+ (for frontend)
- API keys for LLM services (see Configuration section)
-
Clone the repository
git clone https://github.com/CodePrometheus/mini-aime.git cd mini-aime -
Install Python dependencies
# Using pip pip install -r requirements.txt # Or using uv (recommended) uv pip install -r requirements.txt
-
Install frontend dependencies
cd frontend npm install cd ..
-
Configure environment
cp env.example .env # Edit .env with your API keys (see Configuration section)
-
Start the backend API
python -m src.api.main
The API will be available at http://localhost:8000
-
Start the frontend development server (in a new terminal)
cd frontend npm run devThe frontend will be available at http://localhost:5173
-
Access the web interface Open http://localhost:5173 in your browser
- Port conflicts: If ports 8000 or 5173 are in use, check the terminal output for alternative ports
- API connection issues: Ensure the backend is running before starting the frontend
- Missing dependencies: Run
pip install -r requirements.txtandnpm installin the frontend directory
The system supports multiple LLM providers:
- DeepSeek API
- OpenRouter
- Custom OpenAI-compatible endpoints
Required API keys (see env.example):
DEEPSEEK_API_KEYorOPENROUTER_API_KEYTAVILY_API_KEY(for web search)BRAVE_SEARCH_API_KEY(alternative search)- Additional service-specific keys
This implementation is based on the research paper:
Aime: Towards Fully-Autonomous Multi-Agent Framework
Yexuan Shi*, Mingyu Wang, Yunxiang Cao, et al.
ByteDance, 2025
This is an MVP implementation for research and educational purposes. Contributions are welcome to improve the implementation and extend the framework's capabilities.
Mini-Aime: Bringing the future of multi-agent systems to life
