Skip to main content
Before you initialize any project, run liza setup once per machine to install Liza’s global contract files. This command writes behavioral contracts, composable skills, support documentation, default pipeline configuration, and the critical AGENT_TOOLS.md tool contract to ~/.liza/ — the foundation every project and agent session depends on.

What liza setup Does

liza setup populates ~/.liza/ with everything Liza needs to operate across any project on your machine. It does not touch your project directories — that is the job of liza init.

Behavioral Contracts

Installs CORE.md, PAIRING_MODE.md, MULTI_AGENT_MODE.md, COLLABORATION_CONTINUITY.md, and related contract files that govern how agents behave.

Composable Skills

Installs the skills/ directory with reusable agent skills such as checkpoint-summary. Provider flags create symlinks from each provider’s own skill directory back to ~/.liza/skills/.

AGENT_TOOLS.md

Installs the agent tool contract — the file that tells agents which CLI tools and MCP servers to use and in what order.

Support Docs & Pipeline Config

Installs support-docs/, a default pipeline.yaml, and the CUSTOMIZING_AGENT_TOOLS.md guide agents can reference during setup review.

Command Syntax

Run the base setup, then add provider flags for every coding agent CLI you intend to use:
You can combine multiple provider flags in a single call:

What Gets Installed

After running liza setup, your ~/.liza/ directory contains:
Provider flags create additional symlinks in each CLI’s own config directory pointing back to ~/.liza/skills/:

Provider-Specific Notes

Each provider CLI has a different integration model. Read the relevant section before running setup.
liza setup --claude handles the full global install for Claude Code. It creates skill symlinks under ~/.claude/skills/ pointing to ~/.liza/skills/.Project-level Claude settings (.claude/settings.json, .claude/hooks/) are written by liza init --claude — not by setup.

How to Upgrade

After updating the Liza binary, refresh existing global files with the --force flag:
Without --force, liza setup skips files that already exist. Use --force after every binary upgrade to ensure contracts, skills, and AGENT_TOOLS.md reflect the latest version.

Using a Custom AGENT_TOOLS.md

If you maintain your own tool contract, pass it at setup time:
Liza installs your file to ~/.liza/AGENT_TOOLS.md instead of the embedded default. Repass this flag with --force after upgrades if you want to keep your custom version:
Do not skip AGENT_TOOLS.md customization before a serious run. The default file references optional tools that Liza does not install for you. Agents follow this file as an operational contract — instructions for missing tools cause failed attempts, fallback churn, and bloated context windows. Review and adapt it before your first real task. See Customize AGENT_TOOLS.md for a step-by-step guide.