Route any model
OpenAI, Anthropic, DeepSeek, any compatible endpoint. Aliases, auto-routing, and fallback for when a provider goes down.
↗One open runtime for models, tools, Skills, and memory. Swap any layer without rewriting the rest — in your terminal, on your desktop, on any machine you trust.
I’ll trace the router, expose fallback events, and verify behavior with targeted tests.
One runtime. Five replaceable layers.
ModelToolSkillHarnessMemoryMost agents ship with the model, tools, memory, and execution rules already decided. Magi opens those layers up — swap what doesn't fit and keep the runtime underneath.
OpenAI, Anthropic, DeepSeek, any compatible endpoint. Aliases, auto-routing, and fallback for when a provider goes down.
↗91 built-in tools — files, shell, Git, web, memory, sessions, sub-agents, multi-machine — loaded only when a task needs them.
↗Turn repeatable work into Skills: the steps, the tools, how to verify, and what to do when something fails.
↗Sessions persist. New lessons land in LearningDrafts first — nothing rewrites long-term memory behind your back.
↗A research agent and a coding agent can behave nothing alike — and still share sessions, approvals, orchestration, and recovery underneath.
Route and fall back
Act on the world
Reuse a workflow
Define behavior
Learn with review
model: main
tools: [files, shell, git]
skills: [verify, review-pr]
harness: coding-agent
memory: project-reviewedA daily coding tool, a desktop workspace, or the engine behind your own product. Same runtime, your call.
Projects, streamed activity, model switching, approvals, file changes, and terminal output — one local window, no tab juggling.
Learn more ↗I’ll trace the current routing path, update the events, and verify recovery.
Desktop for the daily driver, CLI for the terminal. Same runtime either way.
The full workbench — projects, task history, approvals, and a local agent service that starts itself.
All downloads & SHA-256 checksums ↗One command to install, runs in any repository. Needs Node.js 22+.
$ npm install -g @edwardlee5423/magi@next
$ magiPlans, commands, edits, and remote work go through one permission model with a full approval trail. You decide where it has to stop and ask.
Magi wants to run a command outside the current project.
npm publish --access publicDifferent work needs different tools, instructions, permissions, and definitions of done — not another runtime built from scratch.
Understand repositories, edit across files, run commands, debug, and verify.
Web, local documents, structured workflows, and context that lasts.
Turn repeatable pedagogy into Skills with the right tools and guardrails.
Domain tools, completion rules, and model routing — all configured per agent.
Hand off long tasks, watch progress, approve the sensitive parts remotely.
Replace the upper layers. Keep the runtime underneath.
Use it as a coding agent today. Rebuild it into your own agent when you're ready.
npm install -g @edwardlee5423/magi@next⌘