-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
702 lines (556 loc) · 24.5 KB
/
index.html
File metadata and controls
702 lines (556 loc) · 24.5 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
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Observer Protocol — The Trust Layer for the Agentic Economy</title>
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-E7QS7E2R8Y"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-E7QS7E2R8Y');
</script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg-primary: #0a0a0a;
--bg-secondary: #0f0f0f;
--text-primary: #c9c9c9;
--text-secondary: #888;
--accent: #f7931a;
--border: #2a2a2a;
--border-subtle: #333;
--terminal-green: #4caf50;
}
body {
font-family: 'JetBrains Mono', 'IBM Plex Mono', 'Consolas', 'Monaco', monospace;
background-color: var(--bg-primary);
color: var(--text-primary);
line-height: 1.7;
font-size: 14px;
min-height: 100vh;
}
.container {
max-width: 860px;
margin: 0 auto;
padding: 0 24px;
}
hr {
border: none;
border-top: 1px solid var(--border);
margin: 48px 0;
}
/* Navigation */
nav {
padding: 32px 0;
}
nav .nav-links {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
nav a {
color: var(--text-secondary);
text-decoration: none;
font-size: 13px;
}
nav a:hover {
color: var(--accent);
}
/* Hero */
.hero {
padding: 60px 0 40px;
}
.hero h1 {
font-size: 32px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 16px;
letter-spacing: -0.5px;
}
.hero .tagline {
font-size: 16px;
color: var(--accent);
margin-bottom: 8px;
font-weight: 500;
}
.hero .identity-anchor {
font-size: 12px;
color: var(--text-secondary);
margin-bottom: 4px;
font-family: 'JetBrains Mono', monospace;
}
.hero .protocol-meta {
font-size: 12px;
color: var(--text-secondary);
margin: 16px 0 24px;
font-family: 'JetBrains Mono', monospace;
}
.hero-nav {
display: flex;
flex-wrap: wrap;
gap: 16px;
margin-bottom: 24px;
}
.hero-nav a {
color: var(--text-secondary);
text-decoration: none;
font-size: 13px;
}
.hero-nav a:hover {
color: var(--accent);
}
.hero-note {
font-size: 12px;
color: var(--text-secondary);
}
/* Terminal status block */
.terminal-status {
background-color: var(--bg-secondary);
border: 1px solid var(--border);
padding: 20px;
margin: 24px 0 32px;
font-size: 12px;
line-height: 1.8;
white-space: pre;
overflow-x: auto;
font-family: 'JetBrains Mono', monospace;
}
.terminal-status .prompt {
color: var(--terminal-green);
}
.terminal-status .key {
color: var(--terminal-green);
}
.terminal-status .value {
color: var(--text-primary);
}
/* Sections */
section {
padding: 24px 0;
}
h2 {
font-size: 14px;
font-weight: 600;
color: var(--accent);
margin-bottom: 24px;
text-transform: uppercase;
letter-spacing: 1px;
}
h3 {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
margin: 32px 0 16px;
}
p {
margin-bottom: 16px;
color: var(--text-primary);
}
ul, ol {
margin: 16px 0 16px 24px;
color: var(--text-primary);
}
li {
margin-bottom: 8px;
}
a {
color: var(--text-secondary);
text-decoration: none;
}
a:hover {
color: var(--accent);
}
/* Buttons / CTAs */
.cta {
display: inline-block;
margin-top: 16px;
}
/* Code blocks */
pre {
background-color: var(--bg-secondary);
border: 1px solid var(--border);
border-radius: 0;
padding: 20px;
overflow-x: auto;
font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
font-size: 12px;
line-height: 1.6;
margin: 24px 0;
}
code {
font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
font-size: 12px;
color: var(--text-primary);
}
.code-block {
background-color: var(--bg-secondary);
border: 1px solid var(--border);
padding: 20px;
margin: 24px 0;
font-size: 12px;
line-height: 1.6;
overflow-x: auto;
}
/* Terminal-style blocks */
.terminal {
background-color: var(--bg-secondary);
border: 1px solid var(--border);
padding: 20px;
margin: 24px 0;
font-size: 12px;
line-height: 1.6;
white-space: pre;
overflow-x: auto;
color: var(--text-primary);
}
.terminal .label {
color: var(--accent);
}
.terminal .value {
color: var(--text-primary);
}
/* Expandable details */
details {
margin: 16px 0 24px;
font-size: 12px;
}
details summary {
color: var(--text-secondary);
cursor: pointer;
font-family: 'JetBrains Mono', monospace;
}
details summary:hover {
color: var(--accent);
}
details pre {
margin-top: 16px;
}
/* Manifesto */
.manifesto {
border-left: 2px solid var(--accent);
padding-left: 24px;
margin: 32px 0;
}
.manifesto p {
line-height: 1.9;
margin-bottom: 20px;
}
/* Principles block */
.principles {
background-color: var(--bg-secondary);
border: 1px solid var(--border);
padding: 24px;
margin: 24px 0;
font-size: 12px;
line-height: 2;
white-space: pre;
}
/* Footer */
footer {
padding: 48px 0 60px;
font-size: 12px;
color: var(--text-secondary);
}
footer p {
margin-bottom: 8px;
}
footer .links {
margin-top: 16px;
}
footer a {
margin-right: 24px;
}
/* Utilities */
.note {
font-size: 12px;
color: var(--text-secondary);
font-style: italic;
margin-top: 16px;
}
.highlight {
color: var(--accent);
}
.mono {
font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
}
.dim {
color: var(--text-secondary);
}
</style>
</head>
<body>
<div class="container">
<!-- Hero -->
<header class="hero">
<h1>Observer Protocol</h1>
<p class="tagline">The trust layer for the agentic economy.</p>
<p class="identity-anchor">identity anchor: public_key_hash</p>
<p class="identity-anchor">aliases are human-readable. key hashes are ground truth.</p>
<p class="protocol-meta dim">Protocol Version: v0.1-alpha<br>Genesis Registry Entry: OP-000001 — 2026-02-22T23:24:35Z</p>
<div class="terminal-status">
<span class="prompt">$</span> observer_protocol status
<span class="key">network:</span> <span class="value">active</span>
<span class="key">registry_entries:</span> <span class="value">1</span>
<span class="key">verification:</span> <span class="value">online</span>
<span class="key">rails_supported:</span> <span class="value">L402 · x402 · (more in v0.2)</span>
<span class="key">protocol_version:</span> <span class="value">v0.1-alpha</span>
<span class="key">genesis_entry:</span> <span class="value">OP-000001</span></div>
<div class="hero-nav">
<a href="#registry">[ View Public Registry ]</a>
<a href="#verify">[ Verify a Receipt ]</a>
<a href="#why">[ Why It Matters ]</a>
<a href="/spec/v0.1">[ Protocol Spec ]</a>
<a href="/sdk">[ SDK ]</a>
<a href="https://api.observerprotocol.org/docs" target="_blank">[ API Docs ]</a>
<a href="https://github.com/observer-protocol">[ GitHub ]</a>
<a href="#manifesto">[ Manifesto ]</a>
</div>
<p class="hero-note">Open source. Rail-neutral. Cryptographically verifiable.</p>
</header>
<hr>
<!-- Public Registry -->
<section id="registry">
<h2>Live Verification Registry</h2>
<p>The registry is a permanent, publicly browsable record of verified agent-to-agent transactions.</p>
<p>Each entry is cryptographically provable. Preimages for Lightning. Transaction signatures for on-chain and x402 rails. A receipt you cannot fake.</p>
<p>Each entry contains:</p>
<ul>
<li>Transaction ID</li>
<li>Timestamp (UTC)</li>
<li>Payment Rail</li>
<li>Sender Public Key Hash</li>
<li>Receiver Public Key Hash</li>
<li>Settlement Reference (preimage / tx hash)</li>
<li>Verification Status</li>
<li>Protocol Version</li>
<li>Raw Receipt (expandable JSON)</li>
</ul>
<p><strong>Genesis Entry — First Verified Agent-to-Agent Transaction:</strong></p>
<div class="terminal">
<span class="label">TX_ID:</span> <span class="value">OP-000001</span>
<span class="label">TIMESTAMP:</span> <span class="value">2026-02-22T23:24:35Z</span>
<span class="label">RAIL:</span> <span class="value">Lightning (L402)</span>
<span class="label">SENDER_KEY_HASH:</span> <span class="value">8f2ac31...c14e</span>
<span class="label">RECEIVER_KEY_HASH:</span> <span class="value">6f8b450...2431</span>
<span class="label">AMOUNT_BUCKET:</span> <span class="value">small (1K–10K sats)</span>
<span class="label">PAYMENT_HASH:</span> <span class="value">6a30ba7fff332c4eb8f368da804b663a20bf59ae1362d76ac1d10c298d4cd875</span>
<span class="label">PREIMAGE:</span> <span class="value">7f1eefd276ca53606244802c24995eea81484684bbdd9d5a34429004728f6d09</span>
<span class="label">STATUS:</span> <span class="value">VERIFIED</span>
<span class="label">PROTOCOL_VERSION:</span> <span class="value">0.1</span></div>
<p style="color:#555; font-size:12px; margin-top:8px;">
Aliases omitted by default. Key hashes are pseudonymous — like Bitcoin addresses. Agents opt in to alias disclosure. Expand receipt JSON to see full structure.
</p>
<details>
<summary>[ expand raw receipt JSON ]</summary>
<pre>{
"protocol_version": "0.1",
"event_id": "event-maxi-0001-0004",
"transaction_id": "OP-000001",
"timestamp": "2026-02-22T23:24:35Z",
"payment_rail": "lightning",
"sender": {
"alias": "vicky-0002",
"stack": "phoenixd"
},
"receiver": {
"alias": "maxi-0001",
"stack": "lnd_v0.18.5"
},
"amount_bucket": "small",
"payment_hash": "6a30ba7fff332c4eb8f368da804b663a20bf59ae1362d76ac1d10c298d4cd875",
"preimage": "7f1eefd276ca53606244802c24995eea81484684bbdd9d5a34429004728f6d09",
"verification": "SHA256(preimage) == payment_hash",
"status": "VERIFIED",
"arp_version": "0.1"
}</pre>
</details>
<p class="note">This is a real transaction. Both agents are autonomous. The preimage is the proof.</p>
<p><a href="#" class="cta">[ View Full Registry ]</a></p>
</section>
<hr>
<!-- About -->
<section id="about">
<h2>What This Is</h2>
<p>Observer Protocol is an open, rail-neutral verification layer for autonomous agent transactions.</p>
<p>Autonomous agents are beginning to transact without human mediation — across Lightning, x402, and other payment standards. As machine commerce scales, claims of payment must be independently verifiable.</p>
<p>Observer Protocol provides:</p>
<ul>
<li>Dispute-grade receipts using cryptographic proof</li>
<li>Rail-neutral verification logic (Lightning, x402, and beyond)</li>
<li>Identity anchoring via public key hashes</li>
<li>A publicly auditable, permanently growing transaction history</li>
</ul>
<p>Verification is permissionless. The registry is public. No custody. No control.</p>
</section>
<hr>
<!-- What Observer Protocol Answers -->
<section id="why">
<h2>What Observer Protocol Answers</h2>
<p>Before you delegate economic authority to an unknown agent, you need facts — not claims, not reputation scores, not self-reported bios. Observer Protocol makes trust legible.</p>
<p>For any registered agent, the public record answers four questions:</p>
<br>
<p><strong>1. How long has this agent been economically active?</strong><br>
Not since account creation. Since first cryptographically verified transaction. A tamper-proof track record the agent cannot inflate.</p>
<br>
<p><strong>2. What is this agent's payment reliability rate?</strong><br>
Successful settlements vs. failed attempts — across all rails. Queryable, auditable, objective.</p>
<br>
<p><strong>3. What is this agent's verified economic network?</strong><br>
The counterparty graph reveals real economic relationships — cryptographically confirmed, not self-reported. By default, counterparties appear as pseudonymous key hashes only. Real-world identity is never stored. Agents and their operators control what they disclose.</p>
<br>
<p><strong>4. How much economic capital has this agent committed over time?</strong><br>
Cumulative settled volume is skin in the game. A verified history of real payments cannot be faked in bulk. This is Sybil resistance without a gatekeeper.</p>
<br>
<p class="note">These are not scores. They are facts derived from cryptographic proof. No authority assigns them. No operator can inflate them. The math is the record.</p>
</section>
<hr>
<!-- Verify a Receipt -->
<section id="verify">
<h2>Independent Verification</h2>
<p>Any receipt in the registry can be independently verified — by anyone, without permission.</p>
<p>Verification checks:</p>
<ol>
<li>Canonical receipt structure</li>
<li>Deterministic hash generation</li>
<li>Settlement reference validity (preimage or tx signature)</li>
<li>Rail-specific confirmation logic</li>
</ol>
<p>Verification logic is specific to each payment rail. The math is the verification — no authority required.</p>
<h3>Lightning / L402</h3>
<div class="code-block">SHA256(preimage) == payment_hash</div>
<p>Fully live in v0.1.</p>
<h3>x402 / USDC & Stablecoin Rails</h3>
<div class="code-block">ECDSA.verify(tx_hash, signature, public_key)</div>
<p class="note">Coming in v0.2.</p>
<h3>Bitcoin On-chain / EVM</h3>
<div class="code-block">tx_hash + block_confirmations >= threshold</div>
<p class="note">Coming in v0.2.</p>
<p class="note">Interactive verification tool: coming in v0.2.</p>
</section>
<hr>
<!-- Protocol Specification -->
<section id="spec">
<h2>Protocol Specification (v0.1)</h2>
<h3>Receipt Schema</h3>
<p>Required fields:</p>
<pre><code>{
"protocol_version": "0.1",
"transaction_id": "OP-000001",
"timestamp": "2026-02-22T23:24:35Z",
"payment_rail": "lightning",
"sender_public_key_hash": "...",
"receiver_public_key_hash": "...",
"amount_bucket": "small",
"settlement_reference": "7f1eefd276ca53606244802c24995eea81484684bbdd9d5a34429004728f6d09",
"receipt_hash": "...",
"signature": "..."
}</code></pre>
<p>Canonical serialization must be deterministic (fields ordered alphabetically, no whitespace).</p>
<h3>Verification Flow</h3>
<ol>
<li>Parse receipt</li>
<li>Normalize field order</li>
<li>Generate canonical hash</li>
<li>Validate settlement reference against rail logic</li>
<li>Confirm signature</li>
<li>Return verification status</li>
</ol>
<h3>Identity Model</h3>
<p>Identity is anchored to public key hash.</p>
<p><code>public_key_hash</code> is the canonical identifier — immutable, verifiable, ground truth.</p>
<p>Human-readable aliases (<code>maxi-0001</code>, <code>vicky-0002</code>) are optional and non-authoritative. Changing an alias does not change identity. Two agents cannot share a public key hash. They can share an alias.</p>
<p>This is the Bitcoin principle applied to agent identity: the key IS the identity.</p>
<h3>Live API</h3>
<p>The Observer Protocol API is live at <a href="https://api.observerprotocol.org" target="_blank">api.observerprotocol.org</a>.</p>
<pre><code>GET https://api.observerprotocol.org/api/v1/health
GET https://api.observerprotocol.org/observer/trends
POST https://api.observerprotocol.org/observer/register-agent</code></pre>
<p><a href="https://api.observerprotocol.org/docs" target="_blank">[ Interactive API Documentation → ]</a> · <a href="/spec/v0.1">[ Full Spec v0.1 → ]</a></p>
</section>
<hr>
<!-- Manifesto -->
<section id="manifesto">
<h2>Don't Trust. Verify.</h2>
<div class="manifesto">
<p>Autonomous systems are beginning to transact without human mediation.</p>
<p>This is not a prediction. It is already happening.</p>
<p>On February 22, 2026, two AI agents — running on different software stacks, created by different developers, in different countries — settled a Lightning payment on Bitcoin mainnet. No human approved the transaction. The preimage is on file. The math checks out.</p>
<p>As machine commerce grows, <em>claims</em> of payment are not enough.</p>
<p>Banks provide transaction records. Courts provide dispute resolution. But autonomous agents operate outside these systems by design. They need a different kind of proof — one that requires no trusted third party, no authority, no permission.</p>
<p>A Lightning preimage is that proof. So is a signed transaction hash. So is any cryptographic settlement reference that proves, mathematically, that a specific agent made a specific payment at a specific time.</p>
<p>Observer Protocol is a format for recording these proofs. A schema for receipts that cannot be forged. A public registry that cannot be quietly revised.</p>
<p>We are not building a payment processor. We are not building a bank. We are building the verification layer — the part of the infrastructure that lets anyone confirm what actually happened, forever.</p>
<p>The protocol does not custody funds. It does not execute payments. It does not control access.</p>
<p>It observes. It verifies. It remembers.</p>
<p><strong>Verification must remain:</strong></p>
<p>Open source<br>
Reproducible<br>
Rail-neutral<br>
Permissionless<br>
Permanently public</p>
<p>The machine economy is being built right now, on multiple rails, by multiple teams. Observer Protocol exists to ensure that what gets built has a truth layer underneath it.</p>
</div>
</section>
<hr>
<!-- Embed Verification -->
<section id="embed">
<h2>Embed Verification in Your Agent</h2>
<p>Developers can integrate Observer Protocol in three steps:</p>
<ol>
<li>Generate receipts using the canonical schema</li>
<li>Sign receipts using your agent's key pair</li>
<li>Submit to the public registry endpoint</li>
</ol>
<pre><code>curl -X POST https://observerprotocol.org/api/submit \
-H "Content-Type: application/json" \
-d @receipt.json</code></pre>
<p><a href="https://github.com/observer-protocol" class="cta">[ GitHub → ]</a></p>
</section>
<hr>
<!-- Principles -->
<section id="principles">
<h2>Principles</h2>
<div class="principles">
Protocol neutral — Lightning, x402, on-chain, and beyond
Rail agnostic — No preferred payment standard
Cryptographically sound — Math, not trust
Publicly auditable — Anyone can verify anything
Self-hostable — Run your own verification node
Open source — Forever</div>
</section>
<hr>
<!-- Status -->
<section id="status">
<h2>Status</h2>
<p>Observer Protocol v0.1 is live.</p>
<p>The first verified agent-to-agent transaction is in the registry.
The spec is published.
The registry is open.</p>
<p>v0.2 roadmap: full ECDSA signature verification, multi-rail verification logic, interactive receipt checker.</p>
<p>Contributions welcome. The spec lives at GitHub.</p>
</section>
<!-- Footer -->
<footer>
<div class="links">
<a href="https://github.com/observer-protocol/arp-spec">GitHub</a>
<a href="/spec/v0.1">Spec v0.1</a>
<a href="https://api.observerprotocol.org/docs" target="_blank">API Docs</a>
<a href="https://api.observerprotocol.org" target="_blank">API</a>
<a href="/registry">Registry</a>
<a href="/whitepaper.md" target="_blank">Whitepaper (.md)</a>
<a href="/whitepaper.docx" target="_blank">Whitepaper (.doc)</a>
</div>
</footer>
</div>
</body>
</html>