Interface · Design System · Architecture · Learning Loop · Trust Protocol · MVP 0.3 Matrix · 3-Line SDK · Quickstart
Open Agentic Web MVP Profile 0.3 establishes portable multi-agent graphs that execute directly inside ordinary web browsers with visitor-controlled inference. Because browser runtimes are strictly tab-scoped, every agentic website today starts amnesiac on each visit: it forgets visitor preferences, loses repeatable cross-site procedures, and lacks a structured way to evolve from experience without sending private data to a backend server.
Pico bridges this gap by bringing the core architectural breakthrough of Nous Research's Hermes Agent (a closed, self-improving learning loop with portable SOUL.md / USER.md / MEMORY.md context files, periodic memory nudges, cross-session full-text recall, checkpoints, and agentskills.io SKILL.md procedural skills) natively into standard open web technologies: pure HTML, CSS, ES Modules, Web Crypto, and JSON.
- Zero backend code and zero npm runtime dependencies. Runs entirely in the visitor's browser and deploys to any static host.
- Visitor owns everything. Inference router, API key, persistent memory, distilled skills, and third-party consent stay strictly under the visitor's control.
- Full bidirectional peer interoperability. Calls external Open Agentic Websites safely after explicit consent cards, and publishes its own
nsdeploy-actions-v1Action Bridge so peer sites can query Pico's publicSKILL.mdregistry and run live network validation. - Reusable community building block. Any Open Agentic Website can import
runtime/sdk.js(createPicoHarness) to adopt persistent browser memory, BM25 recall, procedural skills, and SHA-256sly_datareceipts in 3 lines of code.
Pico Studio is a single static page with a hand-built light theme and dark theme. Both are first-class: switch with the sun/moon toggle in the header or link straight to one with ?theme=light / ?theme=dark.
![]() |
![]() |
| Overview, light: hover the chart for per-run readouts | Workbench, dark: live delegation hops plus a SHA-256 receipt on every run |
| Surface | What you get |
|---|---|
| Overview | Pixel-type KPI strip (conformance, agents, skills, receipts), glass command bar with live router / policy / chain chips, dithered dot-matrix activity chart with hover readouts, and an interactive agent mesh. Hover a node to inspect it; click to run it. |
| Agent Health | Filterable roster with status pills, dot-matrix readiness bars (green for local agents, amber for consent-gated peers), sly_data boundary, and one-click runs. |
| Workbench | Scenario chips, live delegation hop bar, avatar chat with Markdown, and per-run receipt footers. |
| Memory / Skill Foundry | Segmented SOUL.md / USER.md / MEMORY.md editor with a dot-matrix budget meter, BM25 recall, checkpoints, and a SKILL.md library that compiles to .network.json. |
| Peer Web / Receipts | Live MVP 0.3 auditor, Action Bridge probe, the 7-check interop suite, and the SHA-256 ledger shown as a hash-chain timeline. |
The UI follows one rule: graphite surfaces, one signal color. Neutral green-tinted graphite (dark) or mint paper (light) carries the structure, and a single green signal marks everything alive or verified. Amber is reserved for consent-gated peers, so the color tells you where a trust boundary sits.
| Principle | Implementation |
|---|---|
| Inset canvas | Sidebar and header sit on the outer frame. Content floats in a rounded canvas panel with a faint corner glow. |
| Pixel typography | Geist Pixel for headline numbers, view titles, and avatars. Geist Mono for labels and data. Geist for UI copy. Units and suffixes are dimmed (100%, 35 ops). |
| Dot-matrix data | The activity chart uses Bayer ordered dithering (dense at the line, sparse at the floor). Budget and readiness bars fill column by column with a dithered leading edge. The mesh background glows around each agent like a dot-matrix map. |
| Glass and glow | The command hero, env chips, tooltips, and modals use translucent blur surfaces. Primary actions are gradient buttons with a soft signal-colored glow. The active nav item gets a pixel-scanline sheen. |
| Themeable to the pixel | Every color is a CSS custom property in styles.css. Charts read tokens at render time with getComputedStyle, so SVG visuals re-theme instantly. |
| Token | Dark | Light | Role |
|---|---|---|---|
--frame / --canvas / --card |
#0f1310 / #131814 / #171d18 |
#e8eee9 / #f3f6f3 / #ffffff |
Surface stack |
--ink / --ink-2 / --ink-muted |
#e9efea / #aeb9b0 / #7b887e |
#0e1511 / #3c4a40 / #66746a |
Text hierarchy |
--accent |
#3ddc84 |
#16a34a |
Signal: live, verified, primary action |
--warn |
#f5b84a |
#b45309 |
Consent-gated peers, nudges |
--info / --danger |
#7ea6ff / #f87171 |
#2563eb / #dc2626 |
Running state / fail-closed |
UX details: the theme resolves before first paint (no flash) and follows your OS until you choose one. The sidebar collapses to an icon rail and remembers it. Press / or ⌘K to jump to the ask bar. On mobile you get an off-canvas drawer with a scrim. Focus rings are visible, SVG nodes are keyboard-operable, and prefers-reduced-motion turns off animation.
Marrow Field Notes (demo-peer/, port 8081) uses the same system with an amber "lighthouse" accent, the color Pico gives consent-gated peers.
Pico separates declarative agent graphs, browser-local persistence, security enforcement, pluggable inference, and cross-origin transport into cleanly bounded, zero-dependency ES modules.
flowchart TB
subgraph VisitorBrowser["Visitor Browser Sandbox (Origin A: Pico)"]
UI["Pico Studio UI (index.html / app.js)<br/>Live Topology · Context Editor · Skill Foundry · Receipts · Interop Suite"]
subgraph Kernel["MVP Profile 0.3 Runtime Kernel (runtime/oaw-engine.js)"]
Parser["HOCON / JSON Parser & Validator<br/>(hocon-parser.js)"]
Orchestrator["pico_orchestrator (front_man)<br/>Budgets · Cycle Guard · Delegation Loop"]
Specialists["Internal Specialists<br/>skill_foundry · memory_curator · peer_scout · trajectory_auditor"]
Firewall["sly_data Firewall & Secret Scrubber<br/>(sly-firewall.js)"]
Ledger["Web Crypto SHA-256 Receipt Ledger<br/>(Hash-Chained Audit Trail + JSONL Export)"]
Actions["Site Action Registry<br/>JSON Schema Validation · Irreversible Confirm Gate"]
end
subgraph HermesLoop["Hermes-Inspired Browser Persistence (100% Local)"]
Memory["HermesMemoryStore (hermes-memory.js)<br/>SOUL.md · USER.md · MEMORY.md · BM25 FTS · Nudges · Checkpoints"]
Foundry["SkillFoundry (skill-foundry.js)<br/>agentskills.io SKILL.md · Progressive Disclosure · .network.json Compiler"]
end
BridgeServer["Pico Action Bridge (bridge/action-bridge.html)<br/>nsdeploy-actions-v1 Read-Only Shared Actions"]
Router["Pluggable LLM Router (llm-router.js)<br/>BYOK Key Isolated in Origin localStorage"]
end
subgraph Inference["Visitor-Selected Inference (HTTPS CORS / Loopback)"]
Otari["Mozilla Otari US / EU<br/>alibaba/qwen3.8-flash"]
BYOK["OpenRouter · OpenAI · Custom"]
Local["Local Ollama / Zero-Key Demo Engine"]
end
subgraph PeerWeb["External Open Agentic Websites (Origin B, C, ...)"]
PeerManifest["agent-manifest.json + *.network.json<br/>(CORS GET, credentials: omit)"]
PeerBridge["Peer Action Bridge (nsdeploy-actions-v1)<br/>Sandboxed Hidden Iframe + MessageChannel"]
end
UI --> Orchestrator
Parser --> Orchestrator
Orchestrator <--> Specialists
Orchestrator --> Actions
Actions <--> Memory
Actions <--> Foundry
Orchestrator --> Firewall
Firewall --> Ledger
Orchestrator --> Router
Router --> Otari
Router --> BYOK
Router --> Local
Firewall -- "Consent Card Approved<br/>(Zero API Keys, Zero sly_data)" --> PeerManifest
PeerManifest -- "Declarative Graph Loaded<br/>Runs Locally on Visitor Router" --> Orchestrator
Orchestrator <--> PeerBridge
PeerWeb -. "Read-Only Peer Calls" .-> BridgeServer
BridgeServer -. "Public Skills Only" .-> Foundry
Inspired by Nous Research's Hermes Agent, Pico turns transient browser sessions into a self-improving procedural memory loop while preserving strict client-side privacy.
flowchart LR
A["1. Progressive Disclosure<br/>Inject lightweight SKILL.md index<br/>+ local SOUL.md / USER.md / MEMORY.md"] --> B["2. Multi-Agent Execution<br/>Delegate across 5 Neuro SAN agents<br/>and consent-gated external peers"]
B --> C["3. Load Full Skill on Demand<br/>Match triggers via BM25;<br/>increment curator usage counter"]
C --> D["4. Periodic Memory Nudge<br/>After N turns, prompt memory_curator<br/>to snapshot checkpoint & update MEMORY.md"]
D --> E["5. Autonomous Skill Distillation<br/>skill_foundry encodes verified steps<br/>into agentskills.io SKILL.md (auto patch bump)"]
E --> F["6. Portable Open Web Export<br/>Download SKILL.md or compile directly<br/>into standalone .network.json"]
F -. "Improves next session" .-> A
| Hermes Pattern | Pico Browser Implementation | Security Boundary |
|---|---|---|
SOUL.md, USER.md, MEMORY.md |
Character-budgeted Markdown files in origin-scoped localStorage (runtime/hermes-memory.js) |
Private to browser; injected only into local agents, never forwarded to external peers |
| Cross-session FTS recall | Client-side BM25 Full-Text Search over context entries and session summaries | Zero server indexing; all secrets scrubbed before write |
| Periodic memory nudges | Tracks turns since last consolidation (nudgeInterval) and surfaces [MEMORY NUDGE DUE] |
Resets automatically after consolidation |
| Checkpoints & rollback | Atomic context snapshots before overwrites; rollback_checkpoint site action |
Classified irreversible; protected by runtime-owned confirmation dialog |
Procedural skills (agentskills.io) |
YAML-frontmatter SKILL.md registry with progressive disclosure and auto patch bumping |
Public skills are shareable over the Action Bridge; private skills stay local |
| Trajectory export | Web Crypto SHA-256 hash-chained ReceiptLedger exported as sanitized JSONL |
1-byte tamper detection; active BYOK keys automatically redacted |
When Pico delegates a task to an external Open Agentic Website (such as the included companion peer Marrow Field Notes on port 8081, Agent Atlas, or Rayo), the runtime enforces every security invariant in MVP Profile 0.3 §3.2 and §5:
sequenceDiagram
autonumber
actor Visitor
participant Engine as Pico OawEngine (Origin A)
participant Firewall as SlyFirewall + ReceiptLedger
participant Peer as Peer Site (Origin B)
participant Router as Visitor LLM Router (Otari / BYOK)
Visitor->>Engine: "Call Marrow Field Notes and distill a skill"
Engine->>Engine: Check peer_policy (closed) & allowed_peers
Engine->>Visitor: Display Consent Card (Origin B, network name, <=140 char request)
Visitor-->>Engine: Approve (optional session memory per origin)
Engine->>Firewall: filterSlyData(isPeerBoundary=true, destinationId)
Firewall-->>Engine: Blocked all private fields & credentials (deny-by-default)
Engine->>Peer: GET /agent-manifest.json (CORS, credentials: "omit", NO API key)
Peer-->>Engine: Manifest (exact match on requested network name)
Engine->>Peer: GET /field_notes.network.json (CORS, credentials: "omit")
Peer-->>Engine: Declarative Neuro SAN JSON
Engine->>Engine: Validate peer graph before any model call
Engine->>Router: Run peer front_man locally using Visitor's router & key
Router-->>Engine: Grounded peer response
Engine->>Firewall: Append SHA-256 chained peer_completed receipt
Engine-->>Visitor: Grounded synthesis + cryptographic receipt hash
| Agent | Role | Downstream Capabilities | sly_data Policy |
|---|---|---|---|
pico_orchestrator (front_man) |
Routes visitor requests, enforces grounding and learning loop | skill_foundry, memory_curator, peer_scout, trajectory_auditor, http://localhost:8081/field_notes |
Explicit internal allowlist (session_id, active_skill_ids, nudge_due); deny-by-default to peers |
skill_foundry |
Progressive skill index lookup, full SKILL.md loading, distillation, and refinement |
Local website_* skill actions |
Internal allowlist only (session_id, active_skill_ids) |
memory_curator |
Context file curation, BM25 cross-session recall, checkpoints, and rollback | Local website_* memory and checkpoint actions |
Internal allowlist only (session_id, nudge_due) |
peer_scout |
Live MVP 0.3 conformance auditing and consent-gated cross-origin peer queries | http://localhost:8081/field_notes, Agent Atlas, Rayo, website_audit_peer_manifest |
to_downstream: [] (strict zero-context egress) |
trajectory_auditor |
SHA-256 receipt chain verification and sanitized JSONL trajectory export | website_get_workspace_snapshot, website_export_trajectory_jsonl |
from_downstream: [] |
Every requirement from the Worldwide Agentic Web MVP Profile 0.3 specification is implemented in code, verifiable live in the browser via Run 7 checks (Peer Web) or the Run 7-rule MVP 0.3 check chip (Overview), and asserted in automated tests (npm test).
| Spec Requirement | Implementation | Verified By |
|---|---|---|
§2 Portable Network (resolved JSON + canonical HOCON, no include/${...}) |
pico_foundry.network.json, pico_foundry.hocon, runtime/hocon-parser.js |
tests/hocon-parser.test.mjs, npm run validate |
§3.1 Parse & Validate (reject malformed, duplicate, missing refs, bad front_man, server classes) |
validateNetwork() & validateManifest() fail closed before any LLM call |
tests/hocon-parser.test.mjs |
§3.1 Bounded Execution & Cycles (halt recursive A->B->A, permit valid repeated A->B) |
Active call-stack cycle detector + max_steps, max_depth, max_remote_calls, timeout_ms |
tests/oaw-engine.test.mjs |
| §3.1 Site Actions & Irreversible Gates (JSON Schema validation + runtime-owned confirmation) | runtime/site-actions.js (read, write, irreversible) |
tests/oaw-engine.test.mjs |
| §3.2 Peer Loading Protocol (exact network match, local execution on caller router) | fetchPeerNetwork() & OawEngine._invokePeerNetwork() |
tests/oaw-engine.test.mjs, tests/conformance.test.mjs |
§3.3 Public Files & CORS (agent-manifest.json, .network.json, links.json, .well-known/*, bridge/*) |
_headers, vercel.json, scripts/serve.mjs (Access-Control-Allow-Origin: *) |
tests/conformance.test.mjs |
§4 Pluggable Inference & Key Isolation (BYOK in localStorage, router-only disclosure) |
runtime/llm-router.js (Mozilla Otari, OpenRouter, OpenAI, Ollama, Custom, Local Demo) |
tests/oaw-engine.test.mjs, tests/sly-firewall.test.mjs |
§5 Consent, sly_data Firewall & Observable Receipts |
Consent Card modal, filterSlyData(), scrubSecrets(), SHA-256 ReceiptLedger |
tests/sly-firewall.test.mjs, tests/oaw-engine.test.mjs |
Pico requires zero API keys to evaluate out of the box and switches seamlessly to any OpenAI-compatible CORS router in AI Model Settings:
| Provider Preset | Endpoint | Default Model | Key Required | Notes |
|---|---|---|---|---|
| Local Demo Engine | local://pico-demo |
pico-deterministic-v1 |
No | Emits genuine OpenAI tool_calls executed by the real OawEngine, consent cards, BM25 index, and receipt ledger |
| Mozilla Otari (US Hosted) | https://api.otari.ai/api/v1 |
alibaba/qwen3.8-flash |
Yes (BYOK) | Direct browser CORS enabled; recommended hackathon gateway |
| Mozilla Otari (EU Hosted) | https://eu.api.otari.ai/api/v1 |
alibaba/qwen3.8-flash |
Yes (BYOK) | EU-hosted Otari endpoint |
| OpenRouter | https://openrouter.ai/api/v1 |
openai/gpt-4o-mini |
Yes (BYOK) | Browser CORS enabled |
| OpenAI | https://api.openai.com/v1 |
gpt-4o-mini |
Yes (BYOK) | Direct browser calls with spending-limited key |
| Local Ollama | http://localhost:11434/v1 |
qwen2.5:7b |
No | Fully offline local inference (OLLAMA_ORIGINS enabled) |
| Custom Endpoint | Any HTTPS/loopback URL | User-specified | Optional | Any OpenAI-compatible /chat/completions router |
Key Isolation Guarantee: Visitor credentials stay exclusively in origin-scoped
localStorage, are attached only to theAuthorizationheader of the chosen LLM router, can be wiped in one click (Clear Stored Key), and are scrubbed from all receipts, prompts, memory writes, and peer calls.
Reuse Pico's browser learning loop (SOUL.md / USER.md / MEMORY.md, BM25 cross-session recall, agentskills.io SKILL.md foundry, and SHA-256 sly_data receipts) inside any Open Agentic Website with 3 lines of JavaScript:
import { createPicoHarness } from "./runtime/sdk.js";
const pico = await createPicoHarness({
manifestUrl: "./agent-manifest.json",
});
const result = await pico.ask("Audit a peer site and distill a reusable SKILL.md");
console.log(result.text, result.receiptHash);Other Open Agentic Websites can also connect directly to Pico's cross-origin Action Bridge at ./bridge/action-bridge.html (via hidden sandboxed iframe + MessageChannel) to invoke 3 strictly read-only public actions:
list_public_skills: Returns Pico's progressive-disclosure index of publicSKILL.mdworkflows.search_public_skills: Runs client-side BM25 search across Pico's public skills.validate_network_json: Validates any Neuro SAN.network.jsonor HOCON string against MVP Profile 0.3.
Requires Node.js 22+ (zero dependencies to install).
# 1. Clone the repository
git clone https://github.com/AXRoux/pico.git
cd pico
# 2. Validate all Open Agentic Web MVP Profile 0.3 artifacts
npm run validate
# 3. Run all 19 unit, security, and live HTTP/CORS conformance tests
npm test
# 4. Launch Pico (http://localhost:8080) AND the companion second-origin peer
# Marrow Field Notes (http://localhost:8081) with CORS headers
npm run start:both- Open
http://localhost:8080/(append?theme=lightor?theme=darkto pick a theme). - On Overview, type into the glass command bar or click a suggestion chip. The Workbench scenario chips cover five flows:
- Live multi-agent delegation, with each hop appearing as a chip in the hop bar
- A real MVP 0.3 Peer Consent Card contacting
http://localhost:8081/field_notes - Client-side BM25 FTS recall, safety checkpoints, and
SKILL.mddistillation - SHA-256 hash-chained receipt verification and JSONL export
- The runtime-owned Irreversible Confirmation Gate when rolling back context files
- Click Run 7-rule MVP 0.3 check on Overview (or Run 7 checks in Peer Web) to execute all 7 MVP Profile 0.3 §6 interoperability checks live in the browser.
- Hover any node in the Open Agentic Mesh to inspect it and click it to run that agent. Use Search agents to filter the Agent Health roster.
- Open any skill in Skill Foundry and click Compile → .network.json to turn an
agentskills.ioSKILL.mdinto a conforming Open Agentic Web network artifact. - Open
http://localhost:8081/and click Call Pico bridge to test the reverse cross-origin direction: Marrow Field Notes calls Pico'snsdeploy-actions-v1Action Bridge and lists its public skills.
node scripts/validate.mjs https://your-site.example/your_networkPico is 100% static and ships with preconfigured CORS headers for major hosts:
- GitHub Pages: Serves static files with
Access-Control-Allow-Origin: *automatically frommainroot. - Cloudflare Pages / Netlify: Configured via
_headers. - Vercel: Configured via
vercel.json.
Repository Structure & Published Public Artifacts
pico/
├── index.html, app.js # Pico Studio: inset-canvas dashboard + workbench controller
├── styles.css # "Signal Graphite" design system (light + dark tokens)
├── favicon.svg # Pixel "P" brand mark
├── assets/ # README banner + light/dark interface screenshots
├── agent-manifest.json # Open Agentic Web MVP Profile 0.3 manifest
├── pico_foundry.network.json # Resolved 5-agent Neuro SAN network JSON
├── pico_foundry.hocon # Canonical HOCON source
├── links.json, agent-mcp.json # Peer link bindings and MCP descriptor
├── _headers, vercel.json # Static host CORS + security headers
├── .well-known/
│ ├── nsdeploy.json # nsDeploy linking discovery metadata
│ ├── nsdeploy-agent.json # nsDeploy agent MCP metadata
│ └── agent-card.json # A2A Agent Card for cross-protocol discovery
├── bridge/
│ ├── action-bridge.html # nsdeploy-actions-v1 cross-origin Action Bridge
│ ├── agent-manifest.json # Bridge manifest
│ └── bridge-actions.js # 3 public read-only shared actions
├── runtime/
│ ├── hocon-parser.js # Neuro SAN JSON/HOCON parser & strict validator
│ ├── sly-firewall.js # Deny-by-default sly_data filter & SHA-256 ledger
│ ├── hermes-memory.js # SOUL/USER/MEMORY, BM25 FTS, nudges, checkpoints
│ ├── skill-foundry.js # agentskills.io SKILL.md registry & .network.json compiler
│ ├── site-actions.js # JSON Schema validated site actions & confirmation gates
│ ├── peer-bridge.js # Peer loader, live MVP 0.3 auditor, ActionBridge client/server
│ ├── llm-router.js # Mozilla Otari, OpenRouter, OpenAI, Ollama, Demo Engine
│ ├── oaw-engine.js # Core multi-agent orchestration engine
│ ├── action-bridge.js # Bridge entry module
│ └── sdk.js # 3-line community drop-in harness (createPicoHarness)
├── demo-peer/ # Companion second-origin site (Marrow Field Notes, amber theme)
├── scripts/
│ ├── serve.mjs # CORS-enabled local multi-origin dev server
│ └── validate.mjs # Standalone MVP Profile 0.3 CLI validator
└── tests/ # 19 unit, security, and live HTTP/CORS conformance tests
Released under the MIT License for the Open Agentic Web community.


