Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go
4.9 KB
Raw Blame

Multica CLI — Installation Guide for AI Agents

Audience: This document is designed for AI agents (Claude Code, Codex, etc.) to read and execute step-by-step. Each step includes the exact shell commands to run, expected outcomes, and error handling.

One-Line Instruction for Users

Give this instruction to your AI agent:

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.

Step 1: Check if Multica CLI is already installed

Run:

multica version
  • If it prints a version string (e.g. multica v0.x.x): skip to Step 3.
  • If command not found: continue to Step 2.

Step 2: Install the Multica CLI

Windows users: Skip to Option C: Windows (PowerShell) below.

Option A: Homebrew (preferred — macOS/Linux)

Check if Homebrew is available:

which brew

If brew is found, install via Homebrew:

brew install multica-ai/tap/multica

Then verify:

multica version

If the version prints successfully, skip to Step 3.

To upgrade later, run:

brew upgrade multica-ai/tap/multica

Option B: Download from GitHub Releases (macOS/Linux, no Homebrew)

Without Homebrew, the installer detects the OS and CPU architecture and downloads the matching CLI archive from GitHub Releases.

curl -fsSL https://raw.githubusercontent.com/multica-ai/multica/main/scripts/install.sh | bash

Verify the installation in your shell:

multica version

If the command is missing, check that the installation directory printed by the script is on your PATH. If it installed to ~/.local/bin, you may need to restart your shell.

Option C: Windows (PowerShell)

Run in PowerShell (no admin required):

irm https://raw.githubusercontent.com/multica-ai/multica/main/scripts/install.ps1 | iex

This downloads the latest Windows binary from GitHub Releases, installs it to %USERPROFILE%\.multica\bin\, and adds it to your user PATH.

Verify:

multica version

If this fails:

  • Restart your terminal so the updated PATH takes effect.
  • If your execution policy blocks the script: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned then re-run.

Step 3: Log in

Run:

multica login

Important: This command opens a browser window for OAuth authentication. Tell the user:

"A browser window will open for Multica login. Please complete the authentication in your browser, then come back here."

Wait for the command to complete. It will automatically discover and watch all workspaces the user belongs to.

Verify:

multica auth status

Expected output should show the authenticated user and server URL.

If login fails:

  • If no browser is available (headless environment), the user can generate a Personal Access Token at https://multica.ai/settings?tab=tokens and run: multica login --token <mul_...> (use --token= with an empty value to be prompted interactively).
  • If the server URL needs to be customized: multica config set server_url <url> before logging in.

Step 4: Start the daemon

First, check if the daemon is already running:

multica daemon status
  • If status is "running": skip to Step 5.
  • If status is "stopped": start it:
multica daemon start

Wait 3 seconds, then verify:

multica daemon status

Expected output should show running status with detected agents (e.g. claude, codex, copilot, opencode, openclaw, hermes, pi, cursor-agent, grok).

If daemon fails to start:

  • Check logs: multica daemon logs
  • If a port conflict occurs, the daemon may already be running under a different profile.
  • If no agents are detected, ensure at least one AI CLI (claude, codex, copilot, opencode, openclaw, hermes, pi, cursor-agent, or grok) is installed and on the $PATH.

Step 5: Verify everything is working

Run:

multica daemon status

Confirm:

  1. Status is running
  2. At least one agent is listed (e.g. claude, codex, copilot, opencode, openclaw, hermes, pi, cursor-agent, or grok)
  3. At least one workspace is being watched

If the agents list is empty, tell the user:

"The Multica daemon is running but no AI agent CLIs were detected. Please install at least one supported CLI (claude, codex, copilot, opencode, openclaw, hermes, pi, cursor-agent, or grok), then restart the daemon with multica daemon stop && multica daemon start."


Summary

When all steps are complete, inform the user:

"Multica CLI is installed and the daemon is running. Agents in your workspaces can now execute tasks on this machine. You can manage workspaces with multica workspace list and view daemon logs with multica daemon logs -f."