Multi-Machine Deployment Architecture
Production agents need dedicated hardware. Here's the architecture pattern.
Why Two Machines?
| Problem |
Single Machine |
Two Machines |
| Browser automation crashes |
Takes down your agent |
Isolated on worker โ agent stays up |
| Video rendering pegs CPU |
Blocks all other tasks |
Offloaded to worker with FFmpeg |
| Social publishing failures |
Can't post anywhere |
Worker node runs Postiz independently |
| Memory pressure |
LLM + browser + video = OOM |
LLM on primary, everything else on worker |
Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ PRIMARY COMPUTE NODE โ
โ OS: Linux ยท GPU: NVIDIA โ
โ โ
โ Services: โ
โ โโโ Hermes Gateway (production instance) โ
โ โโโ Production crons (multi-category scheduling) โ
โ โโโ Session memory (peer context sharing) โ
โ โโโ Business tool connectors (MCP) โ
โ โโโ Knowledge graph (vector search) โ
โ โโโ Cross-session context store โ
โ โโโ Ollama (local embeddings, lightweight inference) โ
โ โโโ LLM provider (primary inference via API) โ
โ โ
โ Model Routing: โ
โ โโโ Lightweight: daily ops, monitoring โ
โ โโโ Mid-tier: research, content, coding โ
โ โโโ Heavy: strategy, complex analysis โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
SSH (key-based auth)
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ WORKER NODE (macOS, ARM64) โ
โ OS: macOS (ARM64) โ
โ โ
โ Services: โ
โ โโโ Postiz CLI (social publishing โ X, LinkedIn, TikTok, IG) โ
โ โโโ Playwright (browser automation, stealth) โ
โ โโโ FFmpeg (video post-production) โ
โ โโโ patchright (Cloudflare bypass) โ
โ โโโ Content pipelines (video, docs, media) โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Node Pages
Key Decisions
- Two machines beat one big one. Isolation between inference and browser/video workloads prevents cascade failures.
- Primary node never runs browsers. Browsers leak memory and crash; keep them off the inference box.
- Worker node handles all external publishing. Social APIs, browser automation, and media processing live on the worker.
- SSH key auth between nodes. Agent-to-agent automation needs key-based SSH, never passwords.
All Pages