@hagicode/hagilight-core 0.9.8 → 0.9.9-dev.118.1.29aba6e
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 +7 -0
- package/data/comparison-articles/en-US/claude-vs-hagicode.json +249 -197
- package/data/comparison-articles/en-US/codebuddy-vs-hagicode.json +241 -185
- package/data/comparison-articles/en-US/codex-vs-hagicode.json +240 -185
- package/data/comparison-articles/en-US/copilot-vs-hagicode.json +239 -185
- package/data/comparison-articles/en-US/deepagents-vs-hagicode.json +242 -185
- package/data/comparison-articles/en-US/dsh-vs-hagicode.json +242 -174
- package/data/comparison-articles/en-US/gemini-vs-hagicode.json +239 -185
- package/data/comparison-articles/en-US/hermes-vs-hagicode.json +242 -185
- package/data/comparison-articles/en-US/junie-vs-hagicode.json +242 -176
- package/data/comparison-articles/en-US/kimi-vs-hagicode.json +238 -185
- package/data/comparison-articles/en-US/kiro-vs-hagicode.json +238 -185
- package/data/comparison-articles/en-US/omp-vs-hagicode.json +258 -195
- package/data/comparison-articles/en-US/opencode-vs-hagicode.json +252 -185
- package/data/comparison-articles/en-US/pi-vs-hagicode.json +258 -194
- package/data/comparison-articles/en-US/qoder-vs-hagicode.json +242 -185
- package/data/comparison-articles/en-US/reasonix-vs-hagicode.json +257 -194
- package/data/comparison-articles/zh-CN/claude-vs-hagicode.json +248 -196
- package/data/comparison-articles/zh-CN/codebuddy-vs-hagicode.json +241 -185
- package/data/comparison-articles/zh-CN/codex-vs-hagicode.json +240 -185
- package/data/comparison-articles/zh-CN/copilot-vs-hagicode.json +239 -185
- package/data/comparison-articles/zh-CN/deepagents-vs-hagicode.json +242 -185
- package/data/comparison-articles/zh-CN/dsh-vs-hagicode.json +242 -174
- package/data/comparison-articles/zh-CN/gemini-vs-hagicode.json +239 -185
- package/data/comparison-articles/zh-CN/hermes-vs-hagicode.json +242 -185
- package/data/comparison-articles/zh-CN/junie-vs-hagicode.json +242 -176
- package/data/comparison-articles/zh-CN/kimi-vs-hagicode.json +238 -185
- package/data/comparison-articles/zh-CN/kiro-vs-hagicode.json +238 -185
- package/data/comparison-articles/zh-CN/omp-vs-hagicode.json +258 -195
- package/data/comparison-articles/zh-CN/opencode-vs-hagicode.json +252 -185
- package/data/comparison-articles/zh-CN/pi-vs-hagicode.json +258 -194
- package/data/comparison-articles/zh-CN/qoder-vs-hagicode.json +242 -185
- package/data/comparison-articles/zh-CN/reasonix-vs-hagicode.json +257 -194
- package/dist/comparison-articles.d.ts +20 -1
- package/dist/comparison-articles.js +35 -0
- package/package.json +1 -1
|
@@ -3,49 +3,118 @@
|
|
|
3
3
|
"slug": "pi-vs-hagicode",
|
|
4
4
|
"category": "vs-hagicode",
|
|
5
5
|
"locale": "en-US",
|
|
6
|
-
"updatedAt": "2026-10-
|
|
6
|
+
"updatedAt": "2026-10-16T00:00:00.000Z",
|
|
7
7
|
"seo": {
|
|
8
8
|
"title": "Pi CLI vs HagiCode: Features and Comparison",
|
|
9
|
-
"description": "
|
|
9
|
+
"description": "Pi is a free, MIT-licensed minimal coding agent you extend yourself; HagiCode is a workbench that runs it. Compare features, pricing and when each fits."
|
|
10
10
|
},
|
|
11
|
-
"summary": "Pi
|
|
11
|
+
"summary": "Pi is a minimal, MIT-licensed terminal coding agent that you shape with extensions, skills and packages. HagiCode is a workbench that runs Pi as its executor and adds sessions, proposals and commit tooling around it.",
|
|
12
12
|
"sections": [
|
|
13
13
|
{
|
|
14
14
|
"id": "pi-vs-hagicode-section-1",
|
|
15
|
-
"title": "
|
|
15
|
+
"title": "Short answer",
|
|
16
16
|
"blocks": [
|
|
17
17
|
{
|
|
18
|
-
"id": "pi-vs-hagicode-section-1-
|
|
19
|
-
"type": "
|
|
20
|
-
"
|
|
18
|
+
"id": "pi-vs-hagicode-section-1-answer",
|
|
19
|
+
"type": "rich-text",
|
|
20
|
+
"content": [
|
|
21
|
+
"Pi is a minimal, extensible coding agent harness that runs in your terminal. It deliberately ships without sub-agents, plan mode or permission popups, and expects you to add what you need through extensions, skills and packages. HagiCode is a desktop and web workbench that launches agent CLIs such as Pi and supplies the workflow around them: parallel sessions, spec proposals, commits and history. It does not replace Pi.",
|
|
22
|
+
"If you like a small, hackable agent and prefer to build your own workflow on top of it, stay with Pi alone. Add HagiCode if you would rather have sessions, proposals and review handled by a ready-made workbench while Pi keeps doing the agent work."
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "pi-vs-hagicode-section-2",
|
|
29
|
+
"title": "Pi vs HagiCode at a glance",
|
|
30
|
+
"blocks": [
|
|
31
|
+
{
|
|
32
|
+
"id": "pi-vs-hagicode-section-2-table",
|
|
33
|
+
"type": "comparison-table",
|
|
34
|
+
"headers": [
|
|
35
|
+
"Aspect",
|
|
36
|
+
"Pi",
|
|
37
|
+
"HagiCode"
|
|
38
|
+
],
|
|
39
|
+
"rows": [
|
|
21
40
|
{
|
|
22
|
-
"id": "pi-vs-hagicode-section-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"Configurable thinking and session behavior: Pi exposes switches such as thinking mode, session directory, and no-session execution. You can choose whether to preserve conversation state across runs or keep each turn completely stateless depending on the task.",
|
|
28
|
-
"Explicit tool governance: Pi lets you decide how much tool access an AI turn receives. Built-in tools and broader tool usage can be disabled when you want tighter safety boundaries or more predictable execution behavior."
|
|
41
|
+
"id": "pi-vs-hagicode-section-2-row-1",
|
|
42
|
+
"cells": [
|
|
43
|
+
"What it is",
|
|
44
|
+
"Minimal terminal agent harness, extended through extensions, skills, prompt templates and themes",
|
|
45
|
+
"AI programming workbench that runs agent CLIs, including Pi, as executors"
|
|
29
46
|
]
|
|
30
47
|
},
|
|
31
48
|
{
|
|
32
|
-
"id": "pi-vs-hagicode-section-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"Session-aware execution: Pi can either reuse persisted session state or run in fully stateless mode. That makes it suitable both for long-running development threads and for clean one-shot tasks where carry-over state would be undesirable.",
|
|
38
|
-
"Streaming and tool-capable responses: Pi streams output as it arrives (incremental fragments on Pi 0.84 and later, full snapshots on 0.78.x) and supports tool calls and system messages. It is not just a fire-and-forget prompt wrapper; it can participate in richer AI programming workflows that need interactive execution."
|
|
49
|
+
"id": "pi-vs-hagicode-section-2-row-2",
|
|
50
|
+
"cells": [
|
|
51
|
+
"Interface and platforms",
|
|
52
|
+
"Interactive terminal UI, print/JSON mode, RPC, TypeScript SDK; macOS, Linux, Windows installers",
|
|
53
|
+
"Desktop app (Windows, macOS, Linux), Docker Compose container, Microsoft Store edition"
|
|
39
54
|
]
|
|
40
55
|
},
|
|
41
56
|
{
|
|
42
|
-
"id": "pi-vs-hagicode-section-
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
57
|
+
"id": "pi-vs-hagicode-section-2-row-3",
|
|
58
|
+
"cells": [
|
|
59
|
+
"Pricing and licensing",
|
|
60
|
+
"MIT-licensed and free; you pay only for the models you connect",
|
|
61
|
+
"Desktop and Container editions free; Store edition free base, optional one-time TurboEngine purchase"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "pi-vs-hagicode-section-2-row-4",
|
|
66
|
+
"cells": [
|
|
67
|
+
"Model and provider access",
|
|
68
|
+
"15+ providers by API key or OAuth login; custom providers via models.json or extensions",
|
|
69
|
+
"Hosts no models; uses Pi's own sign-in, or OmniRoute routing if you configure it"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "pi-vs-hagicode-section-2-row-5",
|
|
74
|
+
"cells": [
|
|
75
|
+
"Parallel work",
|
|
76
|
+
"No built-in sub-agents; add them as an extension or package",
|
|
77
|
+
"Several sessions side by side, managed as named Agents"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "pi-vs-hagicode-section-2-row-6",
|
|
82
|
+
"cells": [
|
|
83
|
+
"Spec and planning workflow",
|
|
84
|
+
"No plan mode by default; add one through extensions",
|
|
85
|
+
"OpenSpec proposals: propose, validate, apply, archive"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"id": "pi-vs-hagicode-section-2-row-7",
|
|
90
|
+
"cells": [
|
|
91
|
+
"Git and commit handling",
|
|
92
|
+
"You or an extension handle commits; sessions export to HTML or a gist",
|
|
93
|
+
"AI-written commit messages with repository locking; Git management in the UI"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "pi-vs-hagicode-section-2-row-8",
|
|
98
|
+
"cells": [
|
|
99
|
+
"Asking you questions",
|
|
100
|
+
"Extensions can open dialogs over RPC",
|
|
101
|
+
"Shows Pi's questions in the conversation, then continues the same run"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "pi-vs-hagicode-section-2-row-9",
|
|
106
|
+
"cells": [
|
|
107
|
+
"Setup effort",
|
|
108
|
+
"One install script or npm install, then /login",
|
|
109
|
+
"Install Pi first, then HagiCode, then pick Pi as the Agent CLI"
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"id": "pi-vs-hagicode-section-2-row-10",
|
|
114
|
+
"cells": [
|
|
115
|
+
"Best for",
|
|
116
|
+
"Developers who want a small agent core they can bend to their own workflow",
|
|
117
|
+
"Running several Pi tasks across repos with specs, review and history in one place"
|
|
49
118
|
]
|
|
50
119
|
}
|
|
51
120
|
]
|
|
@@ -53,197 +122,177 @@
|
|
|
53
122
|
]
|
|
54
123
|
},
|
|
55
124
|
{
|
|
56
|
-
"id": "pi-vs-hagicode-section-
|
|
57
|
-
"title": "
|
|
125
|
+
"id": "pi-vs-hagicode-section-3",
|
|
126
|
+
"title": "What Pi does well",
|
|
58
127
|
"blocks": [
|
|
59
128
|
{
|
|
60
|
-
"id": "pi-vs-hagicode-section-
|
|
61
|
-
"type": "rich-text",
|
|
62
|
-
"content": [
|
|
63
|
-
"Pi gives you unusually fine-grained control over provider routing, thinking mode, session reuse, and tool exposure, but a pure terminal workflow still leaves project management, orchestration, and long-term knowledge persistence to the user.",
|
|
64
|
-
"In real delivery work, those missing layers matter more than one smart command. HagiCode supplies the workflow structure Pi itself does not try to own."
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"id": "pi-vs-hagicode-section-2-capabilities",
|
|
129
|
+
"id": "pi-vs-hagicode-section-3-capabilities",
|
|
69
130
|
"type": "capability-list",
|
|
70
131
|
"items": [
|
|
71
132
|
{
|
|
72
|
-
"id": "pi-vs-hagicode-section-
|
|
73
|
-
"title": "
|
|
133
|
+
"id": "pi-vs-hagicode-section-3-item-1",
|
|
134
|
+
"title": "A small core you can reshape",
|
|
74
135
|
"content": [
|
|
75
|
-
"Pi
|
|
76
|
-
"
|
|
77
|
-
"That turns Pi from a configurable single-thread CLI into a parallel engineering workbench that matches how teams actually build software."
|
|
78
|
-
],
|
|
79
|
-
"bullets": [
|
|
80
|
-
"Thread A is refining backend API endpoints;",
|
|
81
|
-
"Thread B is refactoring frontend components;",
|
|
82
|
-
"Thread C is writing unit tests;",
|
|
83
|
-
"Thread D is auditing code for security vulnerabilities."
|
|
136
|
+
"Pi's own description is \"a minimal, extensible agent harness that you can make your own.\" Sub-agents, plan mode and permission popups are left out on purpose, so what you run is what you chose to add.",
|
|
137
|
+
"Extensions, skills, prompt templates and themes can be bundled as Pi packages and shared through npm or git."
|
|
84
138
|
]
|
|
85
139
|
},
|
|
86
140
|
{
|
|
87
|
-
"id": "pi-vs-hagicode-section-
|
|
88
|
-
"title": "
|
|
141
|
+
"id": "pi-vs-hagicode-section-3-item-2",
|
|
142
|
+
"title": "Sessions stored as trees",
|
|
89
143
|
"content": [
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"This think-first-then-act approach gives Pi's flexible routing model a place to be documented. Months later, you can still see not only what changed, but why a certain provider, model route, or tool boundary was chosen."
|
|
93
|
-
],
|
|
94
|
-
"bullets": [
|
|
95
|
-
"First, write down what problem this task solves and why this approach makes sense;",
|
|
96
|
-
"Discuss the technical approach in depth with Pi within the proposal framework — all conversations and decisions are recorded in the proposal context;",
|
|
97
|
-
"Once the approach is confirmed, Pi implements the code within the proposal's constraints;",
|
|
98
|
-
"The final proposal document, discussion records, and code changes form a complete trace chain."
|
|
144
|
+
"A session is a tree kept in a single file. You can return to an earlier point with /tree and branch from there without losing the other branch.",
|
|
145
|
+
"Older messages are summarised automatically as the context limit approaches, and compaction can be customised through extensions. /export writes a session to HTML and /share posts it as a GitHub gist."
|
|
99
146
|
]
|
|
100
147
|
},
|
|
101
148
|
{
|
|
102
|
-
"id": "pi-vs-hagicode-section-
|
|
103
|
-
"title": "
|
|
149
|
+
"id": "pi-vs-hagicode-section-3-item-3",
|
|
150
|
+
"title": "Four ways to drive it",
|
|
104
151
|
"content": [
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"Save your attention for creation — let Pi handle the commit paperwork."
|
|
152
|
+
"Use the interactive terminal UI, print/JSON mode for scripts and event streams, an RPC protocol over stdin/stdout, or the TypeScript SDK to embed Pi in your own app.",
|
|
153
|
+
"That makes Pi easy to wrap, which is exactly how tools such as HagiCode can run it."
|
|
108
154
|
]
|
|
109
155
|
},
|
|
110
156
|
{
|
|
111
|
-
"id": "pi-vs-hagicode-section-
|
|
112
|
-
"title": "
|
|
157
|
+
"id": "pi-vs-hagicode-section-3-item-4",
|
|
158
|
+
"title": "Broad provider support with your own accounts",
|
|
113
159
|
"content": [
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"The Code Server integration makes HagiCode not just a frontend page that can analyze code, but a complete workstation where Pi's analysis can directly land as editing actions. It minimizes the tool-switching cost between AI analysis and hands-on modification."
|
|
117
|
-
],
|
|
118
|
-
"bullets": [
|
|
119
|
-
"One-click from analysis to editing: Once Pi identifies the file needing changes in a proposal, HagiCode can directly open that file in the workbench for editing. You do not need to switch tools or re-locate the file.",
|
|
120
|
-
"Local, container, remote — full coverage: whether your project runs on a local machine, in a Docker container, or on a remote server, HagiCode's Code Server can open the project directory through the browser for editing.",
|
|
121
|
-
"Vault direct editing: code reference libraries and learning projects registered in your Vault can also be opened and browsed directly through Code Server when Pi points you to relevant examples."
|
|
160
|
+
"Pi lists more than 15 providers, including Anthropic, OpenAI, Google, Azure, Bedrock and Ollama. Sign in with /login using a subscription or an API key, and add custom providers through models.json.",
|
|
161
|
+
"Pi has no built-in permission system and runs with your user's permissions, so its docs suggest a container when you need stronger isolation."
|
|
122
162
|
]
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"id": "pi-vs-hagicode-section-4",
|
|
170
|
+
"title": "When to choose Pi, and when to choose HagiCode",
|
|
171
|
+
"blocks": [
|
|
172
|
+
{
|
|
173
|
+
"id": "pi-vs-hagicode-section-4-choose-agent",
|
|
174
|
+
"type": "bullet-list",
|
|
175
|
+
"items": [
|
|
176
|
+
"Choose Pi alone if you want a small agent core and enjoy writing extensions or skills to fit your own workflow.",
|
|
177
|
+
"Choose Pi alone if you work in a terminal and your tasks run one at a time.",
|
|
178
|
+
"Choose Pi alone if you embed an agent in your own tooling through the RPC protocol or the SDK.",
|
|
179
|
+
"Choose Pi alone if you already have your own spec, review and commit habits and do not want a second system."
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "pi-vs-hagicode-section-4-choose-hagicode",
|
|
184
|
+
"type": "bullet-list",
|
|
185
|
+
"items": [
|
|
186
|
+
"Choose HagiCode if you want parallel sessions without writing or installing a sub-agent extension.",
|
|
187
|
+
"Choose HagiCode if you want a proposal and archive step around each change that Pi does not include by default.",
|
|
188
|
+
"Choose HagiCode if a Pi task spans several repositories and you would rather declare them once than re-explain them each session.",
|
|
189
|
+
"Choose HagiCode if you prefer a graphical view of sessions and tool calls to terminal output.",
|
|
190
|
+
"Choose HagiCode if you move between agents and want one interface for Pi, Claude Code, Codex and others."
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"id": "pi-vs-hagicode-section-4-not-a-fit",
|
|
195
|
+
"type": "callout",
|
|
196
|
+
"tone": "warning",
|
|
197
|
+
"title": "Where HagiCode is not the right tool for Pi work",
|
|
198
|
+
"content": [
|
|
199
|
+
"Scripted one-shot runs and CI: call Pi in print/JSON mode directly. HagiCode is built around interactive sessions.",
|
|
200
|
+
"Terminal-only habits: if you do not want a GUI, HagiCode only adds a layer between you and Pi.",
|
|
201
|
+
"Pi's extensions, themes and terminal UI do not carry over. HagiCode runs Pi in print/JSON mode, or in RPC mode when a run may ask questions, so UI-level customisation is not shown.",
|
|
202
|
+
"It needs Pi installed and signed in first. The free editions allow 3 concurrent proposals, and teams that do not want a proposal discipline will find the workflow heavier than plain Pi."
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"id": "pi-vs-hagicode-section-5",
|
|
209
|
+
"title": "Using Pi together with HagiCode",
|
|
210
|
+
"blocks": [
|
|
211
|
+
{
|
|
212
|
+
"id": "pi-vs-hagicode-section-5-intro",
|
|
213
|
+
"type": "rich-text",
|
|
214
|
+
"content": [
|
|
215
|
+
"HagiCode does not bundle or replace Pi. It finds the pi executable on your machine, checks its version, and starts it for each run, so your install, login and models.json stay as they are.",
|
|
216
|
+
"From its settings HagiCode can pass Pi's provider, thinking level, session directory, no-session mode and tool restrictions."
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"id": "pi-vs-hagicode-section-5-steps",
|
|
221
|
+
"type": "bullet-list",
|
|
222
|
+
"items": [
|
|
223
|
+
"Install Pi (for example curl -fsSL https://pi.dev/install.sh | sh, or npm install -g --ignore-scripts @earendil-works/pi-coding-agent) and run /login.",
|
|
224
|
+
"Install HagiCode Desktop for Windows, macOS or Linux.",
|
|
225
|
+
"In HagiCode, choose Pi as the Agent CLI and pick a provider and model.",
|
|
226
|
+
"Open a repository and start a session or a proposal.",
|
|
227
|
+
"Expect Pi's output to stream into the conversation, with tool calls in the shared tool-call view.",
|
|
228
|
+
"To go back, run pi in your terminal as before. Your Pi packages and sessions are not locked to HagiCode."
|
|
229
|
+
]
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"id": "pi-vs-hagicode-section-5-notes",
|
|
233
|
+
"type": "callout",
|
|
234
|
+
"tone": "info",
|
|
235
|
+
"title": "What works with Pi inside HagiCode",
|
|
236
|
+
"content": [
|
|
237
|
+
"Works: parallel sessions, proposals, AI commits, the tool-call view, version detection and health checks, and interactive questions through Pi's RPC mode.",
|
|
238
|
+
"Does not apply: the agent work panel is Claude-only, and Pi extensions that draw terminal UI are not rendered."
|
|
239
|
+
]
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"id": "pi-vs-hagicode-section-6",
|
|
245
|
+
"title": "What HagiCode adds on top of any agent",
|
|
246
|
+
"blocks": [
|
|
247
|
+
{
|
|
248
|
+
"id": "pi-vs-hagicode-section-6-capabilities",
|
|
249
|
+
"type": "capability-list",
|
|
250
|
+
"items": [
|
|
165
251
|
{
|
|
166
|
-
"id": "pi-vs-hagicode-section-
|
|
167
|
-
"title": "
|
|
252
|
+
"id": "pi-vs-hagicode-section-6-item-1",
|
|
253
|
+
"title": "Parallel sessions and Agents management",
|
|
168
254
|
"content": [
|
|
169
|
-
"
|
|
170
|
-
"HagiCode's Monospecs mechanism is the structured solution designed for multi-repo scenarios. Through the .hagicode/monospecs.yaml configuration file, it declares all sub-repo addresses, names, and relationships in the project group, giving Pi an automatic cross-repo map when launching proposals:",
|
|
171
|
-
"Monospecs essentially eliminates Pi's cognitive blind spots in cross-repo collaboration. Pi's routing flexibility matters more once it can also see the full change surface."
|
|
172
|
-
],
|
|
173
|
-
"bullets": [
|
|
174
|
-
"Automatic repo relationship awareness: when creating a development proposal, Pi can directly read the sub-repo list from the Monospecs config instead of relying on repeated manual explanation.",
|
|
175
|
-
"Cross-repo change tracking: specs stay centralized while code changes stay in the relevant repos, keeping decision history and implementation cleanly separated.",
|
|
176
|
-
"AI commit smart repo targeting: HagiCode analyzes your changes against the Monospecs config and suggests where each commit belongs.",
|
|
177
|
-
"Per-repo AGENTS.md: Pi automatically picks up repo-specific conventions when operating across different codebases."
|
|
255
|
+
"Pi leaves sub-agents to extensions. In HagiCode every Pi run is its own session, so one can refactor while another writes tests, and Agents management shows each one's status."
|
|
178
256
|
]
|
|
179
257
|
},
|
|
180
258
|
{
|
|
181
|
-
"id": "pi-vs-hagicode-section-
|
|
182
|
-
"title": "
|
|
259
|
+
"id": "pi-vs-hagicode-section-6-item-2",
|
|
260
|
+
"title": "OpenSpec proposals",
|
|
183
261
|
"content": [
|
|
184
|
-
"Pi
|
|
185
|
-
"Vault is HagiCode's cross-project persistent knowledge storage layer. Its core design philosophy is 'register once, reuse everywhere':",
|
|
186
|
-
"If Monospecs lets Pi understand where projects are, Vault lets Pi remember what you've already accumulated. That turns a configurable CLI into a longer-term engineering partner."
|
|
187
|
-
],
|
|
188
|
-
"bullets": [
|
|
189
|
-
"Multi-type knowledge containers: register folders, code reference projects, Obsidian notes, and system-managed prompt assets in one place.",
|
|
190
|
-
"Automatic AI context injection: new proposals start with the right reference material already available to Pi.",
|
|
191
|
-
"Fine-grained access control: separate read-only references from editable project spaces so Pi can learn broadly without modifying the wrong thing.",
|
|
192
|
-
"Cross-project knowledge reuse: patterns captured once can support every later proposal instead of being rebuilt from scratch."
|
|
262
|
+
"Pi ships without plan mode, so HagiCode's propose, validate, apply, archive flow gives each Pi task a written plan and a record. Free editions allow 3 concurrent proposals."
|
|
193
263
|
]
|
|
194
264
|
},
|
|
195
265
|
{
|
|
196
|
-
"id": "pi-vs-hagicode-section-
|
|
197
|
-
"title": "
|
|
266
|
+
"id": "pi-vs-hagicode-section-6-item-3",
|
|
267
|
+
"title": "AI commit and Code Server",
|
|
198
268
|
"content": [
|
|
199
|
-
"
|
|
200
|
-
"OmniRoute separates the interaction layer from the model-routing layer, so HagiCode can keep Pi in the workflow while switching model sources underneath.",
|
|
201
|
-
"That gives you better cost control, better task-to-model fit, and less workflow churn when model pricing or availability changes."
|
|
202
|
-
],
|
|
203
|
-
"bullets": [
|
|
204
|
-
"Keep the CLI or interaction style you already prefer while changing only the model route underneath.",
|
|
205
|
-
"Share one routing strategy across multiple Agents and multiple AI tools connected to HagiCode.",
|
|
206
|
-
"Tune different model routes for different workloads, such as fast coding, deep review, or architecture planning.",
|
|
207
|
-
"Adjust cost and capability once at the routing layer instead of reworking each individual workflow."
|
|
269
|
+
"HagiCode writes the commit message from your diff and locks the repository while it commits. The embedded Code Server opens files Pi changed in a browser editor."
|
|
208
270
|
]
|
|
209
271
|
},
|
|
210
272
|
{
|
|
211
|
-
"id": "pi-vs-hagicode-section-
|
|
212
|
-
"title": "
|
|
273
|
+
"id": "pi-vs-hagicode-section-6-item-4",
|
|
274
|
+
"title": "Monospecs and Vault",
|
|
213
275
|
"content": [
|
|
214
|
-
"
|
|
215
|
-
"The same shape covers every provider, so Pi CLI tool calls look like those of every other agent in your workspace. You read one format instead of learning each CLI's raw output."
|
|
216
|
-
],
|
|
217
|
-
"bullets": [
|
|
218
|
-
"One shape for every provider: shell, file, search, fetch and MCP calls are presented consistently;",
|
|
219
|
-
"Failed calls carry a readable error message;",
|
|
220
|
-
"Raster tool images are carried as data URIs."
|
|
276
|
+
"Monospecs lists your repositories in one file so Pi starts a proposal knowing the whole change surface. Vault keeps reference projects and notes that new proposals can use as context."
|
|
221
277
|
]
|
|
222
278
|
},
|
|
223
279
|
{
|
|
224
|
-
"id": "pi-vs-hagicode-section-
|
|
225
|
-
"title": "
|
|
280
|
+
"id": "pi-vs-hagicode-section-6-item-5",
|
|
281
|
+
"title": "OmniRoute, tool-call view and TokenMonitor",
|
|
226
282
|
"content": [
|
|
227
|
-
"
|
|
228
|
-
"It reads TokenMonitor's local data file or a TokenMonitor HostHub on a schedule and keeps only today's total tokens and cost. The status bar stays a quick glance rather than a full usage report."
|
|
229
|
-
],
|
|
230
|
-
"bullets": [
|
|
231
|
-
"Nothing is read until you turn the integration on;",
|
|
232
|
-
"The HostHub secret is write-only and is never returned or logged after you save it;",
|
|
233
|
-
"An invalid HostHub address is rejected when you save it."
|
|
283
|
+
"If you configure OmniRoute, Pi's model requests can be routed through it. Pi's tool calls use the same format as other agents. A TokenMonitor status-bar item shows today's tokens and cost; it is off by default."
|
|
234
284
|
]
|
|
235
285
|
},
|
|
236
286
|
{
|
|
237
|
-
"id": "pi-vs-hagicode-section-
|
|
238
|
-
"title": "Interactive questions
|
|
287
|
+
"id": "pi-vs-hagicode-section-6-interactive-questions",
|
|
288
|
+
"title": "Interactive questions",
|
|
239
289
|
"content": [
|
|
240
|
-
"When Pi
|
|
241
|
-
"If the run has already ended, for example after a restart or a timeout, your answer is sent as a normal message in the same session so the work can carry on."
|
|
290
|
+
"When Pi asks a structured question, HagiCode shows it in the conversation, the session waits for a reply, and your answer continues the same run. If the run already ended, the answer goes in as a normal message in the same session."
|
|
242
291
|
],
|
|
243
292
|
"bullets": [
|
|
244
|
-
"Questions
|
|
245
|
-
"A question
|
|
246
|
-
"Enabled per CLI by the interactive-control setting
|
|
293
|
+
"Questions asked at the same time can be answered in one submission;",
|
|
294
|
+
"A question unanswered after 30 minutes expires and can still be answered by a follow-up message;",
|
|
295
|
+
"Enabled per CLI by the interactive-control setting."
|
|
247
296
|
]
|
|
248
297
|
}
|
|
249
298
|
]
|
|
@@ -251,31 +300,46 @@
|
|
|
251
300
|
]
|
|
252
301
|
},
|
|
253
302
|
{
|
|
254
|
-
"id": "pi-vs-hagicode-section-
|
|
255
|
-
"title": "
|
|
303
|
+
"id": "pi-vs-hagicode-section-7",
|
|
304
|
+
"title": "The bottom line",
|
|
256
305
|
"blocks": [
|
|
257
306
|
{
|
|
258
|
-
"id": "pi-vs-hagicode-section-
|
|
259
|
-
"type": "rich-text",
|
|
260
|
-
"content": [
|
|
261
|
-
"Pi CLI is a flexible, provider-aware AI coding interface, and HagiCode is a complete AI programming workbench. Their relationship is complementary:",
|
|
262
|
-
"If you're already using Pi, try connecting it to HagiCode — you'll find Pi is no longer just a configurable terminal command, but a full-workflow AI partner operating inside a structured engineering environment."
|
|
263
|
-
]
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"id": "pi-vs-hagicode-section-3-bullets",
|
|
307
|
+
"id": "pi-vs-hagicode-section-7-bullets",
|
|
267
308
|
"type": "bullet-list",
|
|
268
309
|
"items": [
|
|
269
|
-
"Pi
|
|
270
|
-
"
|
|
271
|
-
"HagiCode
|
|
272
|
-
"
|
|
273
|
-
"Usage at a glance: optional TokenMonitor status-bar view of today's tokens and cost;",
|
|
274
|
-
"Interactive questions: answer the agent's structured questions and let the same run continue;",
|
|
275
|
-
"Together they provide an experience: traceable decision chains, automated daily tasks, a genuinely enjoyable interface, and a long-term AI partner that truly understands your project landscape and can be freely configured with any model source."
|
|
310
|
+
"Pi is a free, MIT-licensed, deliberately minimal agent; HagiCode is a workbench that runs it and does not replace it.",
|
|
311
|
+
"Stay with Pi alone if you want to shape the agent yourself or use it in scripts and your own tools.",
|
|
312
|
+
"Add HagiCode when you want parallel sessions, proposals and commit help without building them as Pi extensions.",
|
|
313
|
+
"Your Pi install and login are untouched, so trying HagiCode does not commit you to anything."
|
|
276
314
|
]
|
|
277
315
|
}
|
|
278
316
|
]
|
|
279
317
|
}
|
|
318
|
+
],
|
|
319
|
+
"faq": [
|
|
320
|
+
{
|
|
321
|
+
"question": "Is Pi free?",
|
|
322
|
+
"answer": "Pi is MIT-licensed and free to install. You pay only for the models you connect, through an API key or a provider subscription you sign in to with /login. See pi.dev for current details."
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"question": "How do I install Pi?",
|
|
326
|
+
"answer": "On macOS or Linux run curl -fsSL https://pi.dev/install.sh | sh. On Windows run powershell -c \"irm https://pi.dev/install.ps1 | iex\". You can also run npm install -g --ignore-scripts @earendil-works/pi-coding-agent, which needs Node.js 22.19 or newer."
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"question": "Does Pi have sub-agents or a plan mode?",
|
|
330
|
+
"answer": "Not by default. Pi skips them on purpose and lets you add them through extensions, skills or packages."
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"question": "Can I use Pi with HagiCode?",
|
|
334
|
+
"answer": "Yes. HagiCode lists Pi as an Agent CLI. Install Pi and run /login, then select it in HagiCode; HagiCode starts Pi for you and leaves your Pi setup unchanged."
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"question": "Does HagiCode replace Pi?",
|
|
338
|
+
"answer": "No. HagiCode is the workbench around Pi, adding sessions, proposals, commits and history. It needs Pi installed and signed in to run."
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"question": "Pi vs HagiCode: which should I pick?",
|
|
342
|
+
"answer": "Pick Pi alone if you want a minimal agent you extend yourself. Add HagiCode if you want ready-made parallel sessions, proposals and history around Pi."
|
|
343
|
+
}
|
|
280
344
|
]
|
|
281
345
|
}
|