Architecture

StanleyAI is a modular system where Claude AI acts as the strategic brain, orchestrating specialized components.

🧠

AI Brain

Strategic planning, reasoning, and conversation. The intelligence layer that decides what to do and how.

💻

Agent Runner

Autonomous executor with filesystem, terminal, and tool access. Runs agents independently.

Skills Library

30+ modular capabilities. Drop-in skills for media, research, dev, business, content, and automation.

🔨

Workflow Engine

Visual automation connecting 500+ apps. Email, calendar, spreadsheets, messaging, and custom workflows.

☁️

Edge Compute

Globally distributed API layer. Databases, object storage, KV cache, and AI inference at the edge.

📲

Mobile Alerts

Receive alerts, send commands, approve actions. Stay connected on the go.

Data Flow

  User (natural language)
       |
   AI Brain ──────────── Skills (30+ capabilities)
       |
   Agent Runner ──────── Local machine (files, git, terminal)
       |
   ┌───┴───────────────────────────────┐
   │         Edge Compute Layer         │
   ├────────────────────────────────────┤
   │  API Workers  │  Databases         │
   │  Storage      │  KV Cache          │
   │  AI Inference │  DNS / SSL         │
   └───┬────────────────────────────────┘
       |
   ┌───┴───────────┐
   │  Integrations  │
   │  Workflow Engine│
   │  Mobile Alerts │
   │  External APIs │
   └────────────────┘

Infrastructure Components

LayerTechnologyPurpose
AI BrainClaude (Anthropic)Reasoning, planning, conversation
Agent RunnerClaude Code CLIAutonomous code execution
Edge APIsCloudflare WorkersGlobally distributed endpoints
DatabasesCloudflare D1 (SQLite)Persistent state and memory
Object StorageCloudflare R2Files, images, documents
CacheCloudflare KVFast key-value lookups
AI InferenceWorkers AIImage generation, embeddings
WorkflowsN8NMulti-app automation
AlertsTelegram BotMobile notifications

Design Principles