Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@magnitudedev/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Magnitude is an open source coding agent that orchestrates a team of subagents, each specialized for a role in the development process. A lead agent breaks down your task and delegates to explorers, planners, builders, reviewers, debuggers, and a browser agent.
- Everything runs in subagents, including implementation. The lead's context stays clean, so it remains coherent across long tasks.
- The agent follows a process without you enforcing it. No praying the agent invokes your skills. No manually triggering them when it doesn't.
- A lead agent manages the work, not you. You don't babysit, assign tasks, or decide what happens next. Go get a coffee.
- Subagents stay alive. The lead can tell the planner to consider more angles. The same builder can fix bugs that the reviewer found.
- Agents share context through files, not summarization. No output tokens burned on lossy summaries. Every handoff is a file you can view later.
- Mix models by role. Fast models for exploration. Frontier models for planning and review. You control the cost-intelligence tradeoff.
Installation
npm install -g @magnitudedev/cliThen navigate to the directory you want to work in and launch the TUI:
magnitudeThis will launch Magnitude with a setup wizard for configuring providers and models.
Providers
Magnitude works with most major model providers out of the box, including open source and local models.
You can use your ChatGPT Plus/Pro or GitHub Copilot subscription.
See the provider docs for full provider support.
How it works
The lead agent manages all subagents on your behalf. It can message, stop, resume, or redirect them and run many in parallel. You can also message subagents directly.
Magnitude comes out of the box with the following subagents:
- Explorer: for doing codebase or web research, both broad and narrow
- Planner: for evaluating various implementation strategies
- Builder: for implementing code changes directly in your files
- Reviewer: for strict, independent review of code changes
- Debugger: for root causing bugs and fixing them
- Browser: for verifying UI changes with a built-in browser agent
Magnitude may use none or all of these in a given session. For a quick fix in a single file, it may edit it directly. For a very in-depth change, it may use the whole team. For most tasks, it will use some combination of explorer, planner, builder, and reviewer.
Why we built this
The community clearly wants more out of Claude Code. Projects like Superpowers have hit 100k+ GitHub stars augmenting Claude Code with more skills/subagents. People want agents to follow better software development processes.
But they're plugging into an existing coding agent that wasn't built to use them consistently and effectively. The result is inconsistent usage and mixed results, often having to repeatedly prompt the agent to actually use the skills.
Instead of plugging into an existing primitive, we built a new one from the ground up. Imagine Claude Code was actually built around Superpowers. That's Magnitude.
Documentation
Full documentation is available at docs.magnitude.dev.
Contributing
See the contributing guide to get started.
Acknowledgements
Built on top of BAML, Effect, and OpenTUI.
Inspired by other open-source coding agents, including OpenCode and Codex.