Self-improving AI Employees for everyone
Python ai-agentsai-employeeai-employeesassistantautonomous-agentsco-employeescompanygrok-botinstinctloop-agentsmuseown-your-datapersonalself-hosted
docs: rewrite README for non-technical users with two new SVG diagrams
trohitgb5584d870fdd
diff --git a/README.md b/README.mdindex de0d7bf1..6ff887ef 100644--- a/README.md+++ b/README.md@@ -5,9 +5,21 @@<a href="https://discord.gg/c9pCJ7d8Ce" target="_blank"><img src="https://img.shields.io/discord/1455977012308086895?logo=discord&logoColor=white&label=Discord" alt="Discord"></a><a href="https://deepwiki.com/trohitg/MachinaOS" target="_blank"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>-Self-hostable workflow runtime for AI agents. Plugin-first Python backend, schema-driven React Flow frontend, Temporal-backed distributed execution, and a native-SDK LLM layer that runs against cloud providers or local servers (Ollama, LM Studio).+Your own AI assistant that does real work. Drag, drop, and connect AI agents to your email, calendar, messages, phone, and 50+ other services. Runs on your own machine — your data stays with you.-Think n8n's visual builder with the agent ergonomics of an SDK — workflows are JSON, nodes are typed Python plugins, and the executor is durable.+No code required. No subscription. No usage limits. Bring your own API keys (or run models locally with Ollama / LM Studio for free).++## How It Works++[](https://raw.githubusercontent.com/trohitg/MachinaOS/main/docs/diagrams/how-it-works.svg)++Pick nodes from the palette, drag them onto a canvas, connect them with lines, give your AI agent some memory and skills, and hit Play. Or **deploy** the workflow so it runs forever in the background — waiting for emails, responding to messages, checking in on a schedule, doing the work you'd rather not.++## Three Workflows You Get on Day One++[](https://raw.githubusercontent.com/trohitg/MachinaOS/main/docs/diagrams/default-workflows.svg)++The first time you open MachinaOS, three example workflows load automatically. Open them on the canvas to see exactly how the pieces fit together, then edit any node and save your own version.## See It In Action ↓@@ -26,103 +38,154 @@ npm install -g machinaosmachina start```-Open http://localhost:3000. Backend on `:3010`, Temporal UI on `:8080`.+Open http://localhost:3000 and click **Credentials** to connect your first AI provider.-<details>-<summary><b>Run from source</b></summary>+## What You Can Build-Source builds require [pnpm](https://pnpm.io/):+### Personal AI assistants that remember+Build a chat assistant that knows your calendar, reads your inbox, and follows up on tasks. Conversations are saved as readable markdown so you can edit what your agent remembers. Long-term memory uses vector search so years of conversation stay accessible.-```bash-npm install -g pnpm-git clone https://github.com/trohitg/MachinaOS.git-cd MachinaOS-pnpm install-pnpm run dev-```+### Agent teams that delegate+Hire an **AI Employee** as a team lead. Connect specialized agents — a Coding Agent, a Web Agent, a Productivity Agent — and the team lead automatically figures out who to delegate which subtask to. Each agent has its own memory, tools, and skills.-The `dev` task starts the Python backend, Vite client, WhatsApp RPC, and Temporal in parallel. See [SETUP.md](docs-internal/SETUP.md) and [SCRIPTS.md](docs-internal/SCRIPTS.md).+### Task automations that run themselves+Schedule recurring jobs ("every weekday at 9 AM, summarize my unread emails"), respond to incoming events ("when a customer texts on WhatsApp, draft a reply"), or build complex multi-step pipelines that run in the background. Workflows run reliably even if your computer restarts.-</details>+### Email, calendar, and document workflows+- Send and search Gmail, schedule and update Calendar events+- Upload to Drive, edit Sheets, manage Tasks and Contacts+- Read inbox via IMAP from Gmail, Outlook, Yahoo, iCloud, ProtonMail, Fastmail, or any custom server+- Parse PDFs and documents into searchable knowledge bases-## Architecture+### Messaging across every platform+Send and receive on **WhatsApp** (with newsletter channels, groups, contacts), **Telegram** (with bot owner detection), **Twitter/X** (post, reply, search, look up users), and a unified social node that abstracts over Discord, Slack, Signal, SMS, Matrix, Teams, and more.-```-+--------------------------+ WebSocket +--------------------------+-| React 19 + Vite client | <==================> | FastAPI backend |-| React Flow canvas | (typed RPC + | Plugin registry |-| TanStack Query cache | CloudEvents v1.0 | Native LLM SDK layer |-| Zustand slice stores | broadcasts) | Temporal executor |-+--------------------------+ +-------------+------------+- |- +------------------+------------------+- v v- +---------------+ +---------------+- | Temporal | | Encrypted |- | (durable | | credentials |- | activities) | | store |- +---------------+ +---------------+-```+### Phone control from a workflow+Pair your Android phone via QR code and control it from any agent: read battery + network status, launch apps, toggle WiFi / Bluetooth / airplane mode, take photos, read environmental sensors, manage media playback. 16 device services available.++### Web automation & research+- **Interactive browser** with accessibility-tree navigation (click, type, screenshot) — your agent can use websites the way you do+- **Web scraping** with Crawlee (static + JavaScript-rendered pages) and Apify actors (Instagram, TikTok, LinkedIn, Facebook, YouTube, Google Search)+- **Search APIs**: DuckDuckGo (free), Brave, Serper (Google), Perplexity (AI answers with citations)+- **Residential proxies** with geo-targeting and automatic provider rotation++### Code execution that's actually safe+Run Python, JavaScript, and TypeScript code from any workflow. Each workflow gets its own isolated workspace folder — no chance of an agent touching files outside its sandbox. The **Process Manager** node owns long-running tasks like dev servers, builds, and watchers, with live output streaming to a Terminal tab in the UI.++### Pay bills, take payments+**Stripe** integration with action node (charge customers, manage subscriptions) and webhook receiver (react to payment events in real time). Same pattern works for any service with a CLI.++### Build your own knowledge base+RAG pipeline out of the box: parse PDFs and HTML, chunk into searchable pieces, embed locally or via OpenAI, store in ChromaDB / Qdrant / Pinecone, and query from any agent.-- **Plugin-first backend.** One Python file per node. The plugin class declares metadata, typed input/output schemas, and an execute method; the framework auto-registers it on import. The backend spec is the single source of truth — the frontend renders entirely from server-served schemas.-- **Three execution modes** with automatic fallback: Temporal (distributed, durable) → Redis-backed parallel scheduling → sequential.-- **Event-driven deployment.** Each trigger event spawns an independent execution run with isolated context. Multiple runs of the same workflow can execute concurrently.-- **Dual-path LLM execution.** Chat completions go through a native-SDK layer to keep cold-start fast; agent runs use LangChain + LangGraph for tool calling and state graphs.-- **WebSocket-first RPC** with reliable reconnect, replay queue, request correlation, and CloudEvents v1.0 envelopes for typed broadcasts.+## AI Capabilities-Full diagrams and deep-dives: **[CONTRIBUTING.md](CONTRIBUTING.md)** and [docs-internal/](docs-internal/).+### 11 LLM providers — bring your own keys or run locally-## What's In The Box+| Provider | Notes |+|--------------|--------------------------------------------------------------------------|+| OpenAI | GPT-5 family, GPT-4.1, o-series reasoning models, GPT-4o |+| Anthropic | Claude Opus 4.x, Sonnet 4.x, Haiku 4.5 — with extended thinking |+| Google | Gemini 3 Pro/Flash, 2.5 Pro/Flash — with reasoning budgets |+| DeepSeek | DeepSeek V3, DeepSeek Reasoner |+| Kimi | Kimi K2.5, Kimi K2 Thinking |+| Mistral | Mistral Large/Small, Codestral |+| Groq | Llama 3/4, Qwen3, GPT-OSS (ultra-fast inference) |+| Cerebras | Llama 3.1, Qwen-3-235b (custom AI hardware) |+| OpenRouter | 200+ models via one unified API |+| **Ollama** | Run any local model on your machine — free, private, offline |+| **LM Studio**| Run any local model with a desktop app — free, private, offline |-### Node plugins-Categories: AI agents, chat models, social (WhatsApp / Telegram / Twitter / Discord / Slack / Signal / SMS / Webchat / Email / Matrix / Teams), Google Workspace (Gmail / Calendar / Drive / Sheets / Tasks / Contacts), Android (16 service nodes via ADB + relay), browser automation, web scraping (Crawlee, Apify, HTTP), document RAG (parsers, chunkers, embeddings, vector stores), filesystem + shell (Nushell), code executors (Python / JS / TS), process manager, scheduling (cron + timer), webhooks, location (Google Maps), payments (Stripe), residential proxies.+Local providers (Ollama, LM Studio) are first-class — context length, vision support, and tool-use capability are detected automatically from your running server. No paid API needed.-### LLM providers (11 chat-model backends)-| Provider | Path | Models |-|--------------|-------------|------------------------------------------------------------------------|-| OpenAI | Native + LC | GPT-5.x, GPT-4.1, o-series (reasoning effort), GPT-4o |-| Anthropic | Native + LC | Claude Opus 4.x, Sonnet 4.x, Haiku 4.5 (budget thinking) |-| Google | Native + LC | Gemini 3-pro/flash, 2.5-pro/flash/flash-lite (thinking budget) |-| DeepSeek | Native + LC | deepseek-chat, deepseek-reasoner |-| Kimi | Native + LC | kimi-k2.5, kimi-k2-thinking |-| Mistral | Native + LC | mistral-large, mistral-small, codestral |-| Groq | LC | Llama 3.x/4, Qwen3-32b, GPT-OSS |-| Cerebras | LC | Llama 3.1, GPT-OSS, Qwen-3-235b |-| OpenRouter | Native + LC | 200+ models via unified API |-| **Ollama** | Native | Local models — context length and capabilities probed via official SDK |-| **LM Studio**| Native | Local models — context length and capabilities probed via official SDK |+### 17 specialized agent types-### Specialized agents-17 agent types covering Android control, web automation, coding, task management, social messaging, travel planning, productivity (Google Workspace), payments, consumer interactions, autonomous loops, and recursive language models. Team-lead agents (AI Employee, Orchestrator) accept other agents as teammates and auto-expose them as delegation tools.+Pick the right agent for the job:-### Skills system-Markdown-driven, editable in-UI. Skills carry their own instructions, allowed tools, and metadata; defaults live on disk as `SKILL.md` files and get seeded into the database on first load. Folder layout maps to agent specialization (assistant, android, coding, productivity, social, terminal, web, etc.).+| Agent | Specialized for |+|--------------------|--------------------------------------------------------------------------|+| **AI Employee** / **Orchestrator** | Team leads that coordinate other agents |+| Android Agent | Phone control |+| Web Agent | Browser automation, scraping, search |+| Coding Agent | Writing and running code (Python / JS / TS) |+| Productivity Agent | Gmail, Calendar, Drive, Sheets, Tasks, Contacts |+| Social Agent | WhatsApp, Telegram, Twitter messaging |+| Task Agent | Scheduling, reminders, cron jobs |+| Travel Agent | Maps, location lookup, planning |+| Payments Agent | Stripe + financial workflows |+| Consumer Agent | Customer support, order management |+| Deep Agent | LangChain DeepAgents with filesystem tools + sub-agent delegation |+| Claude Code Agent | Anthropic's Claude Code CLI for advanced coding sessions |+| Codex Agent | OpenAI Codex CLI integration |+| RLM Agent | Recursive Language Model — write code that calls itself recursively |+| Autonomous Agent | Code-mode loops that reduce token usage 80-98% |+| Tool Agent | General-purpose tool orchestration |-### Code execution-Sandboxed Python with curated stdlib imports, plus JavaScript and TypeScript executors. The process-manager node owns long-running children (dev servers, watchers, build tools) and streams their output to the Terminal tab.+Team leads automatically expose every connected agent as a `delegate_to_*` tool — the AI decides who to hand work off to based on the task.-### Filesystem isolation-Per-workflow workspace directory. Filesystem and shell nodes operate in a sandboxed virtual mode — path validation rejects traversal attempts uniformly across Windows and POSIX. Default shell is **Nushell** (same grammar everywhere), with fallback to the host's native shell when Nushell isn't installed.+### Skills you can edit yourself-## Configuration+Skills are short markdown files that teach an agent how to do something well — when to use which tool, what arguments to pass, common mistakes to avoid. Edit them in the UI; the changes apply immediately. Built-in skills cover Android control, Google Workspace, social messaging, web research, coding, terminal use (Bash, PowerShell, WSL, Nushell), and more.-Credentials live in a separate encrypted SQLite database with field-level encryption (Fernet + PBKDF2-SHA256, 600k iterations per OWASP 2024). OAuth tokens and API keys use separate storage paths by design, and refresh tokens never live in process memory.+### Memory that scales with your context window-OAuth redirect URIs are derived at runtime from the request context — no port hardcoding, works identically in dev and behind a reverse proxy. Credential backends are pluggable: local encrypted SQLite, OS-native keyring, or AWS Secrets Manager.+Agents track token usage and automatically compact long conversations when you hit half your model's context limit. Compaction summarizes in five sections — Task Overview, Current State, Important Discoveries, Next Steps, Context to Preserve — so the agent picks up exactly where it left off. For Anthropic and OpenAI, native API compaction is used; everywhere else, the agent summarizes itself.++### Cost tracking, built in++Every LLM call and API request is tracked with USD cost. See per-provider spend in the Credentials panel. Configure your own pricing in `pricing.json` if you switch providers mid-flight.++## The Canvas++- **10 visual themes** — light, dark, Renaissance, Greek, Edo, Steampunk, Atomic, Cyber, Wasteland, Rot, Plague, Surveillance — each with its own icon set, sound pack, and decorative ornaments. Pick the vibe that matches your workflow.+- **Drag-to-map outputs** from one node's output directly onto another's input fields.+- **Live execution animations** — nodes glow while running, show iteration count for AI agents, and surface errors inline.+- **Multi-tab Console** — chat with trigger nodes, watch console logs, and view terminal output side by side.+- **Component palette** with search, categories, and a Normal/Dev mode toggle that hides advanced nodes when you don't need them.+- **5-step onboarding wizard** for first-time users, replayable any time from Settings.++## Quick Setup Tour++1. **Install** with `npm install -g machinaos` (or run from source)+2. **Start** with `machina start` — opens at http://localhost:3000+3. **Connect a provider** — click the **Credentials** button, paste an API key or click through OAuth+4. **Drag a node** from the left palette onto the canvas+5. **Connect** outputs to inputs by dragging between handles+6. **Run** by clicking the play button on any node, or **Deploy** the whole workflow to run on its own forever++If anything goes wrong, the [Discord](https://discord.gg/c9pCJ7d8Ce) community is the fastest way to get help.++## Run From Source++<details>+<summary><b>For contributors</b></summary>++```bash+npm install -g pnpm+git clone https://github.com/trohitg/MachinaOS.git+cd MachinaOS+pnpm install+pnpm run dev+```++The `dev` task starts the Python backend, Vite client, WhatsApp service, and Temporal in parallel. See [SETUP.md](docs-internal/SETUP.md) and [SCRIPTS.md](docs-internal/SCRIPTS.md) for details, and [CONTRIBUTING.md](CONTRIBUTING.md) for the codebase map and contribution recipes.++</details>-Click **Credentials** in the toolbar UI to connect providers.+## For Developers-## Documentation+Want to add a node, LLM provider, skill, or integration? One Python file = one node. The backend owns all the schemas; the frontend renders from them automatically. No frontend code required for most extensions.-- **[CONTRIBUTING.md](CONTRIBUTING.md)** — repository map, architecture diagrams, contribution recipes-- **[server/nodes/README.md](server/nodes/README.md)** — 5-minute plugin recipe + folder map + shared helpers-- **[docs-internal/](docs-internal/)** — full architecture index: execution engine, Temporal, native LLM SDK, event waiter, credentials encryption, status broadcaster, RLM, Deep Agent, Claude Code agent, performance, build pipeline+- **[CONTRIBUTING.md](CONTRIBUTING.md)** — codebase map, architecture diagrams, contribution recipes+- **[server/nodes/README.md](server/nodes/README.md)** — 5-minute plugin recipe + folder map+- **[docs-internal/](docs-internal/)** — deep-dive architecture docs (execution engine, Temporal, LLM layer, credentials, event system, performance, build pipeline)+- **[CLAUDE.md](CLAUDE.md)** — comprehensive project memory (great for AI-assisted contributions)- **Hosted docs:** https://docs.zeenie.xyz/- **DeepWiki:** https://deepwiki.com/trohitg/MachinaOS## Community-[Discord](https://discord.gg/c9pCJ7d8Ce) — help, feedback, and design discussions.+[Discord](https://discord.gg/c9pCJ7d8Ce) — help, feature requests, and design discussions.## Licensediff --git a/docs/diagrams/default-workflows.svg b/docs/diagrams/default-workflows.svgnew file mode 100644index 00000000..45edefc1--- /dev/null+++ b/docs/diagrams/default-workflows.svg@@ -0,0 +1,314 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1100 1020" width="100%" preserveAspectRatio="xMidYMid meet" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif">+ <defs>+ <marker id="arr" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">+ <path d="M0,0 L10,5 L0,10 z" fill="#6b7280"/>+ </marker>+ <marker id="arr-purple" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">+ <path d="M0,0 L10,5 L0,10 z" fill="#8b5cf6"/>+ </marker>+ <marker id="arr-cyan" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">+ <path d="M0,0 L10,5 L0,10 z" fill="#06b6d4"/>+ </marker>+ <marker id="arr-green" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">+ <path d="M0,0 L10,5 L0,10 z" fill="#10b981"/>+ </marker>+ <style>+ .bg { fill: #fafafa; }+ .header-text { fill: #111827; font-size: 22px; font-weight: 700; }+ .header-sub { fill: #6b7280; font-size: 14px; }++ .row-card { fill: #ffffff; stroke-width: 2; rx: 14; }+ .row-1 { stroke: #8b5cf6; }+ .row-2 { stroke: #06b6d4; }+ .row-3 { stroke: #10b981; }++ .num-bg-1 { fill: #8b5cf6; }+ .num-bg-2 { fill: #06b6d4; }+ .num-bg-3 { fill: #10b981; }+ .num-txt { fill: #ffffff; font-size: 15px; font-weight: 700; }++ .row-title { fill: #111827; font-size: 18px; font-weight: 700; }+ .row-tag { fill: #6b7280; font-size: 12px; font-style: italic; }+ .row-desc { fill: #4b5563; font-size: 13px; }+ .row-use { fill: #1f2937; font-size: 13px; font-weight: 600; }++ .node-box { fill: #ffffff; stroke: #d1d5db; stroke-width: 1.5; rx: 8; }+ .node-trigger { fill: #fef3c7; stroke: #f59e0b; }+ .node-agent-1 { fill: #ede9fe; stroke: #8b5cf6; stroke-width: 2.5; }+ .node-agent-2 { fill: #cffafe; stroke: #06b6d4; stroke-width: 2.5; }+ .node-agent-3 { fill: #d1fae5; stroke: #10b981; stroke-width: 2.5; }+ .node-helper { fill: #f3f4f6; stroke: #9ca3af; }+ .node-tool { fill: #f9fafb; stroke: #d1d5db; }+ .node-output { fill: #e0f2fe; stroke: #0284c7; }++ .node-txt { fill: #111827; font-size: 12px; font-weight: 600; }+ .node-sub { fill: #6b7280; font-size: 10px; }++ .conn { stroke: #9ca3af; stroke-width: 2; fill: none; stroke-linecap: round; }+ .conn-dotted { stroke: #9ca3af; stroke-width: 1.5; fill: none; stroke-dasharray: 3,3; }+ .conn-delegate { stroke: #06b6d4; stroke-width: 2; fill: none; stroke-linecap: round; }+ .conn-flow-1 { stroke: #8b5cf6; stroke-width: 2; fill: none; stroke-linecap: round; }+ .conn-flow-2 { stroke: #06b6d4; stroke-width: 2; fill: none; stroke-linecap: round; }+ .conn-flow-3 { stroke: #10b981; stroke-width: 2; fill: none; stroke-linecap: round; }++ .label-italic { fill: #6b7280; font-size: 10px; font-style: italic; }+ </style>+ </defs>++ <rect width="1100" height="1020" class="bg"/>++ <!-- Header -->+ <text x="550" y="40" text-anchor="middle" class="header-text">Three Workflows You Get on Day One</text>+ <text x="550" y="62" text-anchor="middle" class="header-sub">Open MachinaOS for the first time and these are already loaded. Each shows a different pattern you can copy.</text>++ <!-- ============================================================ -->+ <!-- WORKFLOW 1: AI ASSISTANT -->+ <!-- ============================================================ -->+ <rect x="30" y="90" width="1040" height="240" class="row-card row-1"/>+ <circle cx="58" cy="118" r="14" class="num-bg-1"/>+ <text x="58" y="123" text-anchor="middle" class="num-txt">1</text>+ <text x="84" y="118" class="row-title">AI Assistant</text>+ <text x="84" y="135" class="row-tag">16 nodes · one smart agent with a full toolbox</text>++ <!-- Triggers (left) -->+ <rect x="50" y="180" width="120" height="38" class="node-box node-trigger" rx="8"/>+ <text x="110" y="198" text-anchor="middle" class="node-txt">💬 Chat</text>+ <text x="110" y="212" text-anchor="middle" class="node-sub">in-app panel</text>++ <rect x="50" y="232" width="120" height="38" class="node-box node-trigger" rx="8"/>+ <text x="110" y="250" text-anchor="middle" class="node-txt">📱 Telegram</text>+ <text x="110" y="264" text-anchor="middle" class="node-sub">incoming message</text>++ <!-- AI Agent center -->+ <rect x="280" y="195" width="160" height="60" class="node-box node-agent-1" rx="10"/>+ <text x="360" y="220" text-anchor="middle" class="node-txt" style="font-size: 14px;">🤖 AI Agent</text>+ <text x="360" y="240" text-anchor="middle" class="node-sub">thinks, decides, acts</text>++ <!-- Arrows in -->+ <path d="M 175 199 L 280 215" class="conn-flow-1" marker-end="url(#arr-purple)"/>+ <path d="M 175 251 L 280 235" class="conn-flow-1" marker-end="url(#arr-purple)"/>++ <!-- Memory + Skills attached below -->+ <rect x="220" y="280" width="100" height="32" class="node-box node-helper" rx="6"/>+ <text x="270" y="299" text-anchor="middle" class="node-txt">🧠 Memory</text>++ <rect x="330" y="280" width="100" height="32" class="node-box node-helper" rx="6"/>+ <text x="380" y="299" text-anchor="middle" class="node-txt">📚 Skills</text>++ <path d="M 320 255 L 270 280" class="conn-dotted"/>+ <path d="M 400 255 L 380 280" class="conn-dotted"/>++ <!-- Tools cluster (right of agent) -->+ <rect x="490" y="170" width="280" height="120" class="node-box" rx="10" style="fill: #fafafa; stroke: #d1d5db;"/>+ <text x="630" y="190" text-anchor="middle" class="node-txt" style="fill: #6b7280;">🔧 Toolbox</text>++ <rect x="500" y="200" width="84" height="22" class="node-tool" rx="5"/>+ <text x="542" y="215" text-anchor="middle" class="node-sub">🔍 Web search</text>++ <rect x="592" y="200" width="84" height="22" class="node-tool" rx="5"/>+ <text x="634" y="215" text-anchor="middle" class="node-sub">🌐 Browser</text>++ <rect x="684" y="200" width="84" height="22" class="node-tool" rx="5"/>+ <text x="726" y="215" text-anchor="middle" class="node-sub">📄 Files</text>++ <rect x="500" y="228" width="84" height="22" class="node-tool" rx="5"/>+ <text x="542" y="243" text-anchor="middle" class="node-sub">💻 Shell</text>++ <rect x="592" y="228" width="84" height="22" class="node-tool" rx="5"/>+ <text x="634" y="243" text-anchor="middle" class="node-sub">🐍 Python</text>++ <rect x="684" y="228" width="84" height="22" class="node-tool" rx="5"/>+ <text x="726" y="243" text-anchor="middle" class="node-sub">⚙ Processes</text>++ <rect x="546" y="256" width="84" height="22" class="node-tool" rx="5"/>+ <text x="588" y="271" text-anchor="middle" class="node-sub">📋 Todos</text>++ <rect x="638" y="256" width="84" height="22" class="node-tool" rx="5"/>+ <text x="680" y="271" text-anchor="middle" class="node-sub">+ more</text>++ <path d="M 440 225 L 490 225" class="conn-flow-1" marker-end="url(#arr-purple)"/>++ <!-- Outputs (right) -->+ <rect x="830" y="180" width="180" height="38" class="node-box node-output" rx="8"/>+ <text x="920" y="198" text-anchor="middle" class="node-txt">📤 Telegram Send</text>+ <text x="920" y="212" text-anchor="middle" class="node-sub">reply to user</text>++ <rect x="830" y="232" width="180" height="38" class="node-box node-output" rx="8"/>+ <text x="920" y="250" text-anchor="middle" class="node-txt">📝 Console</text>+ <text x="920" y="264" text-anchor="middle" class="node-sub">live log in UI</text>++ <path d="M 770 199 L 830 199" class="conn-flow-1" marker-end="url(#arr-purple)"/>+ <path d="M 770 251 L 830 251" class="conn-flow-1" marker-end="url(#arr-purple)"/>++ <!-- Use this when -->+ <text x="58" y="313" class="row-use">USE WHEN:</text>+ <text x="155" y="313" class="row-desc">You want one AI that can browse the web, run code on your machine, and chat over Telegram.</text>++ <!-- ============================================================ -->+ <!-- WORKFLOW 2: AI EMPLOYEE -->+ <!-- ============================================================ -->+ <rect x="30" y="355" width="1040" height="340" class="row-card row-2"/>+ <circle cx="58" cy="383" r="14" class="num-bg-2"/>+ <text x="58" y="388" text-anchor="middle" class="num-txt">2</text>+ <text x="84" y="383" class="row-title">AI Employee</text>+ <text x="84" y="400" class="row-tag">58 nodes · a team lead that delegates to 5 specialists</text>++ <!-- Triggers (left) -->+ <rect x="50" y="450" width="120" height="38" class="node-box node-trigger" rx="8"/>+ <text x="110" y="468" text-anchor="middle" class="node-txt">💬 Chat</text>+ <text x="110" y="482" text-anchor="middle" class="node-sub">in-app panel</text>++ <rect x="50" y="500" width="120" height="38" class="node-box node-trigger" rx="8"/>+ <text x="110" y="518" text-anchor="middle" class="node-txt">📱 Telegram</text>+ <text x="110" y="532" text-anchor="middle" class="node-sub">incoming message</text>++ <!-- Zeenie team lead -->+ <rect x="240" y="465" width="170" height="62" class="node-box node-agent-2" rx="10"/>+ <text x="325" y="490" text-anchor="middle" class="node-txt" style="font-size: 14px;">👔 Zeenie</text>+ <text x="325" y="510" text-anchor="middle" class="node-sub">team lead — decides</text>+ <text x="325" y="522" text-anchor="middle" class="node-sub">who handles what</text>++ <path d="M 175 469 L 240 487" class="conn-flow-2" marker-end="url(#arr-cyan)"/>+ <path d="M 175 519 L 240 505" class="conn-flow-2" marker-end="url(#arr-cyan)"/>++ <!-- Zeenie's own Memory + Skills -->+ <rect x="245" y="545" width="78" height="26" class="node-box node-helper" rx="5"/>+ <text x="284" y="562" text-anchor="middle" class="node-sub">🧠 Memory</text>++ <rect x="327" y="545" width="78" height="26" class="node-box node-helper" rx="5"/>+ <text x="366" y="562" text-anchor="middle" class="node-sub">📚 Skills</text>++ <path d="M 290 527 L 284 545" class="conn-dotted"/>+ <path d="M 360 527 L 366 545" class="conn-dotted"/>++ <!-- Delegation arrow to specialists -->+ <text x="465" y="497" class="label-italic">delegates to →</text>++ <!-- Five specialists in a column -->+ <rect x="555" y="395" width="220" height="48" class="node-box node-agent-2" rx="8"/>+ <text x="665" y="414" text-anchor="middle" class="node-txt">💻 Coding Agent</text>+ <text x="665" y="430" text-anchor="middle" class="node-sub">files · shell · Python · processes</text>++ <rect x="555" y="450" width="220" height="48" class="node-box node-agent-2" rx="8"/>+ <text x="665" y="469" text-anchor="middle" class="node-txt">📧 Productivity Agent</text>+ <text x="665" y="485" text-anchor="middle" class="node-sub">Gmail · Calendar · Drive · Sheets</text>++ <rect x="555" y="505" width="220" height="48" class="node-box node-agent-2" rx="8"/>+ <text x="665" y="524" text-anchor="middle" class="node-txt">🗺 Travel Agent</text>+ <text x="665" y="540" text-anchor="middle" class="node-sub">Maps · geocoding · nearby places</text>++ <rect x="555" y="560" width="220" height="48" class="node-box node-agent-2" rx="8"/>+ <text x="665" y="579" text-anchor="middle" class="node-txt">🌐 Web Agent</text>+ <text x="665" y="595" text-anchor="middle" class="node-sub">browser · HTTP · web search</text>++ <rect x="555" y="615" width="220" height="48" class="node-box node-agent-2" rx="8"/>+ <text x="665" y="634" text-anchor="middle" class="node-txt">💬 Social Agent</text>+ <text x="665" y="650" text-anchor="middle" class="node-sub">Twitter · WhatsApp</text>++ <!-- Delegate connections -->+ <path d="M 410 480 Q 480 480 480 419 L 555 419" class="conn-delegate" marker-end="url(#arr-cyan)"/>+ <path d="M 410 490 Q 490 490 490 474 L 555 474" class="conn-delegate" marker-end="url(#arr-cyan)"/>+ <path d="M 410 500 L 555 529" class="conn-delegate" marker-end="url(#arr-cyan)"/>+ <path d="M 410 510 Q 490 510 490 584 L 555 584" class="conn-delegate" marker-end="url(#arr-cyan)"/>+ <path d="M 410 520 Q 480 520 480 639 L 555 639" class="conn-delegate" marker-end="url(#arr-cyan)"/>++ <!-- Note on isolation -->+ <text x="785" y="430" class="label-italic">each has its own</text>+ <text x="785" y="445" class="label-italic">memory · skills · tools</text>++ <!-- Outputs (right side) -->+ <rect x="830" y="540" width="180" height="38" class="node-box node-output" rx="8"/>+ <text x="920" y="558" text-anchor="middle" class="node-txt">📤 Telegram</text>+ <text x="920" y="572" text-anchor="middle" class="node-sub">reply to user</text>++ <rect x="830" y="585" width="180" height="38" class="node-box node-output" rx="8"/>+ <text x="920" y="603" text-anchor="middle" class="node-txt">📝 Console</text>+ <text x="920" y="617" text-anchor="middle" class="node-sub">per-agent logs</text>++ <!-- Use this when -->+ <text x="58" y="678" class="row-use">USE WHEN:</text>+ <text x="155" y="678" class="row-desc">You want one chat that handles everything — and each domain has a specialist that's actually good at it.</text>++ <!-- ============================================================ -->+ <!-- WORKFLOW 3: CLAUDE ASSISTANT -->+ <!-- ============================================================ -->+ <rect x="30" y="720" width="1040" height="240" class="row-card row-3"/>+ <circle cx="58" cy="748" r="14" class="num-bg-3"/>+ <text x="58" y="753" text-anchor="middle" class="num-txt">3</text>+ <text x="84" y="748" class="row-title">Claude Assistant</text>+ <text x="84" y="765" class="row-tag">15 nodes · Anthropic's Claude Code in a workflow, sessions persist across days</text>++ <!-- Triggers (left) -->+ <rect x="50" y="810" width="120" height="38" class="node-box node-trigger" rx="8"/>+ <text x="110" y="828" text-anchor="middle" class="node-txt">💬 Chat</text>+ <text x="110" y="842" text-anchor="middle" class="node-sub">in-app panel</text>++ <rect x="50" y="862" width="120" height="38" class="node-box node-trigger" rx="8"/>+ <text x="110" y="880" text-anchor="middle" class="node-txt">📱 Telegram</text>+ <text x="110" y="894" text-anchor="middle" class="node-sub">incoming message</text>++ <!-- Claude Code center -->+ <rect x="280" y="825" width="160" height="60" class="node-box node-agent-3" rx="10"/>+ <text x="360" y="850" text-anchor="middle" class="node-txt" style="font-size: 14px;">🧠 Claude Code</text>+ <text x="360" y="870" text-anchor="middle" class="node-sub">session-persistent CLI</text>++ <path d="M 175 829 L 280 845" class="conn-flow-3" marker-end="url(#arr-green)"/>+ <path d="M 175 881 L 280 865" class="conn-flow-3" marker-end="url(#arr-green)"/>++ <!-- Memory + Skills below -->+ <rect x="270" y="908" width="80" height="28" class="node-box node-helper" rx="5"/>+ <text x="310" y="926" text-anchor="middle" class="node-sub">🧠 Memory</text>++ <rect x="365" y="908" width="80" height="28" class="node-box node-helper" rx="5"/>+ <text x="405" y="926" text-anchor="middle" class="node-sub">📚 Skills</text>++ <path d="M 320 885 L 310 908" class="conn-dotted"/>+ <path d="M 400 885 L 405 908" class="conn-dotted"/>++ <!-- Tools cluster -->+ <rect x="490" y="800" width="280" height="120" class="node-box" rx="10" style="fill: #fafafa; stroke: #d1d5db;"/>+ <text x="630" y="820" text-anchor="middle" class="node-txt" style="fill: #6b7280;">🔧 Coding Toolbox</text>++ <rect x="500" y="830" width="84" height="22" class="node-tool" rx="5"/>+ <text x="542" y="845" text-anchor="middle" class="node-sub">📄 Files</text>++ <rect x="592" y="830" width="84" height="22" class="node-tool" rx="5"/>+ <text x="634" y="845" text-anchor="middle" class="node-sub">🔎 FS Search</text>++ <rect x="684" y="830" width="84" height="22" class="node-tool" rx="5"/>+ <text x="726" y="845" text-anchor="middle" class="node-sub">💻 Shell</text>++ <rect x="500" y="858" width="84" height="22" class="node-tool" rx="5"/>+ <text x="542" y="873" text-anchor="middle" class="node-sub">⚙ Processes</text>++ <rect x="592" y="858" width="84" height="22" class="node-tool" rx="5"/>+ <text x="634" y="873" text-anchor="middle" class="node-sub">🌐 Browser</text>++ <rect x="684" y="858" width="84" height="22" class="node-tool" rx="5"/>+ <text x="726" y="873" text-anchor="middle" class="node-sub">🔍 Search</text>++ <rect x="592" y="886" width="84" height="22" class="node-tool" rx="5"/>+ <text x="634" y="901" text-anchor="middle" class="node-sub">📋 Todos</text>++ <path d="M 440 855 L 490 855" class="conn-flow-3" marker-end="url(#arr-green)"/>++ <!-- Outputs -->+ <rect x="830" y="810" width="180" height="38" class="node-box node-output" rx="8"/>+ <text x="920" y="828" text-anchor="middle" class="node-txt">📤 Telegram Send</text>+ <text x="920" y="842" text-anchor="middle" class="node-sub">reply to user</text>++ <rect x="830" y="862" width="180" height="38" class="node-box node-output" rx="8"/>+ <text x="920" y="880" text-anchor="middle" class="node-txt">📝 Console</text>+ <text x="920" y="894" text-anchor="middle" class="node-sub">live log in UI</text>++ <path d="M 770 829 L 830 829" class="conn-flow-3" marker-end="url(#arr-green)"/>+ <path d="M 770 881 L 830 881" class="conn-flow-3" marker-end="url(#arr-green)"/>++ <!-- Use this when -->+ <text x="58" y="945" class="row-use">USE WHEN:</text>+ <text x="155" y="945" class="row-desc">Your AI needs to actually ship code — refactor, build features, debug — across sessions that persist.</text>++ <!-- Footer note -->+ <text x="550" y="995" text-anchor="middle" class="label-italic" style="font-size: 12px;">All three are real .json files in the /workflows folder. Open them in the canvas, edit anything, save as your own.</text>++</svg>diff --git a/docs/diagrams/how-it-works.svg b/docs/diagrams/how-it-works.svgnew file mode 100644index 00000000..cbeeb18d--- /dev/null+++ b/docs/diagrams/how-it-works.svg@@ -0,0 +1,194 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1100 620" width="100%" preserveAspectRatio="xMidYMid meet" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif">+ <defs>+ <marker id="arrow-flow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">+ <path d="M0,0 L10,5 L0,10 z" fill="#6b7280"/>+ </marker>+ <style>+ .bg { fill: #fafafa; }+ .step-card-accent { fill: #ffffff; stroke-width: 3; rx: 12; }+ .accent-1 { stroke: #8b5cf6; }+ .accent-2 { stroke: #06b6d4; }+ .accent-3 { stroke: #10b981; }+ .accent-4 { stroke: #f59e0b; }+ .step-num { fill: #ffffff; font-size: 14px; font-weight: 700; }+ .step-num-bg-1 { fill: #8b5cf6; }+ .step-num-bg-2 { fill: #06b6d4; }+ .step-num-bg-3 { fill: #10b981; }+ .step-num-bg-4 { fill: #f59e0b; }+ .step-title { fill: #111827; font-size: 17px; font-weight: 700; }+ .step-desc { fill: #4b5563; font-size: 13px; }+ .header { fill: #111827; font-size: 22px; font-weight: 700; }+ .subheader { fill: #6b7280; font-size: 14px; }+ .footer-strip { fill: #1f2937; rx: 10; }+ .footer-text { fill: #f9fafb; font-size: 15px; font-weight: 600; }+ .footer-sub { fill: #d1d5db; font-size: 12px; }+ .flow-arrow { stroke: #9ca3af; stroke-width: 2.5; fill: none; stroke-linecap: round; }+ .node-mini { fill: #f3f4f6; stroke: #d1d5db; stroke-width: 1.5; rx: 6; }+ .node-mini-text { fill: #374151; font-size: 11px; font-weight: 600; }+ .node-trigger-mini { fill: #fef3c7; stroke: #f59e0b; }+ .node-agent-mini { fill: #ede9fe; stroke: #8b5cf6; stroke-width: 2; }+ .node-output-mini { fill: #e0f2fe; stroke: #0284c7; }+ .integration-pill { fill: #f9fafb; stroke: #e5e7eb; stroke-width: 1.5; rx: 14; }+ .integration-text { fill: #374151; font-size: 12px; font-weight: 500; }+ .badge { fill: #ede9fe; stroke: #8b5cf6; stroke-width: 1.5; rx: 6; }+ .badge-text { fill: #6d28d9; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; }+ .dashed-conn { stroke: #06b6d4; stroke-width: 1.5; stroke-dasharray: 3,2; fill: none; }+ </style>+ </defs>++ <rect width="1100" height="620" class="bg"/>++ <!-- Header -->+ <text x="550" y="40" text-anchor="middle" class="header">How MachinaOS Works</text>+ <text x="550" y="62" text-anchor="middle" class="subheader">Build AI workflows visually. Connect them to your apps. Run everything on your own computer.</text>++ <!-- ============ STEP 1: YOU PICK NODES ============ -->+ <rect x="40" y="100" width="240" height="200" class="step-card-accent accent-1"/>+ <circle cx="68" cy="128" r="14" class="step-num-bg-1"/>+ <text x="68" y="133" text-anchor="middle" class="step-num">1</text>+ <text x="92" y="133" class="step-title">Pick from 100+ nodes</text>++ <rect x="60" y="155" width="200" height="22" class="node-mini"/>+ <text x="70" y="170" class="node-mini-text">🤖 AI Agent</text>++ <rect x="60" y="183" width="200" height="22" class="node-mini"/>+ <text x="70" y="198" class="node-mini-text">💬 Chat Trigger</text>++ <rect x="60" y="211" width="200" height="22" class="node-mini"/>+ <text x="70" y="226" class="node-mini-text">📱 Telegram</text>++ <rect x="60" y="239" width="200" height="22" class="node-mini"/>+ <text x="70" y="254" class="node-mini-text">📧 Gmail</text>++ <rect x="60" y="267" width="200" height="22" class="node-mini"/>+ <text x="70" y="282" class="node-mini-text">+ many more...</text>++ <!-- Arrow 1 → 2 -->+ <path d="M 290 200 L 360 200" class="flow-arrow" marker-end="url(#arrow-flow)"/>++ <!-- ============ STEP 2: DRAG & CONNECT ============ -->+ <rect x="370" y="100" width="360" height="200" class="step-card-accent accent-2"/>+ <circle cx="398" cy="128" r="14" class="step-num-bg-2"/>+ <text x="398" y="133" text-anchor="middle" class="step-num">2</text>+ <text x="422" y="133" class="step-title">Drag and connect them</text>++ <!-- Mini canvas — matches the actual default-workflow shape: trigger → agent → reply -->+ <rect x="390" y="160" width="92" height="42" class="node-mini node-trigger-mini" rx="8"/>+ <text x="436" y="178" text-anchor="middle" class="node-mini-text">💬 Chat</text>+ <text x="436" y="194" text-anchor="middle" class="node-mini-text" style="font-size: 9px; fill: #6b7280;">trigger</text>++ <rect x="515" y="160" width="100" height="42" class="node-mini node-agent-mini" rx="8"/>+ <text x="565" y="178" text-anchor="middle" class="node-mini-text">🤖 AI Agent</text>+ <text x="565" y="194" text-anchor="middle" class="node-mini-text" style="font-size: 9px; fill: #6b7280;">thinks + acts</text>++ <rect x="648" y="160" width="72" height="42" class="node-mini node-output-mini" rx="8"/>+ <text x="684" y="178" text-anchor="middle" class="node-mini-text">📤 Reply</text>+ <text x="684" y="194" text-anchor="middle" class="node-mini-text" style="font-size: 9px; fill: #6b7280;">output</text>++ <path d="M 482 181 L 515 181" class="flow-arrow" marker-end="url(#arrow-flow)"/>+ <path d="M 615 181 L 648 181" class="flow-arrow" marker-end="url(#arrow-flow)"/>++ <!-- Memory + Skills + Tool attached underneath the agent (matches default workflow shape) -->+ <rect x="430" y="220" width="80" height="22" class="node-mini" rx="6" style="fill: #f0fdfa; stroke: #06b6d4;"/>+ <text x="470" y="235" text-anchor="middle" class="node-mini-text" style="fill: #0e7490;">🧠 Memory</text>++ <rect x="520" y="220" width="80" height="22" class="node-mini" rx="6" style="fill: #f0fdfa; stroke: #06b6d4;"/>+ <text x="560" y="235" text-anchor="middle" class="node-mini-text" style="fill: #0e7490;">📚 Skill</text>++ <rect x="610" y="220" width="80" height="22" class="node-mini" rx="6" style="fill: #f0fdfa; stroke: #06b6d4;"/>+ <text x="650" y="235" text-anchor="middle" class="node-mini-text" style="fill: #0e7490;">🔧 Tool</text>++ <path d="M 545 202 L 470 220" class="dashed-conn"/>+ <path d="M 565 202 L 560 220" class="dashed-conn"/>+ <path d="M 590 202 L 650 220" class="dashed-conn"/>++ <text x="550" y="265" text-anchor="middle" class="step-desc">Memory remembers · Skills teach · Tools extend</text>+ <text x="550" y="285" text-anchor="middle" class="step-desc" style="font-style: italic; fill: #6b7280;">This is the shape of every default workflow.</text>++ <!-- Arrow 2 → 3 -->+ <path d="M 740 200 L 810 200" class="flow-arrow" marker-end="url(#arrow-flow)"/>++ <!-- ============ STEP 3: AI RUNS IT ============ -->+ <rect x="820" y="100" width="240" height="200" class="step-card-accent accent-3"/>+ <circle cx="848" cy="128" r="14" class="step-num-bg-3"/>+ <text x="848" y="133" text-anchor="middle" class="step-num">3</text>+ <text x="872" y="133" class="step-title">AI runs it for you</text>++ <text x="940" y="170" text-anchor="middle" class="step-desc">Click Play, or...</text>++ <rect x="850" y="185" width="180" height="30" class="badge"/>+ <text x="940" y="204" text-anchor="middle" class="badge-text">DEPLOY ON A SCHEDULE</text>++ <rect x="850" y="223" width="180" height="30" class="badge"/>+ <text x="940" y="242" text-anchor="middle" class="badge-text">TRIGGER ON AN EVENT</text>++ <rect x="850" y="261" width="180" height="30" class="badge"/>+ <text x="940" y="280" text-anchor="middle" class="badge-text">RESPOND IN REAL TIME</text>++ <!-- ============ STEP 4: CONNECTED APPS ============ -->+ <rect x="40" y="340" width="1020" height="180" class="step-card-accent accent-4"/>+ <circle cx="68" cy="368" r="14" class="step-num-bg-4"/>+ <text x="68" y="373" text-anchor="middle" class="step-num">4</text>+ <text x="92" y="373" class="step-title">Connect to the apps you already use</text>++ <!-- Row 1 of pills -->+ <rect x="60" y="395" width="90" height="28" class="integration-pill"/>+ <text x="105" y="414" text-anchor="middle" class="integration-text">📧 Gmail</text>++ <rect x="160" y="395" width="100" height="28" class="integration-pill"/>+ <text x="210" y="414" text-anchor="middle" class="integration-text">📅 Calendar</text>++ <rect x="270" y="395" width="80" height="28" class="integration-pill"/>+ <text x="310" y="414" text-anchor="middle" class="integration-text">📁 Drive</text>++ <rect x="360" y="395" width="90" height="28" class="integration-pill"/>+ <text x="405" y="414" text-anchor="middle" class="integration-text">📊 Sheets</text>++ <rect x="460" y="395" width="110" height="28" class="integration-pill"/>+ <text x="515" y="414" text-anchor="middle" class="integration-text">📱 WhatsApp</text>++ <rect x="580" y="395" width="100" height="28" class="integration-pill"/>+ <text x="630" y="414" text-anchor="middle" class="integration-text">💬 Telegram</text>++ <rect x="690" y="395" width="100" height="28" class="integration-pill"/>+ <text x="740" y="414" text-anchor="middle" class="integration-text">𝕏 Twitter</text>++ <rect x="800" y="395" width="110" height="28" class="integration-pill"/>+ <text x="855" y="414" text-anchor="middle" class="integration-text">📞 Your Phone</text>++ <rect x="920" y="395" width="120" height="28" class="integration-pill"/>+ <text x="980" y="414" text-anchor="middle" class="integration-text">💳 Stripe</text>++ <!-- Row 2 of pills -->+ <rect x="60" y="430" width="120" height="28" class="integration-pill"/>+ <text x="120" y="449" text-anchor="middle" class="integration-text">🌐 Web Browser</text>++ <rect x="190" y="430" width="120" height="28" class="integration-pill"/>+ <text x="250" y="449" text-anchor="middle" class="integration-text">🔍 Web Search</text>++ <rect x="320" y="430" width="130" height="28" class="integration-pill"/>+ <text x="385" y="449" text-anchor="middle" class="integration-text">🕷 Web Scraping</text>++ <rect x="460" y="430" width="110" height="28" class="integration-pill"/>+ <text x="515" y="449" text-anchor="middle" class="integration-text">📄 PDF / Docs</text>++ <rect x="580" y="430" width="100" height="28" class="integration-pill"/>+ <text x="630" y="449" text-anchor="middle" class="integration-text">💻 Python</text>++ <rect x="690" y="430" width="120" height="28" class="integration-pill"/>+ <text x="750" y="449" text-anchor="middle" class="integration-text">⚡ JavaScript</text>++ <rect x="820" y="430" width="80" height="28" class="integration-pill"/>+ <text x="860" y="449" text-anchor="middle" class="integration-text">📨 Email</text>++ <rect x="910" y="430" width="130" height="28" class="integration-pill"/>+ <text x="975" y="449" text-anchor="middle" class="integration-text">⏰ Cron / Timers</text>++ <text x="550" y="490" text-anchor="middle" class="step-desc">+ residential proxies, Apify scrapers, Maps, document RAG, and more</text>++ <!-- ============ FOOTER STRIP ============ -->+ <rect x="40" y="540" width="1020" height="60" class="footer-strip"/>+ <text x="550" y="568" text-anchor="middle" class="footer-text">🏠 Everything runs on your computer</text>+ <text x="550" y="588" text-anchor="middle" class="footer-sub">Your API keys, your data, your conversations — never sent to MachinaOS servers. Free local AI via Ollama and LM Studio.</text>++</svg>