Mastodon Politics, Power, and Science: OpenClaw
Showing posts with label OpenClaw. Show all posts
Showing posts with label OpenClaw. Show all posts

Thursday, November 26, 2026

Blog Post Plan: Building a Tiered AI Agent Stack on a Budget (Without Burning Through Weekly Quotas)

J. Rogers, SE Ohio

The Main Ideas:
  • Stop Using One Giant Model for Everything: How to Build a 3-Tier AI Agent Stack for $50/Month
  • Routing Intelligence Like a State Machine: Running OpenClaw Across Frontier Subscriptions and Local ARM64 Silicon
  • The Hub-and-Spoke AI Workstation: Pairing Frontier Planners with Cheap Sub-Agents on Linux

1. The Hook: The Single-Model Bottleneck
  • The Problem: Most people run their AI workflows through a single flagship model. If you use a heavy reasoning model for everything—from high-level architecture down to file formatting and background heartbeats—you blow through a $20/month weekly subscription cap in four or five days.
  • The Flip Side: Trying to run an entire autonomous agent gateway (like OpenClaw) purely on a small local model fails in the opposite direction—local 8B models choke on multi-turn planning, tool routing, and complex state tracking.
  • The Thesis: Treat AI routing the exact same way you design any good distributed system or state engine: separate high-level orchestration from low-level execution, and assign each task to the least expensive model capable of handling that specific chart.

2. The Architecture: A 3-Tier Hub-and-Spoke Stack ($50/Month Total)
Introduce the visual mental model of a tiered router running on a daily-driver ARM64 Linux laptop (Dell Latitude 7455 / Snapdragon X Elite running Omarchy):
  • Tier 1 — The Strategic Hub (Low Volume, Peak Reasoning):
    • Role: High-level planning, breaking complex problems into bounded sub-tasks, and reviewing final outputs.
    • Model: Claude Fable 5.2 (via a $20/mo Claude Pro subscription).
    • Why it lasts: Because it only writes compact plans and dispatches work rather than grinding through raw logs or boilerplate code, its strict weekly quota stretches effortlessly across all 7 days.
  • Tier 2 — Specialized Mid-Tier Sub-Agents (Medium Volume, Domain-Tuned):
    • Role: Executing scoped work based on what each model family actually excels at, drawing from two separate quota pools so neither hits a wall:
      • The Precision Coder/Writer (Sonnet 5.5 on Claude Pro): Handles structured JSON schemas, code refactoring, and formal derivations at a fraction of Fable’s quota weight.
      • The Live Researcher (Grok 4.7 / 4.3 on a $30/mo SuperGrok plan): Handles real-time web/X lookups, broad fact gathering, and parallel second-opinion checks on an independent subscription bucket.
  • Tier 3 — Local ARM64 Workers (High Volume, Zero Cloud Cost):
    • Role: Background heartbeats, log parsing, markdown formatting, embeddings, and offline fallbacks.
    • Model: Lightweight quantized open-weight models (Qwen 3 / Gemma via ollama or llama.cpp) running directly on the Snapdragon X Elite's unified LPDDR5X memory.
    • Why it matters: Keeps 100% of background noise off your cloud meters.

3. Implementation Blueprint: How It Wires Together in OpenClaw
  • Include a clean, stripped-down openclaw.json snippet showing:
    • main defaulting to Fable 5.2 with an automatic fallback to Sonnet 5.5.
    • heartbeat and utilityModel pinned to ollama/qwen3:8b.
    • Named sub-agent entries (coder, researcher, worker) mapped to their respective providers.
  • Explain the Boundary Discipline: Just like a composable Game Description Language (GDL) passes only clean state variables between sub-games, the Tier 1 orchestrator passes tight, context-free task specs to Tier 2 and Tier 3—preventing bloated context windows from burning tokens.

4. The Bigger Takeaway: Economics and Systems Thinking
  • Escaping the $100–$200/Month Tier Trap: Why two complementary $20–$30 subscriptions + local silicon outperform a single expensive monolithic plan—giving you redundancy, best-of-breed specialization, and zero single-vendor lock-in.
  • Connecting Back to the Core Theme: Intelligence isn't a single monolithic substance; it's a routing problem. When you match the resolution of the model to the complexity of the state transition, both your hardware and your budget run cool.

5. Call to Action / Reader Prompt
  • How does everyone split tasks between cloud APIs/subscriptions and local models? I will be following-up with a post sharing my exact AGENTS.md routing rules and weekly token burn numbers.

Debugging the Hexagon V73 NPU on Snapdragon X Elite (X1E80100) Linux

J. Rogers, SE Ohio Getting the Qualcomm Hexagon V73 NPU running on mainline Linux on a commercial Snapdragon X Elite laptop (Dell Latitude 7...