// agent setup / cursor

Set up mAgent for Cursor.

mAgent can launch the Cursor CLI agent (`cursor-agent`) or the Cursor IDE per project, tiled alongside every other window. Cursor has no lifecycle-hook integration today, so it gets launch + tiling only -- no live state and no session auto-resume.

What you get

  • Every project opens in its own terminal with `cursor-agent` running (or the Cursor IDE window), tiled with everything else
  • No live state in `magent watch` / `magent attention` -- Cursor has no lifecycle hook to read from
  • No session auto-resume -- each relaunch starts a fresh Cursor session

Install the CLI

Pick one.

pip
pip install magent-multi-ai-agents-manager
uv
uv tool install magent-multi-ai-agents-manager
from source
git clone https://github.com/DevinoSolutions/magent-multi-ai-agents-manager.git
cd magent-multi-ai-agents-manager
pip install -e .

Install the CLI

Install the magent CLI. No project changes needed -- it is a standalone tool.

pip install magent-multi-ai-agents-manager

Scan projects and write a config

On first run, magent scans your history and writes `magent.config.json`. Run `magent --init` any time to rescan.

magent

Point the project at Cursor

`cursor-agent` (CLI) and `cursor` (IDE) are both registered built-in tools -- no extra `settings.tools` mapping is needed. Set `"tool": "cursor-agent"` (or `"tool": "cursor"`) on the project entry in `magent.config.json`.

"tool": "cursor-agent"

Verify

Run the environment doctor. It exits 1 on any failure.

magent doctor

Resources

← all agentsraw prompt.md →