Magents: hand a live session between Cursor, Claude Code and Codex

I switch between Cursor and terminal agents a lot, and the worst part was re-explaining context each time. magents is a small Rust CLI/MCP server that reads another agent’s live session and hands it off, or lets agents message each other directly. Works with Cursor, Claude Code, Codex, Grok, Gemini CLI, OpenCode and Antigravity.

Write-up: magents: hand a live session from Claude Code to Codex (or Cursor, Grok, Gemini, OpenCode) without recapping - DEV Community

More info: https://github.com/abnegate/magents

nice. reading the files the hosts already write is a clean way to skip wrapper commands, and treating other agents’ transcripts as untrusted data is the right default.

does send_message work across machines, or only within one home directory? the case i keep running into is a teammate’s agent on their own laptop, where there’s no shared disk to read.