Technical Architecture

How Paperclip v2 autonomously builds 200 advanced technology applications using AI-driven pipelines, sandboxing technologies, and edge deployment.

System Flow

Category Spec
14 categories
AI Prompt Engine
Domain-aware
Build Pipeline
Next.js + TS
Validation
Build + Lint
CF Pages Deploy
Edge CDN

Core Technologies

🤖

Paperclip v2 Autopilot

The core engine that orchestrates app creation. It reads category specs, generates prompts, builds Next.js apps, validates builds, and deploys to Cloudflare Pages — all autonomously.

  • Category-aware prompt generation
  • Automated build validation
  • Self-healing on failures
  • Sequential 1-at-a-time builds
🧩

WASM Sandboxing

WebAssembly-based sandboxing allows compute-heavy applications to run safely in the browser with near-native performance and strict memory isolation.

  • Browser-native execution
  • Memory-safe isolation
  • Near-native performance
  • Language-agnostic compilation
🛡️

Bubblewrap Containers

Bubblewrap provides lightweight Linux containerization for sandboxed execution. Apps run in isolated namespaces with restricted syscalls and filesystem access.

  • Linux namespace isolation
  • Syscall filtering (seccomp)
  • Read-only root filesystem
  • Minimal attack surface
🖥️

OpenShell Runtime

OpenShell provides cloud-hosted terminal environments with full shell access in a sandboxed context. Ideal for interactive coding tools and IDE-style applications.

  • Full terminal emulation
  • Persistent sessions
  • Resource limits (CPU/RAM)
  • Network isolation options

Cloudflare Workers

Edge-deployed V8 isolates running on Cloudflare's global network. Sub-millisecond cold starts with automatic scaling across 300+ data centers.

  • V8 isolate sandboxing
  • Sub-ms cold starts
  • 300+ edge locations
  • Automatic global scaling
🧠

AI Prompt Engine

Category-aware prompts ensure each app is built with domain-specific knowledge. The engine selects UI patterns, data models, and features appropriate for each category.

  • 14 category templates
  • Domain-specific patterns
  • UI/UX best practices
  • Adaptive complexity levels
📦

Static Export Pipeline

Every app is compiled as a static Next.js export. No server required. Pure HTML/CSS/JS deployed to the edge for instant loading worldwide.

  • Zero server dependencies
  • Edge-cached globally
  • Instant page loads
  • Unlimited scalability
📊

Monitoring & Metrics

Build metrics, deployment status, and health checks feed into the showroom dashboard. Every app's lifecycle is tracked from queue to production.

  • Build time tracking
  • Deploy success rates
  • Per-category metrics
  • Live status dashboard

Sandboxing Approaches Compared

TechnologyIsolationPerformanceUse CaseApps
WASMMemory-safeNear-nativeBrowser compute12
CF WorkersV8 isolateSub-ms startEdge serverless12
BubblewrapNamespaceNativeLinux containers10
OpenShellProcessNativeCloud terminals10