You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/docs/architecture.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,6 +176,7 @@ The executor is the untrusted half of the VM. It runs the guest code and reaches
176
176
177
177
-**JavaScript Acceleration.** Guest JavaScript runs on a native V8 runtime (the same engine in Chrome and Node.js, with the full JIT compiler) inside an isolate. This is what we call **JavaScript Acceleration**: the guest's JavaScript executes at native speed, not through an interpreter or a translation shim. It is genuinely fast, and it presents normal Node.js semantics. See [JavaScript](/agentos/docs/javascript).
178
178
-**WASM alongside it.** The shell (`sh`) and the coreutils behind process execution ship as WebAssembly modules, and you can run your own WASM too. See [POSIX Syscalls](/agentos/docs/architecture/posix-syscalls) and the [Compiler Toolchain](/agentos/docs/architecture/compiler-toolchain).
179
+
-**Web WASM inside V8.** Browser-targeted modules can run inside a JavaScript process and await JavaScript host functions through JSPI. See [Async WebAssembly & JSPI](/agentos/docs/architecture/async-webassembly).
179
180
-**Native binaries.** Tools mounted into the VM run inside the same boundary as everything else.
180
181
-**No host fallthrough.** The executor holds no capability of its own. For every file read, process spawn, or socket open, it issues a syscall and blocks for the kernel's reply.
181
182
@@ -359,6 +360,7 @@ This page is the map. Each subsystem has its own detailed page in the Advanced a
359
360
-**[Filesystem](/agentos/docs/architecture/filesystem)**: the per-VM virtual filesystem, overlays, and host-backed mounts.
360
361
-**[Networking](/agentos/docs/architecture/networking)**: the virtual socket table, DNS, the allowlist, and guest `fetch()`.
361
362
-**[JavaScript Executor & Socket Reactor](/agentos/docs/architecture/javascript-executor)**: how the shared Tokio runtime, V8 executor threads, coalesced readiness, bounded channels, and Node stream backpressure fit together.
363
+
-**[Async WebAssembly & JSPI](/agentos/docs/architecture/async-webassembly)**: how web-targeted WASM suspends across JavaScript promises without requiring the POSIX sysroot.
362
364
-**[POSIX Syscalls](/agentos/docs/architecture/posix-syscalls)**: how WebAssembly guests behave like normal POSIX programs on top of the kernel.
363
365
-**[Compiler Toolchain](/agentos/docs/architecture/compiler-toolchain)**: how the shell and coreutils are compiled to WebAssembly and mounted into the VM.
364
366
-**[System Prompt](/agentos/docs/system-prompt)**: the context agentOS injects into every agent session.
0 commit comments