-
Notifications
You must be signed in to change notification settings - Fork 0
Install Into Project
github-actions[bot] edited this page May 25, 2026
·
7 revisions
Note
Goal: Install or refresh the agentm scaffold in an existing project.
Prereqs: bash 4+ (or pwsh 7+ on Windows), git, python3. For --hooks on POSIX, also jq.
-
Clone or update the harness repo somewhere on your machine:
git clone https://github.com/alexherrero/agentm.git ~/agentm # or, if already cloned: git -C ~/agentm pull
-
Run the installer against your project root:
~/agentm/install.sh /path/to/your-project -
Commit the installed scaffold on a branch:
cd /path/to/your-project git checkout -b add-agentm git add .harness .claude .agent .agents .gemini AGENTS.md CLAUDE.md wiki .github git commit -m "Install agentm"
Add --hooks to install PostToolUse, PreCompact, and SessionStart hooks into .claude/settings.json:
~/agentm/install.sh --hooks /path/to/your-projectOverwrites harness-managed files with the current version, leaves state files untouched:
~/agentm/install.sh --update /path/to/your-projectpwsh -NoProfile -File C:\path\to\agentm\install.ps1 [-Hooks] [-Update] C:\path\to\your-projectcd /path/to/your-project
ls .claude/commands/ # expect: bugfix.md plan.md release.md review.md setup.md work.md
cat .harness/.version # expect: a version string (only after --update)| Symptom | Fix |
|---|---|
installer-boundary violation |
The installer refused to copy from outside templates/ or adapters/. You've likely modified install.sh — revert and retry. |
Files missing from .claude/commands/
|
Re-run with --update to refresh the managed tree. |
jq: command not found |
Install jq (needed only with --hooks on POSIX), or drop --hooks. |
See Installer CLI reference for all flags. See ADR 0002: Documentation convention for the installer boundary rationale.
🔧 How-to
- Your first install
- Install into a project
- Configure a new project
- Update an installed harness
- Cut a release
- Use auto-context in phases
- Use per-project install
- Audit the vault
- Find missing note links
- Use AgentMemory in any agent
- Tune auto-orchestration
- Run without a vault
- Choose a storage backend
- Stand up the memory MCP server