// onboard your agent

Let your agent set up mAgent.

Paste one sentence into Claude Code, Codex, Cursor, or any AI coding agent, and it installs mAgent, writes a config, and wires whatever integration that agent actually supports -- itself. No credentials, no MCP server, no manual steps.

Reads from https://magent.now/agent-setup/prompt.md.

Claude Code

mAgent launches Claude Code per project with session auto-resume (`claude --continue`), and Claude Code's own lifecycle hooks feed the fleet-state store that `magent watch`, `magent sessions --json`, and `magent attention` all read.

setup guide →
Codex

mAgent launches Codex CLI per project with session resume (`codex resume`), and Codex's `notify` hook feeds the same fleet-state store Claude Code uses.

setup guide →
Cursorlaunch only

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.

setup guide →
OpenCodelaunch only

OpenCode is not a built-in mAgent tool, but any command on PATH can be registered as a custom tool and magent will launch + tile it per project like any other agent. There is no lifecycle-hook integration for it, so it gets launch + tiling only -- no live state and no session auto-resume.

setup guide →

Resources

← back to mAgent