Use this when you want faster iteration outside the full Docker runtime. Services run on your host while infrastructure (Milvus, MinIO, Phoenix) stays in Docker.
The fastest way to get running locally:
./install.sh # install deps + start all 8 services
./stop.sh # stop everythinginstall.sh handles prerequisite checks, dependency installation, environment setup, and launches all services in the background with health checks. Logs are written to logs/<service>.log.
- Python 3.12+
- uv package manager
- Node.js 18+ and pnpm
- Docker (for infrastructure services)
- NVIDIA API key configured in
.env
Local development still requires the infrastructure stack running in Docker:
docker network create acp-infra-network || true
docker compose -f docker-compose.infra.yml up -dWhen running locally, agents are accessible on host ports:
curl http://localhost:8002/health # promotion
curl http://localhost:8003/health # post-purchase
curl http://localhost:8004/health # recommendation
curl http://localhost:8005/health # search| Service | URL |
|---|---|
| Demo UI | http://localhost:3000 |
| Merchant API | http://localhost:8000/docs |
| PSP | http://localhost:8001/docs |
| Apps SDK MCP | http://localhost:2091/docs |
| Phoenix Traces | http://localhost:6006 (requires Docker infra) |
| MinIO Console | http://localhost:9001 (requires Docker infra) |
Step-by-step manual setup (without install.sh)
docker network create acp-infra-network || true
docker compose -f docker-compose.infra.yml up -dRun each service in a separate terminal:
# Terminal 1
uv venv
source .venv/bin/activate
uv sync
uvicorn src.merchant.main:app --reload# Terminal 2
source .venv/bin/activate
uvicorn src.payment.main:app --reload --port 8001# Terminal 3
source .venv/bin/activate
uvicorn src.apps_sdk.main:app --reload --port 2091Run each agent in a separate terminal:
# Setup once
cd src/agents
uv venv
source .venv/bin/activate
uv pip install -e ".[dev]"# Terminal 4
cd src/agents
source .venv/bin/activate
nat serve --config_file configs/promotion.yml --port 8002# Terminal 5
cd src/agents
source .venv/bin/activate
nat serve --config_file configs/post-purchase.yml --port 8003# Terminal 6
cd src/agents
source .venv/bin/activate
nat serve --config_file configs/recommendation.yml --port 8004# Terminal 7
cd src/agents
source .venv/bin/activate
nat serve --config_file configs/search.yml --port 8005cd src/ui
cp env.example .env.local
pnpm install
pnpm devOptional Apps SDK widget dev server:
cd src/apps_sdk/web
pnpm install
pnpm dev