A powerful, scalable ecosystem for managing and monitoring AI agents. This system provides a framework for deploying, managing, and monitoring multiple AI agents working together to accomplish complex tasks.
-
Multiple Agent Types
- ROI Optimization Agent
- Marketplace Manager Agent
- Analytics Agent
-
Real-time Monitoring
- Health checks
- Performance metrics
- Resource utilization
- Error tracking
-
Modern Web Interface
- Real-time dashboard
- Agent management
- Metrics visualization
- System configuration
The system consists of several components:
-
Backend (FastAPI)
- RESTful API endpoints
- Agent management
- Metrics collection
- Health monitoring
-
Frontend (React)
- Modern Material-UI interface
- Real-time updates
- Interactive dashboards
- Configuration management
-
Monitoring Stack
- Prometheus for metrics collection
- Grafana for visualization
- Custom dashboards
- Python 3.8+
- Node.js 14+
- Docker and Docker Compose
- Git
- Clone the repository:
git clone https://github.com/yourusername/ai-agent-ecosystem.git
cd ai-agent-ecosystem
- Install Python dependencies:
pip install -r requirements.txt
- Install frontend dependencies:
cd frontend
npm install
cd ..
- Start the monitoring stack:
docker compose up -d
- Start the backend server:
python -m src.main
- Start the frontend development server:
cd frontend
npm start
-
Backend configuration is managed through environment variables. Copy
.env.sample
to.env
and adjust as needed. -
Frontend configuration can be modified in
frontend/.env
. -
Monitoring stack configuration:
- Prometheus:
prometheus.yml
- Grafana:
grafana/provisioning/
- Prometheus:
-
Access the web interface at http://localhost:3002
-
Monitor your agents:
- Dashboard: http://localhost:3002/
- Agents: http://localhost:3002/agents
- Metrics: http://localhost:3002/metrics
- Settings: http://localhost:3002/settings
-
Access monitoring tools:
- Prometheus: http://localhost:9090
- Grafana: http://localhost:3003 (admin/admin)
- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
-
Adding New Agents
- Extend the
BaseAgent
class - Implement required methods
- Register in
AgentFactory
- Extend the
-
Adding Metrics
- Use the
MetricsCollector
class - Define new metrics in
metrics.py
- Update Grafana dashboards
- Use the
-
Custom Dashboards
- Add JSON definitions in
grafana/dashboards/
- Update provisioning configuration
- Add JSON definitions in
pytest tests/
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- FastAPI for the backend framework
- React and Material-UI for the frontend
- Prometheus and Grafana for monitoring
- All contributors and users of this project