@magnitudedev/cli 0.0.1-alpha.3 → 0.0.1-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -36
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,19 +2,13 @@
|
|
|
2
2
|
<img src="wordmark.svg" alt="Magnitude" width="100%" />
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
|
-
<p align="center"><b>Open source
|
|
5
|
+
<p align="center"><b>Open source coding agent</b></p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
8
|
<a href="https://docs.magnitude.dev" target="_blank"><img src="https://img.shields.io/badge/📕-Docs-232f41?style=flat-square&labelColor=232f41&color=gray" alt="Documentation" /></a> <img src="https://img.shields.io/badge/License-Apache%202.0-232f41?style=flat-square&labelColor=232f41&color=gray" alt="License" /> <a href="https://discord.gg/VcdpMh9tTy" target="_blank"><img src="https://img.shields.io/discord/1305570963206836295?style=flat-square&logo=discord&logoColor=white&label=Discord&labelColor=5865F2&color=gray" alt="Discord" /></a> <a href="https://x.com/usemagnitude" target="_blank"><img src="https://img.shields.io/badge/-Follow%20Magnitude-000000?style=flat-square&labelColor=000000&color=gray&logo=x&logoColor=white" alt="Follow Magnitude" /></a>
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
- **Advanced orchestration** — Orchestrator delegates to subagents with two-way communication
|
|
14
|
-
- **Context stays clean** — Conversation stays focused on your intent. Less compaction, better UX
|
|
15
|
-
- **Parallel by default** — Spins up multiple subagents working concurrently, not one thing at a time
|
|
16
|
-
- **Native browser agent** — Vision-based browser agent verifies UI changes and behavior
|
|
17
|
-
- **Any model** — Frontier, open source, local, whatever you want
|
|
11
|
+
Open source coding agent where everything happens in specialized subagents. We call this *subagent driven development*. The main agent stays focused on your intent, leading to stronger performance on longer tasks and higher quality code.
|
|
18
12
|
|
|
19
13
|
<p align="center">
|
|
20
14
|
<img src="interface.png" alt="Magnitude Interface" width="100%" />
|
|
@@ -24,12 +18,9 @@ Most coding agents are one long conversation that compacts and loses context. Ma
|
|
|
24
18
|
|
|
25
19
|
```bash
|
|
26
20
|
npm install -g @magnitudedev/cli
|
|
27
|
-
bun add -g @magnitudedev/cli
|
|
28
|
-
pnpm add -g @magnitudedev/cli
|
|
29
|
-
yarn global add @magnitudedev/cli
|
|
30
21
|
```
|
|
31
22
|
|
|
32
|
-
After installation,
|
|
23
|
+
After installation, navigate to the directory you want to work in and launch the TUI:
|
|
33
24
|
|
|
34
25
|
```bash
|
|
35
26
|
magnitude
|
|
@@ -37,48 +28,61 @@ magnitude
|
|
|
37
28
|
|
|
38
29
|
This will launch Magnitude with a setup wizard for configuring providers and models.
|
|
39
30
|
|
|
40
|
-
|
|
31
|
+
### Providers
|
|
41
32
|
|
|
42
|
-
|
|
33
|
+
Magnitude works with most major model providers out of the box.
|
|
43
34
|
|
|
44
|
-
|
|
35
|
+
**Subscription-based** — Use models you already pay for, no API key needed.
|
|
36
|
+
- **ChatGPT Plus/Pro** — Sign in with your OpenAI account
|
|
37
|
+
- **GitHub Copilot** — Sign in with your GitHub account
|
|
45
38
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
3. `~/.magnitude/skills/`
|
|
49
|
-
4. `~/.agents/skills/`
|
|
39
|
+
**API key** — Bring your own key from any of these providers.
|
|
40
|
+
- Anthropic, OpenAI, Google Gemini, OpenRouter, Vercel AI Gateway, Google Vertex AI, Amazon Bedrock, MiniMax, Z.AI, Cerebras
|
|
50
41
|
|
|
51
|
-
|
|
42
|
+
**Local models** — Connect to Ollama or any OpenAI-compatible endpoint. No auth required.
|
|
52
43
|
|
|
53
|
-
|
|
44
|
+
See the [providers docs](https://docs.magnitude.dev/configuration/providers) for setup instructions. If you would like another provider to be supported, please feel free to create an issue or raise a PR yourself.
|
|
54
45
|
|
|
55
|
-
|
|
46
|
+
## Why Magnitude?
|
|
56
47
|
|
|
57
|
-
|
|
48
|
+
- **Avoids the dumb zone.** Since building happens in subagents, the main agent stays focused on your intent and effective even on longer, messier tasks.
|
|
49
|
+
- **Steerable subagents.** Subagents can surface blockers, ask clarifying questions, and be paused, resumed, or redirected mid-task.
|
|
50
|
+
- **Throw out the skills files.** Plan, review, debug, and browse are built-in subagents. No configuration needed, and the main agent actually uses them consistently.
|
|
51
|
+
- **Mix your models.** Chat with Claude, build with Codex, or use whatever combination fits your preferences for intelligence, speed, and cost.
|
|
52
|
+
- **Scoped toolsets, not modes.** Real coding jumps between planning and building too often for explicit mode toggles. Each subagent gets tools scoped to its role instead.
|
|
53
|
+
- **Talk to it while it works.** The main agent isn't blocked by implementation. Ask questions, clarify mid-build, or start planning what's next without interrupting anything.
|
|
58
54
|
|
|
59
|
-
|
|
55
|
+
## Features
|
|
60
56
|
|
|
61
|
-
###
|
|
57
|
+
### Main agent → subagent architecture
|
|
58
|
+
The main agent manages the conversation and delegates to specialized subagents (explorer, planner, builder, reviewer, browser, debugger), each with its own context window, toolset, and permissions. Subagents do focused work and report back, keeping the main agent's context clean.
|
|
62
59
|
|
|
63
|
-
|
|
60
|
+
### Two-way agent communication
|
|
61
|
+
The main agent and subagents have full bidirectional messaging. The main agent can steer, redirect, or interrupt subagents mid-work. Subagents can message back when they hit blockers or need clarification. Not fire-and-forget delegation.
|
|
64
62
|
|
|
65
|
-
###
|
|
63
|
+
### Context sharing via artifacts
|
|
64
|
+
Shared markdown documents pass context between agents directly. An explorer writes findings, a planner reads them and produces a plan, a builder reads the plan and implements. No context is lost to summarization, and the main agent doesn't burn output tokens on handoff.
|
|
66
65
|
|
|
67
|
-
|
|
66
|
+
### Parallel by default
|
|
67
|
+
The main agent spins up multiple subagents concurrently and keeps working while they run. Exploring separate areas of the codebase, implementing unrelated features, or debugging multiple issues all happen in parallel.
|
|
68
68
|
|
|
69
|
-
###
|
|
69
|
+
### Progressive disclosure of tool output
|
|
70
|
+
Tool output does not enter the context window by default. Agents inspect results explicitly and pull in only what they need, keeping noisy output out of the conversation.
|
|
70
71
|
|
|
71
|
-
|
|
72
|
+
### Sensible default permissions
|
|
73
|
+
Commands are classified by risk. Read-only commands run freely. Normal commands are allowed in your project directory but blocked outside it. Dangerous commands are always blocked. No `--dangerously-skip-permissions`, no stuck permission prompts.
|
|
72
74
|
|
|
73
|
-
###
|
|
75
|
+
### Built-in browser agent
|
|
76
|
+
A vision-based browser agent built on [browser-agent](https://github.com/magnitudedev/browser-agent) runs natively in the same runtime for verifying UI changes and behavior as part of the workflow.
|
|
74
77
|
|
|
75
|
-
|
|
78
|
+
### Persistent memory
|
|
79
|
+
Magnitude learns your preferences and codebase conventions over time, storing them in `.magnitude/memory.md` and applying them automatically to future sessions. Skills and AGENTS.md are also supported.
|
|
76
80
|
|
|
77
81
|
## Additional Info
|
|
78
82
|
|
|
79
|
-
###
|
|
83
|
+
### Philosophy
|
|
80
84
|
|
|
81
|
-
|
|
85
|
+
The coding agent primitive is not solved. Most failures come from two recurring patterns: **context degradation** over long sessions, and **local maximum traps** where the agent settles for the nearest plausible fix. Magnitude is built around those failure modes. Read more in our [manifesto](https://magnitude.dev/manifesto).
|
|
82
86
|
|
|
83
87
|
### Contributing
|
|
84
88
|
|
|
@@ -93,5 +97,3 @@ Full documentation is available at [docs.magnitude.dev](https://docs.magnitude.d
|
|
|
93
97
|
Built on top of [BAML](https://boundaryml.com), [Effect](https://effect.website), and [OpenTUI](https://github.com/anomalyco/opentui).
|
|
94
98
|
|
|
95
99
|
Inspired by other open-source coding agents, including [OpenCode](https://github.com/anomalyco/opencode) and [Codex](https://github.com/openai/codex).
|
|
96
|
-
|
|
97
|
-
The future is open!
|