Interactive diagrams

Snippbot Architecture

Seven layers, one security envelope, the unified intent dispatcher as routing spine, an event-driven event bus, and a marketplace as its own first-class system. Explore the architecture the way it was designed — interactively.

🏛
Interactive

System Architecture

The full layered architecture — seven layers inside the Security Envelope, the Unified Intent Dispatcher routing spine, plus the Singularity Marketplace Portal. The dispatcher is drawn as a cyan vertical band touching every layer it relays between. Hover any layer to expand its internal components; hover each subcomponent to read implementation details.

  • Seven numbered layers: Interaction · Cognitive · Execution · Memory · Orchestration · Data · Model Providers
  • Execution layer shows the container sandbox (Off / Safe / Strict) alongside the permission gate and tool types
  • Unified Intent Dispatcher — routing spine touching every layer it routes between
  • Security Envelope with all seven defense layers labeled and linked
  • Click-to-toggle expansion per layer with a visible collapse button
  • Mode switcher — All / Reveal All / Flow / Dispatcher / Chapter 2 · 3 · 4 highlights
Open diagram
🔀
ELK Layout

Process Flow

How a request moves through the system end-to-end. Orthogonal edges rendered by Mermaid + ELK, with color-coded request / response / memory / orchestration / persistence / marketplace paths.

  • User → Interaction → Agent Cognitive → Tool Execution → Model Providers → Reply
  • Unified Intent Dispatcher as central routing node — producers → envelope → 4-tier resolution → executors
  • Memory and Data form a Knowledge lane; Orchestration (workflows, scheduler, goal-seeking loops) taps into Execution and Cognitive
  • Singularity Marketplace installs skills into the Execution layer
  • Toggle between Simple and Detailed views (keyboard: S / D)
Open diagram
Deep dive

Singularity Marketplace

The marketplace as its own complex system — a dedicated architectural page covering the eight layers behind publish, vet, install, and transact.

  • Portal · Discovery · Vetting · Registry · Identity · Transaction · Governance · Delivery
  • Permission-first package format with Ed25519 signed manifests
  • USDC payment rail with Solana wallet and on-chain escrow (in development)
  • 43+ static-analysis checks plus supply-chain attack defense (SUPPLY-001..011)
Open diagram

How to read these diagrams

Click to expand

Every layer starts collapsed showing just its title, subtitle, and stats. Click the header to expand and reveal subcomponents. Click the × in the top-right corner or the header again to close.

Hover for detail

Once a layer is expanded, hover any component card to see a floating tooltip with the implementation details — file paths, class names, and architectural notes.

Chapter highlights

The mode switcher at the top of the main diagram lets you isolate specific themes — security-only view, marketplace-only view, or architecture-only view — matching the chapters of the Snippbot walkthrough video.

Flow view

The process-flow diagram renders with the ELK orthogonal-routing algorithm, producing edges with minimum turns so you can trace every request from input to reply without visual noise.

See the architecture. Then install it.

Every component in these diagrams is real, source-available, and running on your machine the moment you install Snippbot.