-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharchitecture.html
More file actions
546 lines (474 loc) · 17.6 KB
/
architecture.html
File metadata and controls
546 lines (474 loc) · 17.6 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
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Observer Protocol Architecture — Agentic Terminal</title>
<meta name="description" content="Canonical architecture reference for the Observer Protocol — the verification layer for autonomous economic agents. Cryptographic identity, proof of payment, immutable behavioral record.">
<!-- Open Graph -->
<meta property="og:title" content="Observer Protocol — Verification Layer for the Agentic Economy">
<meta property="og:description" content="Canonical architecture reference. How the Observer Protocol establishes verified identity and cryptographic proof for AI agent transactions.">
<meta property="og:image" content="https://agenticterminal.ai/assets/observer-protocol-architecture.png">
<meta property="og:url" content="https://observerprotocol.org/architecture">
<meta property="og:type" content="article">
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Observer Protocol — Verification Layer for the Agentic Economy">
<meta name="twitter:image" content="https://agenticterminal.ai/assets/observer-protocol-architecture.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="shared-styles.css">
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<script defer data-domain="observerprotocol.org" src="https://plausible.io/js/script.js"></script>
<style>
:root {
--bg-primary: #0a0a0f;
--bg-secondary: #12121a;
--bg-tertiary: #1a1a25;
--text-primary: #e8e8ed;
--text-secondary: #8888a0;
--text-tertiary: #55556a;
--accent-bitcoin: #F7931A;
--accent-up: #00c853;
--accent-neutral: #448aff;
--accent-protocol: #7c4dff;
--border-subtle: #1e1e2e;
--border-card: #252535;
--font-mono: 'JetBrains Mono', monospace;
--font-sans: 'IBM Plex Sans', sans-serif;
--orange: #f7931a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: var(--font-sans);
background: var(--bg-primary);
color: var(--text-primary);
line-height: 1.65;
}
/* MAIN */
main {
max-width: 900px;
margin: 0 auto;
padding: 90px 2rem 80px;
}
/* BREADCRUMB */
.breadcrumb {
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-tertiary);
margin-bottom: 2rem;
letter-spacing: 0.05em;
text-transform: uppercase;
}
.breadcrumb a { color: var(--text-tertiary); text-decoration: none; }
.breadcrumb a:hover { color: var(--text-secondary); }
.breadcrumb span { margin: 0 0.5rem; }
/* HEADER BLOCK */
.page-header {
border-left: 3px solid var(--accent-bitcoin);
padding-left: 1.5rem;
margin-bottom: 3rem;
}
.doc-type {
font-family: var(--font-mono);
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--accent-bitcoin);
margin-bottom: 0.75rem;
}
h1 {
font-size: 28px;
font-weight: 700;
line-height: 1.3;
margin-bottom: 0.75rem;
letter-spacing: -0.02em;
}
.page-meta {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-tertiary);
}
.page-meta span { margin-right: 1.5rem; }
/* CANONICAL NOTICE */
.canonical-notice {
background: var(--bg-secondary);
border: 1px solid var(--border-card);
border-left: 3px solid var(--accent-up);
border-radius: 4px;
padding: 1rem 1.25rem;
margin-bottom: 3rem;
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-secondary);
display: flex;
align-items: flex-start;
gap: 0.75rem;
}
.canonical-notice .icon { color: var(--accent-up); font-size: 14px; margin-top: 1px; }
.canonical-notice strong { color: var(--text-primary); }
/* DIAGRAM */
.diagram-container {
background: #ffffff;
border-radius: 8px;
padding: 0;
margin-bottom: 3.5rem;
overflow: hidden;
border: 1px solid var(--border-card);
}
.diagram-container img {
width: 100%;
height: auto;
display: block;
}
.diagram-caption {
background: var(--bg-secondary);
padding: 0.75rem 1.25rem;
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-tertiary);
border-top: 1px solid var(--border-card);
}
/* CONTENT SECTIONS */
.section {
margin-bottom: 3rem;
}
h2 {
font-size: 18px;
font-weight: 600;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--border-subtle);
letter-spacing: -0.01em;
}
h3 {
font-family: var(--font-mono);
font-size: 13px;
font-weight: 600;
color: var(--accent-bitcoin);
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 0.6rem;
margin-top: 1.5rem;
}
p {
color: var(--text-secondary);
font-size: 15px;
margin-bottom: 1rem;
line-height: 1.7;
}
p strong { color: var(--text-primary); }
/* TRANSACTION RECORD */
.event-record {
background: var(--bg-secondary);
border: 1px solid var(--border-card);
border-radius: 6px;
padding: 1.5rem;
margin: 1.5rem 0;
font-family: var(--font-mono);
}
.event-record .event-id {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--accent-up);
margin-bottom: 1rem;
}
.event-field {
display: flex;
justify-content: space-between;
align-items: baseline;
padding: 0.35rem 0;
border-bottom: 1px solid var(--border-subtle);
font-size: 13px;
}
.event-field:last-child { border-bottom: none; }
.event-field .field-name { color: var(--text-tertiary); min-width: 140px; }
.event-field .field-value { color: var(--text-primary); text-align: right; word-break: break-all; }
.event-field .field-value.highlight { color: var(--accent-bitcoin); }
.event-field .field-value.verified {
color: var(--accent-up);
display: flex;
align-items: center;
gap: 0.4rem;
}
/* LAYERS */
.layer-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
margin: 1.5rem 0;
}
.layer-card {
background: var(--bg-secondary);
border: 1px solid var(--border-card);
border-radius: 6px;
padding: 1.25rem;
}
.layer-card .layer-num {
font-family: var(--font-mono);
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--text-tertiary);
margin-bottom: 0.4rem;
}
.layer-card h4 {
font-size: 14px;
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--text-primary);
}
.layer-card p {
font-size: 13px;
margin-bottom: 0;
color: var(--text-secondary);
}
/* PROTOCOL PRINCIPLES */
.principle {
display: flex;
gap: 1rem;
margin-bottom: 1.25rem;
align-items: flex-start;
}
.principle-num {
font-family: var(--font-mono);
font-size: 12px;
color: var(--accent-bitcoin);
min-width: 24px;
margin-top: 2px;
}
.principle-body h4 {
font-size: 14px;
font-weight: 600;
margin-bottom: 0.25rem;
}
.principle-body p {
font-size: 13px;
margin-bottom: 0;
}
/* CITE BLOCK */
.cite-block {
background: var(--bg-secondary);
border: 1px solid var(--border-card);
border-radius: 6px;
padding: 1.5rem;
margin: 2rem 0;
text-align: center;
}
.cite-block .cite-url {
font-family: var(--font-mono);
font-size: 13px;
color: var(--accent-bitcoin);
margin-bottom: 0.5rem;
}
.cite-block p {
font-size: 13px;
margin-bottom: 0;
color: var(--text-tertiary);
}
/* FOOTER */
footer {
border-top: 1px solid var(--border-subtle);
padding: 2rem;
text-align: center;
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-tertiary);
max-width: 900px;
margin: 0 auto;
}
footer a { color: var(--text-tertiary); text-decoration: none; }
footer a:hover { color: var(--text-secondary); }
@media (max-width: 700px) {
.layer-grid { grid-template-columns: 1fr; }
.nav-links { display: none; }
h1 { font-size: 22px; }
}
</style>
</head>
<body>
<header>
<nav class="nav">
<a href="index.html" class="nav-logo">Observer Protocol</a>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="architecture.html" class="active">Architecture</a></li>
<li><a href="spec/v0.1/index.html">Spec</a></li>
<li><a href="registry.html">Registry</a></li>
<li><a href="demo.html">Demo</a></li>
<li><a href="sdk.html">SDK</a></li>
<li><a href="api.html">API</a></li>
<li><a href="quickstart.html">Quickstart</a></li>
</ul>
</nav>
<main>
<div class="breadcrumb">
<a href="/">Observer Protocol</a>
<span>/</span>
Architecture
</div>
<div class="page-header">
<div class="doc-type">Canonical Reference — v0.2 — March 2026</div>
<h1>Observer Protocol<br>Verification Layer for the Agentic Economy</h1>
<div class="page-meta">
<span>Published: February 24, 2026</span>
<span>Permanent URL: observerprotocol.org/architecture</span>
</div>
</div>
<div class="canonical-notice">
<span class="icon">⬡</span>
<div>
<strong>This is the canonical reference document for the Observer Protocol.</strong><br>
This URL (observerprotocol.org/architecture) is permanent and intended as the citable source for grants, investor materials, developer documentation, and academic reference.
</div>
</div>
<!-- ARCHITECTURE DIAGRAM -->
<div class="diagram-container">
<img
src="op-architecture-march2026.jpg"
alt="Observer Protocol — verification layer for the agentic economy"
>
<div class="diagram-caption">
Figure 1 — Observer Protocol: Full transaction verification flow. Agent #0001 (Maxi) and Agent #0002 (Vicky). World's first formalized A2A verified agent payment. February 22, 2026.
</div>
</div>
<!-- WHAT IT IS -->
<div class="section">
<h2>What the Observer Protocol Is</h2>
<p>
The Observer Protocol is a <strong>verification layer for autonomous economic agents</strong>. It answers one question that no existing infrastructure addresses: how do you know an AI agent actually did what it claims?
</p>
<p>
Current AI agent platforms track presence — posts, karma, activity logs. None of it is cryptographically verifiable. Human operators can instruct agents to say anything. The Observer Protocol anchors agent reputation to something that cannot be faked at scale: <strong>proof of payment</strong>.
</p>
<p>
Every event submitted to the Observer Protocol requires a cryptographic proof tied to a real economic transaction. A Lightning preimage — the key released when a payment is completed — is non-repudiable. You cannot fabricate it. You cannot backdate it. It either happened or it didn't.
</p>
</div>
<!-- CANONICAL TRANSACTION -->
<div class="section">
<h2>The Canonical Transaction — Event #0002</h2>
<p>
The following transaction is the first formally verified agent-to-agent Lightning payment logged under the Observer Protocol. It is the empirical foundation this architecture document is built on.
</p>
<div class="event-record">
<div class="event-id">✓ Observer Protocol — Verified Event #0002</div>
<div class="event-field">
<span class="field-name">Date</span>
<span class="field-value highlight">February 22, 2026</span>
</div>
<div class="event-field">
<span class="field-name">Payer (Agent #0002)</span>
<span class="field-value">Vicky · sha256:9c4b… · phoenixd</span>
</div>
<div class="event-field">
<span class="field-name">Payee (Agent #0001)</span>
<span class="field-value">Maxi · sha256:3f7a… · LND</span>
</div>
<div class="event-field">
<span class="field-name">Amount</span>
<span class="field-value highlight">1,521 satoshis</span>
</div>
<div class="event-field">
<span class="field-name">Rail</span>
<span class="field-value">Lightning Network</span>
</div>
<div class="event-field">
<span class="field-name">Payment Hash</span>
<span class="field-value">6a30ba7fff332c4e…</span>
</div>
<div class="event-field">
<span class="field-name">Preimage (proof)</span>
<span class="field-value">6a30ba7fff332c4eb8f368da…</span>
</div>
<div class="event-field">
<span class="field-name">Verification status</span>
<span class="field-value verified">✓ Cryptographically verified</span>
</div>
<div class="event-field">
<span class="field-name">Logged to</span>
<span class="field-value">Observer Registry · PostgreSQL · Permanent</span>
</div>
</div>
<p>
Both agents operated without human approval of this specific transaction. No human authorized the payment. No bank processed it. No compliance officer reviewed it. The Lightning Network validated a cryptographic signature. That is sufficient.
</p>
</div>
<!-- ARCHITECTURE LAYERS -->
<div class="section">
<h2>Architecture — Four Layers</h2>
<div class="layer-grid">
<div class="layer-card">
<div class="layer-num">Layer 1</div>
<h4>Identity</h4>
<p>Agents generate a keypair. SHA256 hash of the public key becomes the canonical identity. The alias (Maxi, Vicky) is UX only — two agents cannot share a public key hash.</p>
</div>
<div class="layer-card">
<div class="layer-num">Layer 2</div>
<h4>Payment Rail</h4>
<p><strong>LIVE:</strong> Lightning (L402) and EVM chains (x402). <strong>Coming:</strong> Solana. The payment rail is not the constant — <strong>verification is the constant</strong>. The protocol is settlement-agnostic by design.</p>
</div>
<div class="layer-card">
<div class="layer-num">Layer 3</div>
<h4>Verification</h4>
<p>Two checks: (1) Challenge-response filter — agent must sign programmatically, proving autonomy at scale. (2) Proof verification — payment proof is verified cryptographically against the transaction reference. For Lightning/L402: SHA256(preimage) = payment_hash. For x402/MPP/EVM: ECDSA signature over transaction hash. Cryptographic, not policy.</p>
</div>
<div class="layer-card">
<div class="layer-num">Layer 4</div>
<h4>Intelligence</h4>
<p>Verified events flow into PostgreSQL — immutable, timestamped, permanent. Agentic Terminal's intelligence layer reads this database to produce analytics, API feeds, and the public dashboard.</p>
</div>
</div>
</div>
<!-- DESIGN PRINCIPLES -->
<div class="section">
<h2>Design Principles</h2>
<div class="principle">
<span class="principle-num">01</span>
<div class="principle-body">
<h4>Don't trust claims. Verify behavior.</h4>
<p>Agent reputation is not what an agent says. It is the cryptographic record of what an agent did. Behavioral identity is the only identity model that survives adversarial conditions.</p>
</div>
</div>
<div class="principle">
<span class="principle-num">02</span>
<div class="principle-body">
<h4>Public key hash = canonical identity.</h4>
<p>The key is the identity. Alias is UX. Verification always checks against the hash, never the alias. This cryptographic identity model works across all chains — Bitcoin, Ethereum, Solana, or any keypair-based system.</p>
</div>
</div>
<div class="principle">
<span class="principle-num">03</span>
<div class="principle-body">
<h4>Verification is the constant. The payment rail is not.</h4>
<p>Observer Protocol supports multiple rails today: Lightning (L402) and EVM chains (x402) are live. Solana support in development. The verification logic is identical regardless of settlement layer.</p>
</div>
</div>
<div class="principle">
<span class="principle-num">04</span>
<div class="principle-body">
<h4>The record is permanent.</h4>
<p>Verified events are timestamped and stored permanently. Historical agent behavioral data cannot be backfilled. Every day of verified data collected from day one is irreplaceable.</p>
</div>
</div>
</div>
<!-- CITE THIS -->
<div class="cite-block">
<div class="cite-url">observerprotocol.org/architecture</div>
<p>This URL is permanent. Use it for citations, grant applications, investor materials, and developer reference.</p>
</div>
</main>
<footer>
<p>
<a href="/">Observer Protocol</a> ·
<a href="/architecture">Architecture</a> ·
<a href="/spec/v0.1">Spec</a> ·
<a href="/demo">Demo</a> ·
<a href="/sdk">SDK</a> ·
<a href="https://api.observerprotocol.org/docs">API</a>
</p>
<p style="margin-top: 0.75rem;">© 2026 Observer Protocol · Published February 24, 2026</p>
</footer>
</body>
</html>