baro-ai 0.44.0 → 0.44.1
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 +40 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -69,7 +69,31 @@ flowchart LR
|
|
|
69
69
|
F --> PR([Pull Request])
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
-
Every story is one
|
|
72
|
+
Every story is one CLI subprocess — Claude Code, OpenAI Codex CLI, or a Mozaik-native OpenAI Responses session, depending on `--llm`. Auth inherits from whichever CLI you already have signed in, no API key plumbing.
|
|
73
|
+
|
|
74
|
+
## Three LLM backends, one DAG
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
baro --llm claude "Your goal" # default — Claude Code on Anthropic Max subscription
|
|
78
|
+
baro --llm codex "Your goal" # OpenAI Codex CLI on ChatGPT Pro/Plus subscription
|
|
79
|
+
baro --llm openai "Your goal" # Mozaik-native OpenAI Responses (per-call API billing)
|
|
80
|
+
baro --llm hybrid "Your goal" # Claude on Architect/Planner/Surgeon, Codex on Story/Critic
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Same orchestration. Same DAG. Same prompts. The only thing that moves is which provider every agent talks to. `--llm hybrid` is the new default-recommendation for serious runs — Claude where the upstream plan matters, Codex for the parallel story+critic work that dominates the budget.
|
|
84
|
+
|
|
85
|
+
Each phase has its own override flag if you want to mix it yourself:
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
baro --architect-llm claude \
|
|
89
|
+
--planner-llm claude \
|
|
90
|
+
--story-llm codex \
|
|
91
|
+
--critic-llm codex \
|
|
92
|
+
--surgeon-llm claude \
|
|
93
|
+
"Your goal"
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Full breakdown at [docs.baro.rs/llm-providers](https://docs.baro.rs/llm-providers) — provider economics, per-phase routing, the side-by-side benchmark across three real tasks: [**I tested Claude Code vs OpenAI Codex in my parallel agent setup. Then I built a hybrid.**](https://jigjoy.ai/blog/claude-code-vs-codex-baro)
|
|
73
97
|
|
|
74
98
|
## Recent real run
|
|
75
99
|
|
|
@@ -82,7 +106,7 @@ Every story is one **Claude Code subprocess** (or one Mozaik-native OpenAI sessi
|
|
|
82
106
|
| **Architect** | One Opus call before planning — emits a `DecisionDocument` that pins every cross-cutting design decision (file paths, schemas, API shapes, library choices) so 30 parallel agents don't each invent their own |
|
|
83
107
|
| **Planner** | Decomposes the goal into a story DAG, with the DecisionDocument already pinned |
|
|
84
108
|
| **Conductor** | State machine that drives the run by reacting to bus events |
|
|
85
|
-
| **StoryAgent** | One Claude Code
|
|
109
|
+
| **StoryAgent** | One CLI subprocess per story (Claude Code / Codex / OpenAI Responses, picked by `--llm` or `--story-llm`); multi-turn loop until story completes |
|
|
86
110
|
| **Critic** | Per-turn evaluator (Haiku). On fail verdict, injects corrective feedback as the agent's next turn |
|
|
87
111
|
| **Sentry** | Flags overlapping Edit/Write tool calls across concurrent stories |
|
|
88
112
|
| **Librarian** | Indexes one agent's Read/Grep findings so siblings don't redo the exploration |
|
|
@@ -96,16 +120,22 @@ Bus is open. CI deployers, Slack notifiers, ticket triggers — all new particip
|
|
|
96
120
|
```bash
|
|
97
121
|
npm install -g baro-ai
|
|
98
122
|
|
|
99
|
-
# Full run (default —
|
|
123
|
+
# Full run (default — Claude on every phase via Claude Code CLI)
|
|
100
124
|
baro "Migrate the hardcoded category data to a backend dictionary"
|
|
101
125
|
|
|
102
126
|
# Trivial goal — skip Architect + Critic + Surgeon, single story
|
|
103
127
|
baro --quick "fix the typo on line 42 of README.md"
|
|
104
128
|
|
|
105
|
-
#
|
|
129
|
+
# Codex everywhere (ChatGPT Pro/Plus subscription, ~3-11× cheaper per run than Claude)
|
|
130
|
+
baro --llm codex "Refactor the database layer"
|
|
131
|
+
|
|
132
|
+
# Per-phase routing — Claude upstream (tight plans), Codex downstream (cheap writes)
|
|
133
|
+
baro --llm hybrid "Add WebSocket support across api and frontend"
|
|
134
|
+
|
|
135
|
+
# Route every phase through GPT-5.5 (Mozaik-native OpenAI API)
|
|
106
136
|
OPENAI_API_KEY=sk-... baro --llm openai "Refactor the database layer"
|
|
107
137
|
|
|
108
|
-
# Limit parallelism (
|
|
138
|
+
# Limit parallelism (plan-tier concurrency caps)
|
|
109
139
|
baro --parallel 3 "Add unit tests for the auth module"
|
|
110
140
|
|
|
111
141
|
# Dry-run first, execute later
|
|
@@ -134,7 +164,11 @@ For a deeper side-by-side on a real refactor, see [baro vs Claude Code `/goal`](
|
|
|
134
164
|
|
|
135
165
|
## Requirements
|
|
136
166
|
|
|
137
|
-
-
|
|
167
|
+
- At least one of:
|
|
168
|
+
- [Claude CLI](https://docs.anthropic.com/en/docs/claude-cli) authenticated (for `--llm claude`, the default)
|
|
169
|
+
- [OpenAI Codex CLI](https://github.com/openai/codex) authenticated (for `--llm codex`)
|
|
170
|
+
- `OPENAI_API_KEY` set (for `--llm openai`)
|
|
171
|
+
- Both Claude CLI **and** Codex CLI authenticated (for `--llm hybrid`)
|
|
138
172
|
- Node.js 20+
|
|
139
173
|
- macOS (arm64/x64), Linux (x64/arm64), Windows (x64)
|
|
140
174
|
- `gh` CLI (optional, for automatic PR creation)
|