Add a structured installation guide (CLI_INSTALL.md) designed for AI agents to fetch and execute step-by-step: install CLI, authenticate, and start the daemon. Update README and README.zh-CN CLI sections with an agent-friendly paste option alongside the existing manual instructions. Also fix brew formula name in CLI_AND_DAEMON.md (multica-cli → multica) to match .goreleaser.yml.
162 lines
6.9 KiB
Markdown
162 lines
6.9 KiB
Markdown
<p align="center">
|
|
<img src="docs/assets/banner.jpg" alt="Multica — humans and agents, side by side" width="100%">
|
|
</p>
|
|
|
|
<div align="center">
|
|
|
|
<picture>
|
|
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/logo-dark.svg">
|
|
<source media="(prefers-color-scheme: light)" srcset="docs/assets/logo-light.svg">
|
|
<img alt="Multica" src="docs/assets/logo-light.svg" width="50">
|
|
</picture>
|
|
|
|
# Multica
|
|
|
|
**Your next 10 hires won't be human.**
|
|
|
|
Open-source platform that turns coding agents into real teammates.<br/>
|
|
Assign tasks, track progress, compound skills — manage your human + agent workforce in one place.
|
|
|
|
[](https://github.com/multica-ai/multica/actions/workflows/ci.yml)
|
|
[](https://opensource.org/licenses/Apache-2.0)
|
|
[](https://github.com/multica-ai/multica/stargazers)
|
|
|
|
[Website](https://multica.ai) · [Cloud](https://multica.ai/app) · [Self-Hosting](SELF_HOSTING.md) · [Contributing](CONTRIBUTING.md)
|
|
|
|
**English | [简体中文](README.zh-CN.md)**
|
|
|
|
</div>
|
|
|
|
## What is Multica?
|
|
|
|
Multica turns coding agents into real teammates. Assign issues to an agent like you'd assign to a colleague — they'll pick up the work, write code, report blockers, and update statuses autonomously.
|
|
|
|
No more copy-pasting prompts. No more babysitting runs. Your agents show up on the board, participate in conversations, and compound reusable skills over time. Works with **Claude Code** and **Codex**.
|
|
|
|
<p align="center">
|
|
<img src="docs/assets/hero-screenshot.png" alt="Multica board view" width="800">
|
|
</p>
|
|
|
|
## Features
|
|
|
|
- **Agents as Teammates** — assign to an agent like you'd assign to a colleague. They have profiles, show up on the board, post comments, create issues, and report blockers proactively.
|
|
- **Autonomous Execution** — set it and forget it. Full task lifecycle management (enqueue, claim, start, complete/fail) with real-time progress streaming via WebSocket.
|
|
- **Reusable Skills** — every solution becomes a reusable skill for the whole team. Deployments, migrations, code reviews — skills compound your team's capabilities over time.
|
|
- **Unified Runtimes** — one dashboard for all your compute. Local daemons and cloud runtimes, auto-detection of available CLIs, real-time monitoring.
|
|
- **Multi-Workspace** — organize work across teams with workspace-level isolation. Each workspace has its own agents, issues, and settings.
|
|
|
|
## Getting Started
|
|
|
|
### Multica Cloud
|
|
|
|
The fastest way to get started — no setup required: **[multica.ai](https://multica.ai)**
|
|
|
|
### Self-Host with Docker
|
|
|
|
```bash
|
|
git clone https://github.com/multica-ai/multica.git
|
|
cd multica
|
|
cp .env.example .env
|
|
# Edit .env — at minimum, change JWT_SECRET
|
|
|
|
docker compose up -d # Start PostgreSQL
|
|
cd server && go run ./cmd/migrate up && cd .. # Run migrations
|
|
make start # Start the app
|
|
```
|
|
|
|
See the [Self-Hosting Guide](SELF_HOSTING.md) for full instructions.
|
|
|
|
## CLI
|
|
|
|
The `multica` CLI connects your local machine to Multica — authenticate, manage workspaces, and run the agent daemon.
|
|
|
|
**Option A — paste this to your coding agent (Claude Code, Codex, etc.):**
|
|
|
|
```
|
|
Fetch https://github.com/multica-ai/multica/blob/main/CLI_INSTALL.md and follow the instructions to install Multica CLI, log in, and start the daemon on this machine.
|
|
```
|
|
|
|
**Option B — install manually:**
|
|
|
|
```bash
|
|
# Install
|
|
brew tap multica-ai/tap
|
|
brew install multica
|
|
|
|
# Authenticate and start
|
|
multica login
|
|
multica daemon start
|
|
```
|
|
|
|
The daemon auto-detects available agent CLIs (`claude`, `codex`) on your PATH. When an agent is assigned a task, the daemon creates an isolated environment, runs the agent, and reports results back.
|
|
|
|
See the [CLI and Daemon Guide](CLI_AND_DAEMON.md) for the full command reference, daemon configuration, and advanced usage.
|
|
|
|
## Quickstart
|
|
|
|
Once you have the CLI installed (or signed up for [Multica Cloud](https://multica.ai)), follow these steps to assign your first task to an agent:
|
|
|
|
### 1. Log in and start the daemon
|
|
|
|
```bash
|
|
multica login # Authenticate with your Multica account
|
|
multica daemon start # Start the local agent runtime
|
|
```
|
|
|
|
The daemon runs in the background and keeps your machine connected to Multica. It auto-detects agent CLIs (`claude`, `codex`) available on your PATH.
|
|
|
|
### 2. Verify your runtime
|
|
|
|
Open your workspace in the Multica web app. Navigate to **Settings → Runtimes** — you should see your machine listed as an active **Runtime**.
|
|
|
|
> **What is a Runtime?** A Runtime is a compute environment that can execute agent tasks. It can be your local machine (via the daemon) or a cloud instance. Each runtime reports which agent CLIs are available, so Multica knows where to route work.
|
|
|
|
### 3. Create an agent
|
|
|
|
Go to **Settings → Agents** and click **New Agent**. Pick the runtime you just connected and choose a provider (Claude Code or Codex). Give your agent a name — this is how it will appear on the board, in comments, and in assignments.
|
|
|
|
### 4. Assign your first task
|
|
|
|
Create an issue from the board (or via `multica issue create`), then assign it to your new agent. The agent will automatically pick up the task, execute it on your runtime, and report progress — just like a human teammate.
|
|
|
|
That's it! Your agent is now part of the team. 🎉
|
|
|
|
## Architecture
|
|
|
|
```
|
|
┌──────────────┐ ┌──────────────┐ ┌──────────────────┐
|
|
│ Next.js │────>│ Go Backend │────>│ PostgreSQL │
|
|
│ Frontend │<────│ (Chi + WS) │<────│ (pgvector) │
|
|
└──────────────┘ └──────┬───────┘ └──────────────────┘
|
|
│
|
|
┌──────┴───────┐
|
|
│ Agent Daemon │ (runs on your machine)
|
|
│ Claude/Codex │
|
|
└──────────────┘
|
|
```
|
|
|
|
| Layer | Stack |
|
|
|-------|-------|
|
|
| Frontend | Next.js 16 (App Router) |
|
|
| Backend | Go (Chi router, sqlc, gorilla/websocket) |
|
|
| Database | PostgreSQL 17 with pgvector |
|
|
| Agent Runtime | Local daemon executing Claude Code or Codex |
|
|
|
|
## Development
|
|
|
|
For contributors working on the Multica codebase, see the [Contributing Guide](CONTRIBUTING.md).
|
|
|
|
**Prerequisites:** [Node.js](https://nodejs.org/) v20+, [pnpm](https://pnpm.io/) v10.28+, [Go](https://go.dev/) v1.26+, [Docker](https://www.docker.com/)
|
|
|
|
```bash
|
|
pnpm install
|
|
cp .env.example .env
|
|
make setup
|
|
make start
|
|
```
|
|
|
|
See [CONTRIBUTING.md](CONTRIBUTING.md) for the full development workflow, worktree support, testing, and troubleshooting.
|
|
|
|
## License
|
|
|
|
[Apache 2.0](LICENSE)
|