The open-source managed agents platform. Turn coding agents into real teammates — assign tasks, track progress, compound skills. https://multica.ai
Find a file
Jiayuan Zhang 317e87fb97
Merge pull request #234 from multica-ai/forrestchang/impl-plan
feat: implement full-stack business logic with API, auth, real-time, and tests
2026-03-22 11:59:03 +08:00
.github/workflows feat: pivot to AI-native task management platform (#232) 2026-03-20 17:55:49 +08:00
apps/web fix(web): resolve TypeScript errors in test mocks and knowledge-base page 2026-03-22 11:57:23 +08:00
e2e fix(e2e): use .first() for create issue assertion to avoid strict mode violation 2026-03-22 11:53:29 +08:00
packages feat(server): implement full REST API with JWT auth and real-time WebSocket 2026-03-22 11:50:03 +08:00
server chore: add one-click setup/start/stop scripts, migration CLI, and seed tool 2026-03-22 11:50:33 +08:00
.env.example feat: pivot to AI-native task management platform (#232) 2026-03-20 17:55:49 +08:00
.gitignore chore: add one-click setup/start/stop scripts, migration CLI, and seed tool 2026-03-22 11:50:33 +08:00
.npmrc refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
CLAUDE.md chore: add one-click setup/start/stop scripts, migration CLI, and seed tool 2026-03-22 11:50:33 +08:00
docker-compose.yml feat: pivot to AI-native task management platform (#232) 2026-03-20 17:55:49 +08:00
Makefile chore: add one-click setup/start/stop scripts, migration CLI, and seed tool 2026-03-22 11:50:33 +08:00
package.json test: add comprehensive test suite (Go unit/integration, Vitest, Playwright E2E) 2026-03-22 11:50:25 +08:00
playwright.config.ts test: add comprehensive test suite (Go unit/integration, Vitest, Playwright E2E) 2026-03-22 11:50:25 +08:00
pnpm-lock.yaml test: add comprehensive test suite (Go unit/integration, Vitest, Playwright E2E) 2026-03-22 11:50:25 +08:00
pnpm-workspace.yaml feat: pivot to AI-native task management platform (#232) 2026-03-20 17:55:49 +08:00
README.md docs: add README with project setup and run instructions 2026-03-21 14:05:51 +08:00
tsconfig.base.json feat: pivot to AI-native task management platform (#232) 2026-03-20 17:55:49 +08:00
turbo.json feat: pivot to AI-native task management platform (#232) 2026-03-20 17:55:49 +08:00

Multica

AI-native task management platform — like Linear, but with AI agents as first-class citizens.

Prerequisites

Quick Start

# 1. Install dependencies
pnpm install

# 2. Copy environment variables
cp .env.example .env

# 3. Start PostgreSQL
docker compose up -d

# 4. Run database migrations
make migrate-up

# 5. Start the Go backend (port 8080)
make dev

# 6. In another terminal, start the frontend (port 3000)
pnpm dev:web

Open http://localhost:3000 in your browser.

Project Structure

├── server/             # Go backend (Chi + sqlc + gorilla/websocket)
│   ├── cmd/            # server, daemon, migrate, seed
│   ├── internal/       # Core business logic
│   ├── migrations/     # SQL migrations
│   └── sqlc.yaml       # sqlc config
├── apps/
│   └── web/            # Next.js 16 frontend
├── packages/           # Shared TypeScript packages
│   ├── ui/             # Component library (shadcn/ui + Radix)
│   ├── types/          # Shared type definitions
│   ├── sdk/            # API client SDK
│   ├── store/          # State management
│   ├── hooks/          # Shared React hooks
│   └── utils/          # Utility functions
├── Makefile            # Backend commands
├── docker-compose.yml  # PostgreSQL + pgvector
└── .env.example        # Environment variable template

Commands

Frontend

Command Description
pnpm dev:web Start Next.js dev server (port 3000)
pnpm build Build all TypeScript packages
pnpm typecheck Run TypeScript type checking
pnpm test Run TypeScript tests

Backend

Command Description
make dev Run Go server (port 8080)
make daemon Run local agent daemon
make test Run Go tests
make build Build server & daemon binaries
make sqlc Regenerate sqlc code from SQL

Database

Command Description
docker compose up -d Start PostgreSQL
docker compose down Stop PostgreSQL
make migrate-up Run database migrations
make migrate-down Rollback database migrations
make seed Seed test data

Environment Variables

See .env.example for all available variables:

  • DATABASE_URL — PostgreSQL connection string
  • PORT — Backend server port (default: 8080)
  • JWT_SECRET — JWT signing secret
  • GOOGLE_CLIENT_ID / GOOGLE_CLIENT_SECRET — Google OAuth (optional)
  • NEXT_PUBLIC_API_URL — Frontend → backend API URL
  • NEXT_PUBLIC_WS_URL — Frontend → backend WebSocket URL