Documentation Index
Fetch the complete documentation index at: https://docs.auvy.ai/llms.txt
Use this file to discover all available pages before exploring further.
Local Development
This page is the contributor-facing quick path for running the monorepo. The deeper internal source of truth still lives indocs/SETUP.md.
Prerequisites
- Bun
>= 1.0 - Node.js
18-24for the Mintlify docs app - Docker for Redis (repo compose); Qdrant and MongoDB run per
docs/SETUP.md
Fast start
bun dev runs the API first, then the dashboard, agent-end, MCP, Connect, and bots in parallel (see root package.json). bun dev:all is an alias for bun dev.
Open:
- dashboard:
http://localhost:3000 - API:
http://localhost:3001 - agent-end:
http://localhost:3002(background worker; seeapps/agent-end) - MCP:
http://localhost:3003/mcp - Connect:
http://localhost:3004 - bots:
http://localhost:3005(Teams bot control + worker)
Docs workflow
Mintlify requires Node.js< 25, so use Node 20 when working on apps/docs:
Common commands
| Command | Purpose |
|---|---|
bun dev / bun dev:all | Full stack: web, API, agent-end, MCP, Connect, bots |
bun dev:web | Dashboard only |
bun dev:api | API only |
bun dev:agent-end | Agent-end only |
bun dev:mcp | MCP server only |
bun dev:connect | Connect only |
bun dev:bots | Bots app only |
bun dev:docs | Mintlify docs dev server (Node 18–24; see apps/docs/README.md) |
bun dev:kill | Free ports 3000–3005 if something is stuck |
bun build | Production build for the dashboard (apps/web) |
bun build:docs / bun build:all | Validate Mintlify docs / dashboard + docs |
bun preview | Preview the production dashboard build locally |
bun typecheck | Typecheck dashboard (apps/web) |
bun typecheck:all | Typecheck every workspace |
bun typecheck:ci | Same as CI: typecheck ./apps/* and ./packages/* via Turbo (SDK dist/ when required) + kernel verify — scripts/run-typecheck-ci.mjs |
bun ci:local | Frozen install + typecheck:ci + dashboard production build |
bun lint | Package boundaries + Connect import boundaries |
bun dbs:up / bun dbs:down | Start or stop Redis (Docker Compose) |
Environment notes
- The repo uses a single root
.env AUVY_AUTH_SUPABASE_*covers auth/platform dataAUVY_PRODUCT_SUPABASE_*covers product/workspace data- Most apps load the root
.envautomatically
Troubleshooting
| Issue | Fix |
|---|---|
| Docs fail to start | Switch to Node 18–24 and rerun bun dev:docs |
| Ports already in use | Run bun dev:kill |
Port 3000 conflict between dashboard and Mintlify | Stop the dashboard or run docs on another port (Mintlify picks the next free port when 3000 is taken) |
| Connect features are failing in web | Ensure both the API and Connect are running locally |
Nuxt / Vercel build cannot resolve @auvy-synapse/connect-client/dist/... | Run bun install from the repo root. nuxt.config resolves Connect URL from @auvy-synapse/kernel; Vite aliases workspace packages to packages/*/src. See Developer overview |
| Infra-backed features fail | Check bun dbs:status and verify Redis, Qdrant, and MongoDB are up |
Related
- Developer overview for app/package boundaries
- Documentation site for editing and validating the Mintlify docs app
- TypeScript SDK for external app integration