Installation
Prerequisites
Before installing CAMI, ensure you have:
- Go 1.21+ installed (
go versionto check) - Git installed (
git --version) - sudo access (for installing binary to
/usr/local/bin) - Claude Code (claude.ai/code)
Installation Steps
1. Clone CAMI Repository
# Clone the repositorygit clone https://github.com/lando-labs/cami.gitcd cami2. Build and Install
# Build Go binary and install CAMImake installThis command:
- Builds the CAMI Go binary
- Creates
~/cami-workspace/with templates and configuration - Installs
camibinary to/usr/local/bin/(requires sudo)
What gets created:
~/cami-workspace/ # Your CAMI workspace├── CLAUDE.md # CAMI documentation├── README.md # Quick start guide├── .mcp.json # MCP server config (local)├── .gitignore # Git ignore rules├── .claude/│ └── agents/ # CAMI's own agents│ └── agent-architect.md├── sources/│ └── my-agents/ # Your custom agents directory│ └── .camiignore # Exclude non-agent files/usr/local/bin/cami # Binary on your PATH3. Verify Installation
# Check CAMI is installedcami --version# Output: CAMI v0.3.0 - Claude Agent Management Interface# Check CAMI helpcami --helpIf you see the version and help output, CAMI is successfully installed!
Platform Notes
macOS (Intel and Apple Silicon)
Works on both Intel and Apple Silicon (arm64). The make install command will:
- Build for your current architecture
- Ask for sudo password to install to
/usr/local/bin
Linux
Requires:
- Go 1.21+ installed
- sudo access for installation
Then follow standard installation instructions above.
WSL (Windows Subsystem for Linux)
CAMI works on WSL2. Requirements:
- Go 1.21+ installed in WSL (not Windows)
- sudo access configured in WSL
- Git configured in WSL
Then follow standard installation instructions above.
What Gets Installed
1. CAMI Binary (/usr/local/bin/cami)
Single Go binary with dual modes:
MCP Server Mode (primary):
cami --mcp# Runs as MCP server for Claude Code integrationCLI Mode (secondary):
cami list # List available agentscami deploy frontend backend ~/projects/my-appcami scan ~/projects/my-app # Check deployed agentscami source list # List agent sources2. CAMI Workspace (~/cami-workspace/)
Your agent management headquarters:
- CLAUDE.md: Complete CAMI documentation for Claude context
- README.md: Quick start guide
- .mcp.json: MCP server configuration (local to workspace)
- .gitignore: Pre-configured git ignore rules
- .claude/agents/: CAMI's own agents (agent-architect, etc.)
- sources/my-agents/: Directory for your custom agents
Configuring Claude Code
CAMI's MCP server is pre-configured in ~/cami-workspace/.mcp.json:
{ "mcpServers": { "cami": { "command": "cami", "args": ["--mcp"] } }}This works automatically when you open Claude Code in ~/cami-workspace/.
Global MCP Setup (Optional)
To use CAMI from any directory:
Add to ~/.claude/settings.json:
{ "mcpServers": { "cami": { "command": "cami", "args": ["--mcp"] } }}Note: You'll need to restart Claude Code after modifying settings.
Troubleshooting
"Go Not Found"
Problem: make install fails with "go: command not found"
Solution:
# Install Go 1.21+# macOS:brew install go# Linux:wget https://go.dev/dl/go1.21.0.linux-amd64.tar.gzsudo tar -C /usr/local -xzf go1.21.0.linux-amd64.tar.gzexport PATH=$PATH:/usr/local/go/bin# Verifygo version"Permission Denied" Installing Binary
Problem: Cannot install to /usr/local/bin
Solution:
# Option 1: Use sudosudo make install# Option 2: Install to user directorymkdir -p ~/bincp cami ~/bin/export PATH=$PATH:~/bin # Add to ~/.bashrc or ~/.zshrc"Workspace Directory Already Exists"
Problem: ~/cami-workspace/ already exists
Solution:
# Option 1: Remove existing workspacerm -rf ~/cami-workspacemake install# Option 2: Keep existing workspace# Just build and install binarymake buildsudo cp cami /usr/local/bin/CAMI Tools Not Available in Claude Code
Problem: Claude doesn't see CAMI MCP tools
Solutions:
- Verify CAMI is on PATH:
which cami - Check
.mcp.jsonexists in~/cami-workspace/ - Open Claude Code in
~/cami-workspace/directory - For global access, verify
~/.claude/settings.jsonis configured - Restart Claude Code completely
Build Errors
Problem: make build fails
Solutions:
# Ensure Go modules are downloadedgo mod download# Clean and rebuildmake cleanmake build# Check Go version (must be 1.21+)go versionManual Installation (Advanced)
If you prefer manual setup:
# 1. Build CAMI binarycd camigo build -o cami ./cmd/cami# 2. Install binarysudo cp cami /usr/local/bin/# 3. Create workspacemkdir -p ~/cami-workspace/sources/my-agentsmkdir -p ~/cami-workspace/.claude/agents# 4. Copy templatescp install/templates/CLAUDE.md ~/cami-workspace/cp install/templates/README.md ~/cami-workspace/cp install/templates/.mcp.json ~/cami-workspace/cp install/templates/.gitignore ~/cami-workspace/cp install/templates/.camiignore ~/cami-workspace/sources/my-agents/# 5. Copy CAMI's agentscp install/templates/agent-architect.md ~/cami-workspace/.claude/agents/# 6. Verifycami --versionUninstalling CAMI
To remove CAMI:
# Remove binarysudo rm /usr/local/bin/cami# Remove workspace (optional - contains your custom agents!)rm -rf ~/cami-workspace# Remove global config (if configured)# Edit ~/.claude/settings.json and remove "cami" entryWarning: Removing ~/cami-workspace/ deletes your custom agents! Back up sources/my-agents/ first if needed.
Next Steps
CAMI is installed! Now:
- Complete first-time setup - Add agent sources
- Deploy your first agent - See CAMI in action
- Explore CLI commands - Learn scripting workflows
Build from Source (Development)
Contributing to CAMI? See development setup:
# Clone repositorygit clone https://github.com/lando-labs/cami.gitcd cami# Open in Claude Code (uses go run for dev)claude# Build for current platformmake build# Run testsmake test# Build for all platformsmake release-allThe CAMI repository includes .mcp.json configured with go run for zero-setup development.