Installation
Set up the AI Agent Automation Platform locally or with Docker. No cloud required. Everything runs on your machine.
Prerequisites
Setup Steps
1Clone the Repository
git clone https://github.com/vmDeshpande/ai-agent-automation.git
cd ai-agent-automation2Backend Configuration
Install backend dependencies and configure environment variables.
cd backend
npm install
cp .env.example .envEdit backend/.env and fill in the required values:MONGO_URI, JWT_SECRET, and at least one LLM provider key.
3Frontend Configuration
Install frontend dependencies.
cd ../frontend
npm install4Start MongoDB
MongoDB must run with a replica set enabled. For local development, start mongod with the --replSet flag, or use Docker:
docker run -d -p 27017:27017 --name mongo mongo:7 --replSet rs0 --bind_ip_all5Start the Backend
cd backend
npm run devThe API server starts on http://localhost:5000.
6Start the Worker
Open a new terminal and start the worker process. The worker polls for pending tasks and executes workflow steps.
cd backend
npm run worker7Start the Frontend
cd frontend
npm run devOpen http://localhost:3000 in your browser.
Docker Quick Start
The fastest way to run the complete platform is with Docker Compose. It provisions MongoDB with a replica set, the backend API, the worker, the frontend, and an optional nginx proxy.
cp infra/.env.example infra/.env
docker compose up --buildAccess the frontend at http://localhost:3000 and the API at http://localhost:5000.