<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Preview on SAM</title><link>https://sam-mesh.dev/docs/preview/</link><description>Recent content in Preview on SAM</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://sam-mesh.dev/docs/preview/index.xml" rel="self" type="application/rss+xml"/><item><title>Sandboxed agents</title><link>https://sam-mesh.dev/docs/preview/sandboxed-agents/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://sam-mesh.dev/docs/preview/sandboxed-agents/</guid><description>&lt;div class="alert alert-warning" role="alert">
&lt;h4 class="alert-heading">Preview&lt;/h4>

 The sandbox works end to end and is exercised in CI, but &lt;code>sam-box&lt;/code> flags,
the bundle format and &lt;code>nano-init&lt;/code>&amp;rsquo;s options may change between releases.

&lt;/div>

&lt;p>An agent is a harness, a model and some tools. To deploy one you normally
ship all three, plus a key for the model, plus network access that is wide
enough for whatever the tools turn out to need. On SAM you ship only the
harness. The mesh provides the model and the tools by name, and the network
the agent gets is a list of names that is checked on every connection.&lt;/p></description></item><item><title>Agent architecture</title><link>https://sam-mesh.dev/docs/preview/agent-architecture/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://sam-mesh.dev/docs/preview/agent-architecture/</guid><description>&lt;div class="alert alert-warning" role="alert">
&lt;h4 class="alert-heading">Preview&lt;/h4>

 This is the design behind &lt;a href="../sandboxed-agents/">sandboxed agents&lt;/a>. The
decisions here are settled; the interfaces that implement them are still
being shaped, and the last section lists what is not built yet.

&lt;/div>

&lt;p>This page explains how an unmodified agent, running inside a sandbox with no
network of its own, is connected to the mesh. It covers the layers, the
reasons for each layer, the contracts between them, and the limits of what
the design guarantees. The &lt;a href="../scale-report/">scale report&lt;/a> measures what
the result costs.&lt;/p></description></item><item><title>SAM Connect (Android and iOS)</title><link>https://sam-mesh.dev/docs/preview/mobile/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://sam-mesh.dev/docs/preview/mobile/</guid><description>&lt;div class="alert alert-warning" role="alert">
&lt;h4 class="alert-heading">Preview&lt;/h4>

 The app is functional and tested in CI on an Android emulator. Its screens,
the on-device tools it exposes and the FFI surface may change.

&lt;/div>

&lt;p>SAM Connect is a Flutter app that runs &lt;code>sam-node&lt;/code> on a phone. The Go node is
compiled into a shared library and driven over Dart FFI. The app is the UI
around it, plus a small MCP server that exposes the phone&amp;rsquo;s sensors to the
mesh. A phone enrolled this way is a node like any other. It has a key, a
credential and a peer ID, and it appears in discovery with its
&lt;code>phone-sensors&lt;/code> service.&lt;/p></description></item><item><title>Scale report: what an agent costs</title><link>https://sam-mesh.dev/docs/preview/scale-report/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://sam-mesh.dev/docs/preview/scale-report/</guid><description>&lt;div class="alert alert-warning" role="alert">
&lt;h4 class="alert-heading">Preview&lt;/h4>

 These measurements are of the sandbox datapath described in
&lt;a href="../sandboxed-agents/">Sandboxed agents&lt;/a>. They were recorded on 2026-08-21
at commit &lt;code>e5b2966&lt;/code>, when the boundary spoke SOCKS5. The boundary has since
moved to HTTP &lt;code>CONNECT&lt;/code> and has not been measured again. The shape of the
results is what matters. Single figures are indicative.

&lt;/div>

&lt;p>The design gives every agent its own boundary, which resolves names and
enforces policy on each flow. That sounds expensive. This page measures it.
The method is written down so that the result can be challenged, and a
script is provided so that it can be run again. There are two experiments: a
sweep of boundaries attached to one node, and a thousand agents in microVMs
on one host.&lt;/p></description></item><item><title>Scale experiment: reproducing the thousand-agent run</title><link>https://sam-mesh.dev/docs/preview/scale-experiment/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://sam-mesh.dev/docs/preview/scale-experiment/</guid><description>&lt;div class="alert alert-warning" role="alert">
&lt;h4 class="alert-heading">Preview&lt;/h4>

 The scripts under &lt;code>tests/scale/&lt;/code> and &lt;code>scripts/&lt;/code> are research tooling for the
&lt;a href="../scale-report/">scale report&lt;/a>. They are kept working but are not a
supported product surface.

&lt;/div>

&lt;p>The report says what was measured and what it means. This page says how to
run it again. The setup is one host, one &lt;code>sam-node&lt;/code>, and &lt;em>N&lt;/em> agents. Each
agent is a Firecracker microVM with no network device, and its only way out
is a vsock to its own &lt;code>sam-box&lt;/code>. A thousand agents have been run on one
&lt;code>n2-standard-64&lt;/code>.&lt;/p></description></item></channel></rss>