Transform Transient Agent Output into Persistent Interactive Artifacts
A zero-DB, local-first management hub and sandboxed visualizer for interactive HTML diagrams, system topologies, decision trees, and Markdown specs across all your repositories.
$ git clone ~/tools/artifacts-manager && npm run dev
http://localhost:41820/project/nimbler-ops
nimbler-ops
Nimblersoft Company Operating System • 24 Artifacts
Allarchitecturestate-machinequestionnaire
HTML Interactive2h ago
Orchestrator Topology & Flow
Interactive node graph of background queues, dispatchers, and state transitions.
orchestrator-topology.htmlView ➔
HTML InteractiveYesterday
Agent Memory Storage Grilling
Stress-test questionnaire evaluating SQLite DO vs D1 Vectorize latency tradeoffs.
storage-grill.htmlView ➔
Markdown + Mermaid3d ago
Auth Domain Boundary Spec
Domain invariants, session schemas, and security boundaries with Mermaid sequence graph.
auth-boundary.mdView ➔
The Problem & The Solution
Why Developers Need Artifacts Manager
AI coding agents generate rich visual architectures and interactive decision models, but they get trapped in ephemeral logs without proper management.
The Ephemeral Agent Trap
Transient, Lost Context
Diagrams and interactive UIs vanish when the chat session ends.
Artifact files scattered randomly across `tmp/`, `scratch/`, or repo roots.
Global CSS and script collisions when embedding interactive HTML.
No unified multi-project search, tag categorization, or lifecycle archiving.
The Artifacts Manager Hub
Structured, Sandboxed Hub
Zero-DB JSON Contracts: Persisted in `.artifacts-manager/manifest.json`.
Isolated Sandboxed Iframes: Full JS, SVGs, and Tailwind run leak-free.
Multi-Project Explorer: Central indexing with real-time tag & text search.
Automated Verification: CLI integrity checks for runtime CDNs and links.
Intent Verification & Architecture
Beyond Disposable Chat Canvases
The bottleneck in modern engineering is intent verification, not code synthesis. Inspect interactive topologies and decision trade-offs in seconds.
Socratic Grilling & Trade-offs
Interactive Decision Trees & Latency Models
Evaluate conflicting architectural approaches side-by-side with interactive latency benchmarks, database trade-offs (e.g. D1 vs SQLite Durable Objects), and live Mermaid sequence charts.
Multi-Agent Fleet Ecosystem
Zero-DB Local Multi-Project Fleet
AI coding agents across your local repositories (Claude Code, Gemini, OpenCode, Antigravity) emit structured manifests cataloged automatically into the centralized local hub on port 41820.
Architectural Grounding
Persistent System Records for Agents
Past visual artifacts serve as high-density grounding context for future agent sessions. A structured artifact gives subagents instant clarity without burning thousands of tokens re-ingesting raw code.
Core Capabilities
Built for Modern AI Coding Fleets
Engineered from first principles with zero database overhead, airtight security boundaries, and responsive developer tooling.
Zero-DB File System Contracts
All project state and metadata live in pure JSON manifests inside repo folders. Easily committed, diffed, and version-controlled with Git.
~/.artifacts-manager.jsonmanifest.json
Sandboxed Iframe Execution
HTML artifacts are served from isolated raw endpoints and rendered in secure iframes. Run rich JavaScript animations, charts, and Tailwind styling without host conflicts.
IsolationRaw EndpointXSS Defense
Multi-Viewport Resolution Switcher
Instantly test and inspect artifact responsiveness with built-in 100% Desktop, 768px Tablet, and 375px Mobile viewport presets.
Desktop 100%Tablet 768pxMobile 375px
Real-Time Search & Tag Filters
Instant multi-faceted search across titles, descriptions, and tags. Toggle between Active and Archived states with permanent delete safeguards.
Faceted FilterLifecycle TagsInstant Query
Automated Validation Engine
The CLI read-only validator (`artman validate --all`) checks CDN URLs, Mermaid fallbacks, manifest containment, and path traversal security across your machine.
ADR-0002CDN VerificationIntegrity Checks
First-Class Agent Skill (`with-artifact`)
Shipped skill contract compatible with Antigravity, Claude Code, and Kilo. Agents automatically scaffold, validate, and catalog artifacts in one step.
SKILL.mdStarter TemplatesAutonomous Indexing
Interactive Demos
What Agents Can Generate
Experience the exact interactive templates created by AI coding agents using the `with-artifact` skill.
Interactive Topology Template
Nimblersoft Agent Fabric & Dispatcher Flow
Click any node to inspect system boundary, protocols, and runtime contract.
Tailwind 3.4.17 + Mermaid 11.17.1
01 • Ingress
API Gateway & Proxy
Port 41820 / Cloudflare Edge / SSL & Auth Guard
02 • Dispatch
Task Orchestrator
Queue Dispatcher, State Machine & Retry Manager
03 • Execution
Sandboxed Iframe Hub
Isolated HTML/JS Execution & Raw Static File Bridge
04 • Persistence
Zero-DB Manifests
Local JSON Filesystem Catalogs & Central Index
ARCHITECTURE DATAFLOWflowchart LR
flowchart LR
client["Client Browser (41820)"] --> gateway["API Gateway"]
gateway --> orchestrator["Task Orchestrator"]
orchestrator --> sandbox["Sandboxed Iframe Hub"]
sandbox --> storage["Zero-DB Manifests"]
classDef default fill:#0d152c,stroke:#252f55,stroke-width:1px,color:#f0f4ff;
classDef active fill:#132247,stroke:#00f0ff,stroke-width:2px,color:#00f0ff;
class gateway active;
01 • Ingress Layer
API Gateway & Ingress
Handles TLS termination, routing, port 41820 allocation, and path-traversal security verification before passing requests to internal handlers.
Security Boundary
Path-traversal guard (403 on ../ escapes)
Network & File Endpoint
http://127.0.0.1:41820/api/raw/*
Runtime Contract
ADR-0001 & ADR-0002 Verified
Autonomous Grilling Template
Architectural Decision Stress-Test
Interactive HTML Form + Live Mermaid
Frontier Lock: Round 1 Active
2 architectural decisions locked for this review cycle. Answer both to proceed.
Q1
State Persistence Strategy
Round 1
How should multi-project artifacts store central state and manifest indexes across local repositories?
This document defines the strict isolation boundaries for agent-generated visual artifacts. Markdown artifacts are parsed server-side with marked and cleansed with sanitize-html before rendering client-side Mermaid diagrams.
Security Invariant: Raw script tags and arbitrary HTML within markdown fences are strictly stripped on the server boundary. Mermaid SVG diagrams are rendered securely on the client using pinned Mermaid 11.17.1 ESM.
Artifact Retrieval & Rendering Flow
sequenceDiagram
autonumber
actor Operator
participant GW as API Gateway (41820)
participant Hub as Sandboxed Hub
participant FS as Manifest Store (.artifacts-manager)
Operator->>GW: GET /project/nimbler-ops/artifact/auth-boundary
GW->>FS: Verify path & read manifest.json
FS-->>GW: Return artifact metadata
GW->>Hub: Mount isolated iframe (/api/raw/...)
Hub-->>Operator: Rendered interactive spec & Mermaid SVG
Subsystem Contracts
Layer
Protocol
Enforcement
ADR Status
Edge Ingress
HTTP / SSE
Path-traversal regex validation
ADR-0001 Verified
Iframe Sandbox
allow-scripts
Isolated origin, no parent DOM access
ADR-0001 Verified
Mermaid Runtime
ESM Strict
Pinned 11.17.1 CDN runtime
ADR-0002 Verified
# Auth Domain Boundary & Session Invariants
Domain invariants, session schemas, and security boundaries.
## Architecture Dataflow
```mermaid sequenceDiagram autonumber actor Operator participant GW as API Gateway (41820) participant Hub as Sandboxed Hub participant FS as Manifest Store (.artifacts-manager) Operator->>GW: GET /project/nimbler-ops/artifact/auth-boundary GW->>FS: Verify path & read manifest.json FS-->>GW: Return artifact metadata GW->>Hub: Mount isolated iframe (/api/raw/...) Hub-->>Operator: Rendered interactive spec & Mermaid SVG ```
## Security Invariants
- All artifacts reside under .artifacts-manager/
- Zero external database connections required
CLI Tooling
The `artman` Command Line
Manage workspace registrations, lifecycle states, and run contract verification directly from your shell.
$ ./bin/artman register /home/ericmaster/nimbler-ops
Reading ~/.artifacts-manager.json ...Indexing /home/ericmaster/nimbler-ops/.artifacts-manager/manifest.json ...✓ Registered project:nimbler-ops (24 active artifacts)
Catalog updated at ~/.artifacts-manager.json$
Autonomous Workflow
How the Agent Lifecycle Works
Seamless integration between prompt instructions, file generation, manifest indexing, and interactive preview.
Step 01
Agent Prompt
The developer or agent identifies a complex topology, state machine, or decision matrix to illustrate.
Step 02
Skill Execution
The agent loads the `with-artifact` skill and scaffolds a self-contained HTML/Markdown file under `.artifacts-manager/`.
Step 03
Manifest Catalog
Metadata, unique kebab-case ID, description, and tags are written to `.artifacts-manager/manifest.json`.
Step 04
Sandboxed Viewer
Instantly visible in the SvelteKit dashboard on port 41820 with interactive sandboxing and multi-viewport controls.
Security & Architecture
Engineered with Strict Boundaries
Built according to ADR-0001 and ADR-0002 architectural decisions.
Path-Traversal Defense
Raw file server strictly resolves paths within each project's `.artifacts-manager` folder. Any `../` directory escapes are rejected with 403 Forbidden.
Server-Side Markdown Sanitizer
Markdown is parsed with `marked` and sanitized with `sanitize-html` at the insertion boundary, enforcing explicit tag, attribute, and protocol allowlists.
Pinned Runtime CDN Contract
Conforms to ADR-0002: Tailwind CSS `3.4.17` and Mermaid `11.17.1` ESM from exact pinned CDN URLs with reliable fallback sources.
Bring Visual Clarity to Your AI Coding Fleet
Start organizing, inspecting, and archiving your agent-generated visual artifacts across all local repositories in minutes.