magents

magents

same work, new driver

Your coding agents already keep transcripts on disk. magents is the shared API over them, an MCP server plus a small CLI, so the agent in front of you starts where the last one stopped.

brew install abnegate/tap/magents readme
~/src/edge live

Works with the agents already on your machine.

  1. claude code
  2. codex
  3. copilot
  4. cursor
  5. gemini
  6. grok
  7. opencode

Three ways work moves

read

Ask the agent in front of you what the last one was doing. It reads the live session and carries on. No paste buffer, no recap.

magents digest claude:latest

send

Claude hits a wall that Codex owns. Claude messages that Codex thread directly, failing query and file attached, and keeps going. You are not the messenger.

magents send codex:latest "…"

spawn

A task that can run alone gets a new headless session, its own working directory, and a reply path back through magents.

magents spawn codex --cwd ../wt

Spawned agents keep their host's own approval policy. magents never adds a bypass.

Install

brew install abnegate/tap/magents
magents install --all

magents install --all registers the MCP server with every host it finds and drops a skill into each host's skills directory. Restart the agent, or refresh its MCP list, and the tools appear.

MCP tools

list_sessions
live and recent sessions across every host, filter by cwd or branch
session_digest
last request, last action, cwd, branch, clipped recent turns
read_transcript
compact inert handoff of another session's history
search_transcripts
full-text search across all of them
handoff
compact this session and inject it into another live chat
send_message
deliver a user turn to an existing chat, mailbox plus live inject
spawn_session
start a headless persisted session for independent work
inbox / reply
mailbox for cross-session answers
whoami
which session is this, resolved by env, socket, or cwd

Same verbs on the CLI: magents list, magents digest, magents handoff. Add --output json to any of them. The full list, including memory and notes, is in the readme.