Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
436 lines (407 loc) · 31.7 KB
/
Copy pathindex.html
File metadata and controls
436 lines (407 loc) · 31.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ArchGraph — a knowledge-graph framework with an ontology you define</title>
<meta name="description" content="ArchGraph — a knowledge-graph framework with a customizable ontology, wired into your coding agent through one MCP interface. Durable, tiered long-term memory on an ArchiMate 3.2 (or your own) intent graph." />
<style>
:root {
--bg: #0a0a0b;
--bg-soft: #101013;
--surface: #141418;
--surface-2: #17171c;
--border: rgba(255, 255, 255, 0.09);
--border-strong: rgba(255, 255, 255, 0.16);
--text: #f4f5f7;
--muted: #9aa1ab;
--accent: #6b8cff;
--accent-strong: #8aa2ff;
--ok: #34d399;
--code: #e8eaf0;
--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
--mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
--maxw: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: var(--sans);
line-height: 1.7;
-webkit-font-smoothing: antialiased;
}
a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
/* ---------- header ---------- */
.site-header {
position: sticky; top: 0; z-index: 50;
background: rgba(10, 10, 11, 0.72);
backdrop-filter: blur(14px);
border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 22px; height: 22px; border-radius: 6px; flex: 0 0 auto; background: linear-gradient(135deg, #6b8cff, #a06bff); }
.brand .tag { font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 3px 8px; border-radius: 8px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); color: var(--muted); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a.link { color: var(--muted); font-size: 0.9rem; }
.nav a.link:hover { color: var(--text); text-decoration: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 550; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); color: var(--text); cursor: pointer; }
.btn:hover { border-color: var(--border-strong); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #0a0a0b; }
.btn.primary:hover { filter: brightness(1.08); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }
.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 10px 0 18px; border-bottom: 1px solid var(--border); }
.mobile-nav a { color: var(--muted); padding: 10px 2px; }
/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero::before {
content: ""; position: absolute; inset: -40% 0 auto 0; height: 640px; z-index: 0;
background: radial-gradient(640px 320px at 30% 0%, rgba(107, 140, 255, 0.22), transparent 70%),
radial-gradient(560px 300px at 85% 10%, rgba(160, 107, 255, 0.16), transparent 70%);
pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 52px; align-items: center; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; color: var(--accent-strong); margin: 0 0 16px; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 20px; }
h1 .accent { color: var(--accent-strong); }
.hero p.lead { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin: 0 0 12px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
/* ---------- terminal ---------- */
.term { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); }
.term-tabs { display: flex; gap: 2px; padding: 8px 8px 0; }
.term-tab { font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding: 8px 14px; border-radius: 9px 9px 0 0; border: 1px solid transparent; border-bottom: 0; background: transparent; cursor: pointer; }
.term-tab.active { color: var(--text); background: rgba(255, 255, 255, 0.05); border-color: var(--border); }
.term-body { border-top: 1px solid var(--border); }
.term-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.copy { font-family: var(--mono); font-size: 12px; color: var(--muted); background: none; border: 0; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.copy:hover { color: var(--text); }
.term pre { margin: 0; padding: 18px; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: var(--code); white-space: pre-wrap; word-break: break-word; }
.term pre .p { color: var(--accent-strong); user-select: none; }
.term-panel { display: none; }
.term-panel.active { display: block; }
/* ---------- sections ---------- */
section { scroll-margin-top: 78px; }
.section { padding: 74px 0; border-top: 1px solid var(--border); }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin: 0 0 14px; }
.section p.lead { color: var(--muted); max-width: 760px; margin: 0 0 20px; font-size: 1.02rem; }
.kicker { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-strong); margin: 0 0 12px; }
.read-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; margin-top: 4px; }
.callout { border: 1px solid var(--border-strong); border-left: 3px solid var(--accent); background: rgba(107, 140, 255, 0.07); border-radius: 12px; padding: 22px 24px; margin: 8px 0 4px; }
.callout h3 { margin: 0 0 8px; font-size: 1.15rem; }
.callout p { color: var(--muted); margin: 0 0 10px; }
.about-img { width: 100%; max-width: 940px; display: block; margin: 26px auto 0; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
ul.clean { color: var(--muted); padding-left: 20px; margin: 0 0 18px; }
ul.clean li { margin: 8px 0; }
ul.clean a { color: var(--accent-strong); }
.harness { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.harness span { font-family: var(--mono); font-size: 12.5px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; background: rgba(255, 255, 255, 0.03); }
.spotlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 26px; }
.spotlight { margin: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); transition: border-color 0.25s ease; }
.spotlight:hover { border-color: var(--border-strong); }
.spotlight img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--border); }
.spotlight figcaption { padding: 14px 16px; color: var(--muted); font-size: 0.88rem; }
.spotlight figcaption strong { color: var(--text); }
pre.code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; overflow-x: auto; font-family: var(--mono); font-size: 13px; color: var(--code); margin: 0 0 14px; }
code.inline { font-family: var(--mono); font-size: 0.88em; background: rgba(255, 255, 255, 0.06); padding: 1px 6px; border-radius: 5px; }
footer { border-top: 1px solid var(--border); padding: 34px 24px; color: var(--muted); font-size: 0.85rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (max-width: 900px) {
.hero-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
.nav { display: none; }
.menu-btn { display: inline-flex; }
.mobile-nav.open { display: flex; }
}
</style>
</head>
<body>
<header class="site-header">
<div class="container header-inner">
<a class="brand" href="#top" aria-label="ArchGraph">
<span class="mark"></span>
<span>ArchGraph</span>
<span class="tag">graph memory</span>
</a>
<nav class="nav">
<a class="link" href="#about">About</a>
<a class="link" href="#why">Why</a>
<a class="link" href="#ontology">Ontology</a>
<a class="link" href="#capabilities">Capabilities</a>
<a class="link" href="#install">Install</a>
<a class="link" href="#validation">Validation</a>
<a class="link" href="#quickstart">Build your own graph</a>
<a class="link" href="#howto">How to use</a>
<a class="link" href="#community">Community</a>
<a class="link" href="docs/getting-started.html">Docs</a>
<a class="link" href="docs/insights.html">Insights</a>
<a class="btn" href="https://github.com/derekhu0002/archgraph" target="_blank" rel="noopener">GitHub</a>
</nav>
<button class="menu-btn" aria-label="Menu" onclick="document.querySelector('.mobile-nav').classList.toggle('open')">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M3 6h18M3 12h18M3 18h18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/></svg>
</button>
</div>
<nav class="mobile-nav container">
<a href="#about">About</a>
<a href="#why">Why</a>
<a href="#ontology">Ontology</a>
<a href="#capabilities">Capabilities</a>
<a href="#install">Install</a>
<a href="#validation">Validation</a>
<a href="#quickstart">Build your own graph</a>
<a href="#howto">How to use</a>
<a href="#community">Community</a>
<a href="docs/getting-started.html">Docs</a>
<a href="docs/insights.html">Insights</a>
<a href="https://github.com/derekhu0002/archgraph" target="_blank" rel="noopener">GitHub</a>
</nav>
</header>
<a id="top"></a>
<section class="hero">
<div class="container hero-grid">
<div>
<p class="eyebrow">ArchGraph · architecture-graph driven Agentic Engineering</p>
<h1>A knowledge-graph framework with an <span class="accent">ontology you define</span> — for your coding agent.</h1>
<p class="lead">Your coding agent forgets everything between sessions, and the "why" behind your system lives nowhere. ArchGraph fixes that: it keeps one <strong>architecture graph</strong> — a picture of your project's parts and how they relate — as the agent's durable memory and your product's design, read and written over a single <strong>MCP</strong> (<strong>Model Context Protocol</strong>) server.</p>
<p class="lead">The graph's vocabulary — its <strong>ontology</strong>, the set of types and relationships it may hold — is yours to define. The built-in default is <strong>ArchiMate 3.2 + ARGO extensions</strong> (<strong>ArchiMate</strong> is a standard enterprise-architecture modeling language; <strong>ARGO</strong> is the toolchain and agent-workflow layer behind <code class="inline">argo-deploy</code> and <code class="inline">argo-init</code>); a repository can plug in its own. One install, one interface to learn, and a graph that stays clean because writes are deduplicated.</p>
<div class="hero-actions">
<a class="btn primary" href="#install">Install ArchGraph</a>
<a class="btn" href="docs/getting-started.html">Read the guide</a>
<a class="btn" href="https://github.com/derekhu0002/archgraph" target="_blank" rel="noopener">View on GitHub</a>
</div>
</div>
<div class="term reveal">
<div class="term-tabs">
<button class="term-tab active" data-term="install">Install</button>
<button class="term-tab" data-term="init">Quick start</button>
</div>
<div class="term-body">
<div class="term-bar">
<span class="dots"><i></i><i></i><i></i></span>
<button class="copy" data-copy="npm install -g archgraph-argo argo-deploy">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg>
Copy
</button>
</div>
<div class="term-panel active" data-panel="install">
<pre><span class="p">$ </span>npm install -g archgraph-argo
<span class="p">$ </span>argo-deploy</pre>
</div>
<div class="term-panel" data-panel="init">
<pre><span class="p">$ </span>argo-init <span class="muted"># initialize the workspace (CLI)</span></pre>
</div>
</div>
</div>
</div>
</section>
<section id="about" class="section">
<div class="container">
<p class="kicker">What is this?</p>
<h2>One graph for the agent's memory and the product's design.</h2>
<p class="lead">Running coding agents on a real codebase hurts in two ways: every session starts cold, and the "why" behind the system lives nowhere. ArchGraph makes <strong>one architecture graph</strong> the single source of truth — a durable, tiered memory the agent reads semantically and writes with reuse-by-default (a duplicate needs an explicit override), plus a model you can reason over. It is one MCP interface to install and learn.</p>
<ul class="clean">
<li><strong>Architects / tech leads</strong> — one model of the product, the harness, and the agents.</li>
<li><strong>Agent users</strong> — memory restored at session start, recalled on demand, reused instead of duplicated.</li>
<li><strong>Platform teams</strong> — one interface, deployed into the editor you already use.</li>
</ul>
<img class="about-img" src="docs/diagrams/core-model.svg" alt="ArchGraph core model — one model for the agent's memory and the product's design" />
<p style="margin-top:20px;"><a class="read-more" href="docs/getting-started.html">Read the getting-started guide →</a></p>
</div>
</section>
<section id="why" class="section">
<div class="container">
<p class="kicker">Why ArchGraph</p>
<h2>The comparison lives on one page.</h2>
<p class="lead">The usual fixes for agent context — loose files, a plain vector store, a wiki/ADR folder, a general graph or ontology tool — each work until they don't. The real differentiator isn't "custom vs. locked": Protégé/OWL, Neo4j, TerminusDB, and Archi/EA all let you extend a model. It is a <strong>first-class, validated, runtime-resolved schema bundle behind one MCP interface</strong>, with typed dedup and commit traceability built in.</p>
<p><a class="read-more" href="docs/capabilities.html#compare">See the full comparison — including what ArchGraph itself costs you →</a></p>
</div>
</section>
<section id="ontology" class="section">
<div class="container">
<p class="kicker">Bring your own ontology</p>
<h2>Not locked to one modeling language.</h2>
<p class="lead">ArchGraph separates the <strong>core</strong> from the <strong>ontology</strong>. A repository drops a <em>schema bundle</em> under <code class="inline">.argo/schema/</code> — element and relationship types, endpoint rules, an actor contract — and validation, MCP guidance, and the <code class="inline">.qea</code> projection follow it. A bundle can <code class="inline">extends: "default"</code> — inheriting the built-in <strong>ArchiMate 3.2 + ARGO extensions</strong> — and add its own types, with no framework change.</p>
<div class="callout reveal">
<h3>This repository is its own proof</h3>
<p>Its active schema uses <code class="inline">extends: "default"</code> — inheriting the built-in <strong>ArchiMate 3.2 + ARGO extensions</strong> — and layers a <strong>UML 2 state-machine profile</strong> on top, resolved at runtime from <code class="inline">.argo/schema/</code> rather than hardcoded in the framework.</p>
<p><a class="read-more" href="docs/case-team-graph.html">Worked case: define an ontology, then build the graph →</a></p>
</div>
</div>
</section>
<section id="capabilities" class="section">
<div class="container">
<p class="kicker">Capabilities</p>
<h2>What the framework gives you.</h2>
<p class="lead">Tiered long-term memory · pluggable ontology · semantic + structural retrieval · deduplicated writes · acceptance-test-first traceability · Enterprise Architect (<code class="inline">.qea</code>) interop · federated sovereign graph sharing · one MCP interface across six harnesses. Each has a short page.</p>
<div class="harness">
<span>GitHub Copilot</span><span>Cursor</span><span>OpenCode</span><span>DeepSeek Harness</span><span>OpenClaw</span><span>Codex</span>
</div>
<p><a class="read-more" href="docs/capabilities.html">View all capabilities →</a></p>
<div class="spotlights">
<figure class="spotlight reveal">
<img src="docs/diagrams/cap-memory-tiers.svg" alt="Three-tier agent memory" />
<figcaption><strong>Three-tier memory</strong> — only a compact working memory is loaded at session start; long-term memory is recalled on demand.</figcaption>
</figure>
<figure class="spotlight reveal">
<img src="docs/diagrams/cap-lean-reads.svg" alt="Lean, matched reads" />
<figcaption><strong>Lean, matched reads</strong> — bookkeeping is omitted by default and semantic hits carry a <code class="inline">matchedSnippet</code>.</figcaption>
</figure>
<figure class="spotlight reveal">
<img src="docs/diagrams/cap-federation.svg" alt="Federated graph sharing" />
<figcaption><strong>Federated graph sharing</strong> — read another project's opened content by reference. Denied by default; nothing copied or merged.</figcaption>
</figure>
</div>
</div>
</section>
<section id="install" class="section">
<div class="container">
<p class="kicker">Install & deploy</p>
<h2>Two commands, and you're ready.</h2>
<p class="lead"><strong>Requires Node.js ≥ 18.</strong> One <code class="inline">argo-deploy</code> registers the <strong>MCP server</strong> and installs the skills and rules into GitHub Copilot, Cursor, OpenCode, DeepSeek Harness, <strong>OpenClaw</strong>, and <strong>Codex</strong> (agents where the host supports them), then walks you through <code class="inline">~/.argo/.env</code>.</p>
<pre class="code">npm install -g archgraph-argo
argo-deploy</pre>
<p class="lead" style="margin-top:18px;">For context reads and writes, deduplication, and Enterprise Architect interop, <strong>Node.js is all you need</strong> — no database. The <strong>structural</strong> Cypher (Neo4j's graph query language) projection and all <strong>semantic</strong> Graph RAG additionally need a <strong>Neo4j</strong> instance and an OpenAI-compatible <strong>embedding</strong> endpoint; until those are configured, <code class="inline">argo-init</code>'s structural sync and semantic lifecycle <strong>report failed</strong> (the graph itself is still created).</p>
<p class="lead"><strong>After deploying, restart your editor / host</strong> so it reloads the new MCP server.</p>
<p><a class="read-more" href="docs/getting-started.html">Prerequisites and configuration →</a></p>
</div>
</section>
<section id="validation" class="section">
<div class="container">
<p class="kicker">Ontology validation (optional)</p>
<h2>Catch logical contradictions, not just type errors.</h2>
<p class="lead">Your schema bundle enforces endpoint rules. ArchGraph can also run a <strong>real ontology / reasoning engine</strong> at its existing validation timings — <strong>on write</strong> (the change's delta subgraph) and <strong>at init</strong> (the whole graph) — to catch <strong>OWL logical contradictions</strong> (e.g. an element that is two disjoint types, or a single-valued slot with two values) and <strong>SHACL constraint violations</strong>. It is <strong>opt-in, off by default</strong>, and <strong>fail-close</strong>: a configured engine that is unavailable is a <strong>blocking error</strong>, not a silent pass (an advisory validator can opt out per entry).</p>
<pre class="code">argo-deploy -EnableOntologyValidation</pre>
<p class="lead">That writes the switch into <code class="inline">~/.argo/.env</code> (no hand-editing); restart your host to apply, then verify with <code class="inline">Get-Content "$env:USERPROFILE\.argo\.env"</code>. The engine is <strong>pySHACL + owlready2/HermiT</strong> — the deployer installs the Python packages, and needs <strong>Python 3</strong> + a <strong>JRE</strong>: if either is missing it alerts and <strong>stops</strong> (it never installs a system runtime; <code class="inline">-SkipOntologyEngine</code> skips the step).</p>
<p><a class="read-more" href="docs/capabilities.html">More capabilities →</a></p>
</div>
</section>
<section id="quickstart" class="section">
<div class="container">
<p class="kicker">Build your own graph</p>
<h2>Your own graph, two routes.</h2>
<p class="lead">Pick <strong>one</strong> route. Everything runs through your coding agent and the ARGO MCP server; the only commands you run yourself are the install. The fully-illustrated walkthrough is <a href="docs/case-team-graph.html">docs/case-team-graph.html</a> (Chinese).</p>
<h3>Route A — default ontology (fastest)</h3>
<p class="lead">No schema work: use the built-in <strong>ArchiMate 3.2 + ARGO extensions</strong>.</p>
<ol class="clean">
<li><strong>Install (once).</strong> Run <code class="inline">npm install -g archgraph-argo</code> then <code class="inline">argo-deploy</code> (requires <strong>Node.js ≥ 18</strong>), and restart your editor / host.</li>
<li><strong>Initialize.</strong> Ask your coding agent to run <code class="inline">argo-init</code> (the <code class="inline">argo-init</code> CLI) — it creates and validates <code class="inline">design/KG/SystemArchitecture.json</code>, which already holds the project's root view named <code class="inline">SystemArchitecture</code>.</li>
<li><strong>Add elements and relationships.</strong> Ask your coding agent to call <code class="inline">applySystemArchitectureMutation</code> and attach each item to the project's <strong>existing root view</strong> — have it resolve that view's real <code class="inline">view_id</code> first; do <strong>not</strong> pre-create a view (a second <code class="inline">SystemArchitecture</code> view would collide, and a different id would then fail). No schema work.</li>
<li><strong>Verify.</strong> Ask your coding agent to call <code class="inline">validateSystemArchitecture</code>, then <code class="inline">queryNeo4jGraph</code> with <code class="inline">{"schema": true}</code>.</li>
</ol>
<h3>Route B — your own ontology</h3>
<ol class="clean">
<li><strong>Install (once).</strong> As in Route A.</li>
<li><strong>Author your schema.</strong> Put your modeling language under <code class="inline">.argo/schema/</code>. A <strong>standalone</strong> bundle — a full <code class="inline">SystemArchitecture.schema.json</code>, editing its two <code class="inline">$defs</code> enum arrays, <code class="inline">archimateElementType</code> and <code class="inline">archimateRelationshipType</code> — <strong>must also declare <code class="inline">actorElementType</code> in <code class="inline">schema-bundle.config.json</code></strong>, set to one of your element types (or to <code class="inline">null</code> if your schema genuinely has no actor concept), or loading fails closed (<code class="inline">bundleValidation.status: "failed"</code>) and validation/writes are blocked. A bundle that only <code class="inline">extends: "default"</code> needs just the config; <code class="inline">schema-bundle.rules.json</code> stays optional.</li>
<li><strong>Author the graph yourself.</strong> With a custom schema, <code class="inline">argo-init</code> does <strong>not</strong> create the graph (the packaged default would not match) and <strong>fails closed</strong> with <code class="inline">NO_DEFAULT_GRAPH</code>. Before any MCP write, create <code class="inline">design/KG/SystemArchitecture.json</code> by hand with your own types and root view, then ask your coding agent to run <code class="inline">argo-init</code> to validate it.</li>
<li><strong>Add into YOUR root view.</strong> Ask your coding agent to call <code class="inline">applySystemArchitectureMutation</code>, attaching each element and relationship to the root view <strong>you authored</strong>.</li>
<li><strong>Verify.</strong> Same as Route A.</li>
</ol>
<p class="lead">The result looks like this — the Team Graph example (4 elements, 3 relationships, one root view):</p>
<img class="about-img" src="docs/diagrams/team-graph-elements-relations.svg" alt="Team Graph example — Agent 001 assigned to Team A, Team A depends on Service A, Service A depends on Service B" style="margin-top:8px;" />
<p><a class="read-more" href="docs/case-team-graph.html">See the full worked example (Chinese) →</a></p>
</div>
</section>
<section id="howto" class="section">
<div class="container">
<p class="kicker">How to use</p>
<h2>Initialize once, then let the agent work.</h2>
<p class="lead"><strong>Step 0 — initialize the workspace.</strong> In a fresh project, ask your coding agent to run <code class="inline">argo-init</code> (the <code class="inline">argo-init</code> CLI). It creates a starter <code class="inline">design/KG/SystemArchitecture.json</code> when missing and verifies the architecture; its first JSON → Neo4j sync and semantic-lifecycle steps <strong>report failed until Neo4j + an embedding endpoint are configured</strong> — the graph and its context reads/writes still work without them.</p>
<p class="lead">Then open your project and start a coding agent. It will:</p>
<ul class="clean">
<li>locate the architecture element behind the task before changing anything,</li>
<li>arm itself with that element's Skills and Rules,</li>
<li>work test-first (GIVEN-WHEN-THEN) and trace every commit back to the graph,</li>
<li>reuse an existing element by default, and only create a near-duplicate with an explicit override.</li>
</ul>
<p class="lead">The intent architecture graph — modelled by default in <strong>ArchiMate 3.2 + ARGO extensions</strong> — is the single source of truth.</p>
</div>
</section>
<section id="community" class="section">
<div class="container">
<p class="kicker">Community</p>
<h2>Built in the open.</h2>
<p class="lead">ArchGraph runs on open co-building. The community shares and reuses <strong>architecture subgraphs</strong> across projects. Sharing is <strong>federated</strong>: each project keeps its graph sovereign, and other members read opened content <strong>by reference</strong>. The center is a <strong>registry–broker</strong> that holds federation metadata, never content — register, discover, authorize, read.</p>
<p class="lead">
<a class="read-more" href="https://argo.derekworkspacev5.com/archgraph/" target="_blank" rel="noopener">Community site</a>
·
<a class="read-more" href="https://github.com/derekhu0002/graph-wiki" target="_blank" rel="noopener">graph-wiki graph assets</a>
</p>
</div>
</section>
<section id="links" class="section">
<div class="container">
<p class="kicker">Links</p>
<p class="lead">
<a href="docs/getting-started.html">Getting started</a>
·
<a href="docs/capabilities.html">Capabilities</a>
·
<a href="docs/case-team-graph.html">Worked case: Team Graph</a>
·
<a href="docs/insights.html">Insights</a>
·
<a href="https://github.com/derekhu0002/archgraph" target="_blank" rel="noopener">GitHub</a>
·
<a href="https://github.com/derekhu0002/graph-wiki" target="_blank" rel="noopener">graph-wiki</a>
</p>
<p class="muted" style="font-size:0.86rem;">Theme note: this homepage uses a dark theme; the detail pages under <code class="inline">docs/</code> use a light theme.</p>
</div>
</section>
<footer>
<div class="footer-inner">
<span>ArchGraph — an architecture-graph driven framework for Agentic Engineering.</span>
<span><a href="https://github.com/derekhu0002/archgraph" target="_blank" rel="noopener">GitHub</a> · OSS</span>
</div>
</footer>
<script>
(function () {
// Terminal tabs
document.querySelectorAll('.term-tab').forEach(function (tab) {
tab.addEventListener('click', function () {
var key = tab.getAttribute('data-term');
var root = tab.closest('.term');
root.querySelectorAll('.term-tab').forEach(function (t) { t.classList.toggle('active', t === tab); });
root.querySelectorAll('.term-panel').forEach(function (p) { p.classList.toggle('active', p.getAttribute('data-panel') === key); });
});
});
// Copy buttons
document.querySelectorAll('.copy').forEach(function (btn) {
btn.addEventListener('click', function () {
var text = btn.getAttribute('data-copy') || (btn.closest('.term').querySelector('.term-panel.active pre') || {}).innerText || '';
if (navigator.clipboard) navigator.clipboard.writeText(text).catch(function () {});
var old = btn.lastChild.textContent;
btn.lastChild.textContent = ' Copied';
setTimeout(function () { btn.lastChild.textContent = old; }, 1200);
});
});
// Close mobile nav on link click
document.querySelectorAll('.mobile-nav a').forEach(function (a) {
a.addEventListener('click', function () { document.querySelector('.mobile-nav').classList.remove('open'); });
});
// Scroll reveal
var reveals = document.querySelectorAll('.reveal');
if ('IntersectionObserver' in window) {
var obs = new IntersectionObserver(function (entries) {
entries.forEach(function (e) { if (e.isIntersecting) { e.target.classList.add('in'); obs.unobserve(e.target); } });
}, { threshold: 0.12 });
reveals.forEach(function (el) { obs.observe(el); });
} else {
reveals.forEach(function (el) { el.classList.add('in'); });
}
})();
</script>
</body>
</html>