Getting Started
Prerequisites
Section titled “Prerequisites”- Docker + Docker Compose
- Bun (server)
- Go 1.25+ (agents, MCP)
- CompileDaemon (Go hot reload for
tilt up) - Flutter SDK (client)
- Inngest CLI (
npx inngest-cli@latest) - Hosted S3-compatible object storage bucket (S3 / R2 / Railway / etc.)
- Tilt (recommended)
1. Clone and install
Section titled “1. Clone and install”git clone https://github.com/arcnem-ai/arcnem-vision.gitcd arcnem-visioncd server && bun i # TypeScript dependenciescd models && go work sync # Go workspacecd client && flutter pub get # Flutter packages2. Configure environment
Section titled “2. Configure environment”cp server/packages/api/.env.example server/packages/api/.envcp server/packages/db/.env.example server/packages/db/.envcp models/agents/.env.example models/agents/.envcp models/mcp/.env.example models/mcp/.envcp client/.env.example client/.envYou’ll need:
- Hosted S3-compatible bucket — endpoint, bucket, and credentials in
server/packages/api/.envandmodels/agents/.env(for example AWS S3, Cloudflare R2, Railway Object Storage) - OpenAI API key —
OPENAI_API_KEYinmodels/agents/.env - Replicate token —
REPLICATE_API_TOKENinmodels/mcp/.env - Database URL —
postgres://postgres:postgres@localhost:5480/postgresin the DB-related env files
3. Start infrastructure
Section titled “3. Start infrastructure”docker compose up -d postgres redis4. Migrate and seed
Section titled “4. Migrate and seed”cd server/packages/db && bun run db:generate && bun run db:migrate && bun run db:seedThe seed prints a usable API key. For auto-auth in the Flutter app during development, set DEBUG_SEED_API_KEY=... in client/.env.
5. Run everything
Section titled “5. Run everything”One command (recommended):
tilt uptilt up launches the full local stack and gives you the Tilt UI (typically http://localhost:10350) to inspect logs and run manual resources such as seed/introspection tasks.
Or manually — run each in a separate terminal:
cd server/packages/api && bun run dev # API on :3000cd server/packages/dashboard && bun run dev # Dashboard on :3001cd models/agents && go run . # Agents on :3020cd models/mcp && go run . # MCP on :3021npx inngest-cli@latest dev -u http://localhost:3020/api/inngest # Job queuecd client && flutter run -d chrome # Flutter clientHealth checks
Section titled “Health checks”GET http://localhost:3000/health # APIGET http://localhost:3020/health # AgentsGET http://localhost:3021/health # MCP