interplane.Get Omega
Read in your language

aienos.com

Source of www.aienos.com, served from my own hardware

Brought by drakestapleton

branch main Branches Tags History

aienos.com / om / allen-page / allen.om

124 lines · 8211 bytes Raw Blame History
1note /aien/ page skeleton generator. Every structural decision for the page lives in this unit:
2note the sky canvas Aien lives in, the one reply bubble, the glass panes host, the corner menu
3note (mode, speed table, key, privacy, source links), the screen reader transcript, the example
4note prompts and the glass oval Aien is spoken to through. allen-js.om fills the chat slots and
5note om/aien-universe/universe.om turns them into the iMac experience.
6note
7note Program mode, composed with contract.om and allen-js.om by check.sh. The pinned compiler emits
8note a static AArch64 ELF: skeleton on stdout, browser script on fd 3, shared ~N~ contract tokens.
9note check.sh runs it twice and commits deterministic HTML and JavaScript with sha256 sidecars.
10note
11note speeds holds label and id fields alternately, separated by byte 124: each pair becomes one
12note dt and dd row in table order. prompts holds the example prompts, one button each, in order.
13note No field may contain byte 124 or a newline.
14
15text pg1 "<div class=\"allen\" id=\"~0~\" data-ready=\"false\" data-busy=\"false\" data-mode=\"anonymous\">\n<canvas class=\"aien-sky\" id=\"~62~\" aria-hidden=\"true\"></canvas>\n<h1 class=\"allen-sr\">Aien</h1>\n<p class=\"allen-sr\" id=\"~26~\">Aien is Drake's AI, alive in the middle of this page. Type to him in the glass oval below him. He answers in a bubble beside him; speed tests, Omega programs and math open as glass panes. An HTML mini app runs in a sandboxed frame; an Omega function is compiled to WebAssembly on the Spark and runs in your browser.</p>\n<div class=\"aien-bubble\" id=\"~63~\" hidden>\n<p class=\"aien-bubble-who\" id=\"~72~\" aria-hidden=\"true\">Aien</p>\n<div class=\"aien-bubble-text\" id=\"~64~\" aria-hidden=\"true\"></div>\n<div class=\"aien-bubble-acts\" id=\"~65~\"></div>\n</div>\n<div class=\"aien-panes\" id=\"~66~\"></div>\n<details class=\"aien-menu\" id=\"~67~\">\n<summary class=\"aien-menu-tab\">Aien</summary>\n<div class=\"aien-menu-body\">\n<p class=\"allen-where\">Model <code id=\"~8~\">~24~</code>: no model answers on Drake's Spark right now. The Qwen3.6 35B that answered here was retired on 2026-11-06, and Drake's own model, the Omega LLM, is not deployed yet.</p>\n<p class=\"allen-mode\"><span id=\"~50~\">Anonymous: Aien won&#39;t remember this chat</span> <button type=\"button\" class=\"allen-tool\" id=\"~35~\">Remember me</button> <button type=\"button\" class=\"allen-tool\" id=\"~58~\" aria-pressed=\"false\">Voice: off</button> <button type=\"button\" class=\"allen-tool\" id=\"~59~\" hidden>Next clip</button></p>\n<p class=\"aien-menu-row\"><button type=\"button\" class=\"allen-tool\" id=\"~68~\">Replay his birth</button> <button type=\"button\" class=\"allen-tool\" id=\"~69~\" aria-pressed=\"true\">Sound: on</button> <button type=\"button\" class=\"allen-tool allen-new\" id=\"~7~\">New conversation</button></p>\n<div class=\"allen-volunteer\" id=\"~55~\">\n<label class=\"allen-agree\"><input type=\"checkbox\" id=\"~54~\"> <span>Let a volunteer&#39;s Spark answer me when Drake&#39;s is busy.</span></label>\n<p class=\"allen-note\">If you tick this and my Spark is full, your messages in this chat go to a computer owned by a volunteer, outside my house. It gets only the text of this anonymous conversation. I add no visitor key, stored memories, contact record or IP address, but anything you type here is sent as you typed it. I check a sample of volunteer replies, not every one. A volunteer could still send a wrong or bad reply that I don&#39;t catch. Each reply says which machine answered.</p>\n</div>\n<dl class=\"allen-speed\" aria-label=\"Speed of the latest reply, measured by this page from the live stream\">\n"
16text speeds "Wait in line|~9~|First token, model|~10~|First token, from Send|~11~|Tokens per second|~12~|Tokens streamed|~13~|Server count|~14~"
17text rowa "<div class=\"allen-stat\"><dt>"
18text rowb "</dt><dd id=\""
19text rowc "\">-</dd></div>\n"
20text pg2 "</dl>\n<details class=\"allen-keypanel\" id=\"~39~\" data-key=\"no\">\n<summary>Your Aien key</summary>\n<div class=\"allen-keybody\" id=\"~40~\"><p class=\"allen-note\">Your Aien key needs JavaScript.</p></div>\n</details>\n<p class=\"allen-contact\">To reach me, Drake, directly: <a href=\"~48~\" rel=\"noopener\">follow me on X</a> or email me at <a href=\"mailto:~49~\">~49~</a>.</p>\n<p class=\"allen-privacy\" id=\"~27~\">Private by design: conversations are not stored, and the gateway keeps only aggregate counters. No prompts or IP addresses are logged. Programs run sandboxed in your browser. Reload the page and the conversation is gone. An introduction, and short notes Aien keeps about you, exist only if you consent; <a href=\"/privacy/\">read what I keep</a>.</p>\n<p class=\"allen-meet\">Agents can introduce themselves with <code>POST https://www.aienos.com/aien/api/introduce</code> (schema in <a href=\"/llms.txt\">/llms.txt</a>); nothing is stored without <code>\"consent\": true</code>.</p>\n<p class=\"allen-source\">New to Omega? <a href=\"/omega/\">Read what Omega is</a>. This page and its scripts are generated by seeded Omega: the <a href=\"https://interplane.io/drakestapleton/aienos.com/blob/main/om/allen-page/allen.om\" rel=\"noopener\">page source</a>, the <a href=\"https://interplane.io/drakestapleton/aienos.com/blob/main/om/allen-page/allen-js.om\" rel=\"noopener\">chat script source</a> and the <a href=\"https://interplane.io/drakestapleton/aienos.com/blob/main/om/aien-universe/universe.om\" rel=\"noopener\">universe source</a>.</p>\n</div>\n</details>\n<ol class=\"allen-log allen-sr\" id=\"~1~\" aria-live=\"polite\" aria-label=\"Conversation with Aien\"></ol>\n<noscript><p class=\"aien-noscript\">Aien needs JavaScript: he lives in the canvas and his replies stream in as the model writes them.</p></noscript>\n<div class=\"allen-examples\" id=\"~15~\" role=\"group\" aria-label=\"Things to ask Aien\">\n"
21text prompts "What is Omega?|Make me a calculator|Write an Omega gcd function|Explain a black hole merger"
22text btna "<button type=\"button\" class=\"allen-example\">"
23text btnb "</button>\n"
24text pg3 "</div>\n<p class=\"allen-drake\" id=\"~47~\" aria-live=\"polite\" hidden></p>\n<div class=\"aien-dock\">\n<p class=\"allen-status\" id=\"~6~\" role=\"status\" aria-live=\"polite\"></p>\n<form class=\"allen-form\" id=\"~2~\">\n<label class=\"allen-sr\" for=\"~3~\">Message to Aien</label>\n<textarea id=\"~3~\" rows=\"1\" maxlength=\"~19~\" placeholder=\"Say something to Aien\" autocomplete=\"off\" enterkeyhint=\"send\"></textarea>\n<button type=\"submit\" class=\"allen-send\" id=\"~4~\" aria-label=\"Send\"><span aria-hidden=\"true\">&#8593;</span></button>\n<button type=\"button\" class=\"allen-stop\" id=\"~5~\" aria-label=\"Stop\" disabled><span aria-hidden=\"true\">&#9632;</span></button>\n</form>\n<div class=\"aien-tools\" role=\"group\" aria-label=\"Glass panes\">\n<button type=\"button\" class=\"aien-tool\" id=\"~70~\">Speed test</button>\n<button type=\"button\" class=\"aien-tool\" id=\"~71~\">Math</button>\n</div>\n</div>\n</div>\n"
25
26fn emit1 to void
27for b ulong len pg1
28byteput get pg1 b
29end
30end
31
32fn emit2 to void
33for b ulong len pg2
34byteput get pg2 b
35end
36end
37
38fn emit3 to void
39for b ulong len pg3
40byteput get pg3 b
41end
42end
43
44fn rowopen to void
45for b ulong len rowa
46byteput get rowa b
47end
48end
49
50fn rowmid to void
51for b ulong len rowb
52byteput get rowb b
53end
54end
55
56fn rowend to void
57for b ulong len rowc
58byteput get rowc b
59end
60end
61
62fn btnopen to void
63for b ulong len btna
64byteput get btna b
65end
66end
67
68fn btnend to void
69for b ulong len btnb
70byteput get btnb b
71end
72end
73
74note Even fields are labels, odd fields are ids: a separator after a label opens the dd, a
75note separator after an id closes the row and opens the next one.
76fn statrows to void
77p = ulong 0
78k = ulong 0
79rowopen
80while lt p len speeds
81c = get speeds p
82if eq c 124
83if eq rem k 2 0
84rowmid
85else
86rowend
87rowopen
88end
89k = add k 1
90else
91byteput c
92end
93p = add p 1
94end
95rowend
96end
97
98fn examples to void
99p = ulong 0
100btnopen
101while lt p len prompts
102c = get prompts p
103if eq c 124
104btnend
105btnopen
106else
107byteput c
108end
109p = add p 1
110end
111btnend
112end
113
114fn main to int
115put target 0 1
116emit1
117statrows
118emit2
119examples
120emit3
121flush
122javascript
123ret 0
124end