Chapter I

AI agent stack

Multi-model orchestration. One orchestrator, many models, escalation lanes, and a multi-vendor worker fleet behind it. Most of these guides assume OpenClaw as the agent framework, but the patterns generalize. The worker layer (Brigade roster seats and T3 Code delegated tasks) is described in multi-model-orchestration.md and sub-agent-patterns.md.

Browser Chromium lane

Not every useful model path is an API.

This stack also uses a dedicated Chromium lane for browser-native AI workflows where logged-in sessions matter more than clean API abstractions. That includes things like:

The pattern is covered in browser-llm-stack.md:

This matters because some of the highest-value agent workflows still live behind browser auth, subscription entitlements, or UI-only features. If your stack ignores that reality, you end up designing around an imaginary clean-room API world.

🦞 Per-guide format lives in ../automation/cron-patterns.md.

Recipes in this chapter

Browser LLM Stack

Browser-native model work without pretending every useful workflow has a clean API.

Updated 2026-10-17

Claude Code via tmux Relay

How to let OpenClaw drive Claude Code through an interactive tmux session, both for second-opinion review and for scripted one-shot calls, keeping Claude in its first-party harness rather than…

Updated 2026-10-17

Compaction & Context Tuning

How to configure OpenClaw's compaction, memory flush, context pruning, and session search so your agent doesn't lose its mind (or personality) during long sessions.

Updated 2026-10-17

Local LLM Fallback

Use local models for boring, bounded work so your paid models stay available for judgment.

Updated 2026-10-17

Migrating from claude-cli to ACP

How to move Claude off the main-agent slot and onto an ACP escalation path after Anthropic blocked subscription OAuth from third-party harnesses in April 2026, and what the claude-cli runtime looks…

Updated 2026-10-17

Model Retirement and Fallbacks

When a model id is retired or an alias changes, a long-lived agent stack with dozens of cron jobs and several agents can break silently. This is the playbook for finding every place a model id hides,…

Updated 2026-10-17

Multi-Model Orchestration

How to run multiple AI models in one OpenClaw setup, assign each to the right task tier, and stop burning expensive tokens on work that doesn't need them.

Updated 2026-10-17

OAuth and Token Lifecycle for a Multi-Provider Agent Stack

A long-lived agent stack runs on subscription OAuth, not API keys, and the recurring pain is not auth setup. It is token lifecycle: rotation, per-agent state, fallback, and the silent failures that…

Updated 2026-10-17

Orchestrating with GPT 6.1 Sol: Execution Contract, Narration Guards, and Silent Loops

Running a Codex-subscription model as your main orchestrator is cheap and fast compared to frontier API billing, but it has specific failure modes that quietly eat hours until you know to guard…

Updated 2026-10-17

Prompt Caching: Maximize Cache Hits, Minimize Token Costs

How OpenClaw's prompt caching works across providers, how to keep your cache hit rate high, and the anti-patterns that silently cost you money every turn.

Updated 2026-10-17

Running Claude Code in OpenClaw via ACP

In April 2026, Anthropic stopped accepting subscription OAuth from third-party harnesses. The anthropic:claude-cli backend that many OpenClaw users had plugged a Max subscription into stopped working…

Updated 2026-10-17

Self-Improving Agents

How to build an AI agent that learns from corrections, captures mistakes as institutional knowledge, runs automated memory sweeps, and gets better over time instead of repeating the same errors.

Updated 2026-10-17

Session Management: Why Your Chat App Is Holding You Back

How to manage OpenClaw sessions effectively using Discord (or similar channel-based platforms) instead of single-thread messaging apps. The difference between productive multi-project orchestration…

Updated 2026-10-17

Skills Development

How to write custom OpenClaw skills, structure them for discoverability, and extend your agent's capabilities with reusable task-specific instructions.

Updated 2026-10-17

Sub-Agent Patterns: Orchestration, Spawning, and Gotchas

How to use OpenClaw sub-agents effectively. Spawn patterns, model assignment, error handling, and the lessons we learned from breaking things.

Updated 2026-10-17