The LocalStack for AI Agents - Enterprise-grade mock API platform for OpenAI, Anthropic, Google Gemini. Develop, Test, and Scale AI Agents locally without burning API credits.
<!--  -->
**The LocalStack for AI Agents** - Enterprise-grade mock API platform for OpenAI, Anthropic, Google Gemini.
Develop, Test, and Scale AI Agents locally without burning API credits.
[](https://www.gnu.org/licenses/agpl-3.0)
[](https://www.python.org/downloads/)
[](https://hub.docker.com/r/ai-localstack/ai-localstack)
> **Save $500-50,000/month** on API costs while making tests **80× faster** and **100% reliable**.
> "If you are building Agents, you need this."
---
## 🚀 Quick Start (Docker Compose)
The easiest way to run AI LocalStack is using Docker Compose. This spins up the API, Database, Vector Store, and Redis cache instantly.
---
### 👉 Windows (One-Click)
Simply run the `start_windows.bat` file in the root directory.
It will:
1. Check Docker status
2. Build the project
3. Open the Dashboard in your browser automatically.
---
### 👉 Mac/Linux (Terminal)
### 1. Start the Stack
Navigate to the `ai-localstack` backend directory and start the services:
```bash
cd ai-localstack
docker-compose up --build
```
This will start the following services:
- **API**: `http://localhost:8000`
- **Qdrant** (Vector DB): `localhost:6333`
- **PostgreSQL**: `localhost:5432`
- **Redis**: `localhost:6379`
### 2. Verify Installation
```bash
# Health check
curl http://localhost:8000/health
# {"status":"ok"}
```
---
### 3. Enable Magic Mode (Optional / Extension)
To use the **"Magic Record"** feature (Proxy to Real OpenAI once -> Save -> Replay forever):
1. **Edit Environment**:
Open `ai-localstack/.env` and add:
```properties
AI_LOCALSTACK_PROXY_MODE=True
AI_LOCALSTACK_OPENAI_REAL_KEY=sk-your-real-openai-key
```
2. **Restart**:
```bash
docker-compose restart
```
3. **Usage**:
- RunGoogle's AI-powered research notebook that ingests your documents and becomes an expert on your content. Generates audio overviews, study guides, FAQs, and interactive discussions from uploaded sources.
Google DeepMind's experimental AI agent that can navigate websites, fill forms, and complete multi-step browser tasks autonomously. Uses Gemini's multimodal understanding to interact with web interfaces.
Google DeepMind's universal AI assistant prototype that can see, hear, and respond in real-time through your device camera and microphone. Demonstrates the future of multimodal AI interaction.
Google Cloud's enterprise platform for building, deploying, and managing AI agents powered by Gemini. Supports multi-agent orchestration, tool integration, and enterprise governance.
Gemini's agentic research capability that autonomously browses the web, synthesizes information from dozens of sources, and produces comprehensive research reports on any topic.
Interactive coding and content creation agent that generates, previews, and iterates on code, documents, and interactive applications in a side panel. Supports HTML/CSS/JS, Python, and more.