Get the Mini Agent Platform up and running in minutes.
For detailed project information, architecture, and API documentation, see README.md
# 1. Clone and setup
git clone <repository-url>
cd mini_agent_platform
./setup.sh
# 2. Start database (if using Docker)
./run-db.sh
# 3. Start the platform
./start.shThat's it! The API will be available at http://localhost:8000/docs
- Python: 3.8 or higher
- MySQL: 8.0 or higher (or use Docker)
- pip: Python package manager
git clone <repository-url>
cd mini_agent_platform./setup.shThis will create a virtual environment and install all dependencies.
./run-db.sh- Install MySQL 8.0+ on your system
- Create database:
CREATE DATABASE agent_platform; - Ensure MySQL is running on
localhost:3306
Default settings in app/config.py:
- Database URL:
mysql+pymysql://root:password@localhost:3306/agent_platform - API Keys:
api_key_tenant_1→tenant_1,api_key_tenant_2→tenant_2 - Supported Models:
gpt-4o,claude-sonnet-4.5
Optional: Create .env file to override:
DATABASE_URL=mysql+pymysql://root:password@localhost:3306/agent_platform./setup.sh # First time only
./start.sh # Start the platform
./stop.sh # Stop the platformsource .venv/bin/activate # Linux/Mac
.venv\Scripts\activate # Windows
alembic upgrade head
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000- API Docs: http://localhost:8000/docs
- Health Check: http://localhost:8000/health
./test.sh # Run all tests
./test.sh test_tools.py # Run specific test fileOr manually:
pytest tests/ -v# Apply migrations
alembic upgrade head
# Create new migration (after model changes)
alembic revision --autogenerate -m "Description"
alembic upgrade head# Check if MySQL is running
docker ps # If using Docker
# Verify connection string in app/config.py or .env# Use different port
uvicorn app.main:app --reload --port 8001chmod +x setup.sh start.sh stop.sh test.sh run-db.shNeed more details? Check out README.md for full documentation.