g3ddy
AI Tooling and Infrastructure13 min · 25 Oct 2026

LLMs, agents & harnesses: platforms, products and setups

The model is one line in a stack. Everything that makes it reliable — context, tools, memory, verification — is the harness, and that's where 2026's real work went.

Geddy
Geddy
AI Transformation • Full-stack Product Engineering • Leadership
0:00
A layered stack diagram showing a model at the base surrounded by tools, memory, and verification forming the harness

AI-generated content. This article was generated by AI from material I collected and may not be fully reviewed by me. It may contain errors — verify anything you rely on. More in the disclaimer.

TL;DR30 sec
  • Three disciplines get conflated constantly: prompt engineering (the message), context engineering (what the model sees), and harness engineering (the system around it — gather, curate, call, verify, retry). When an AI pilot dies in production, the harness was usually never built.
  • Closed frontier models (Claude Opus/Fable, GPT-5.x, Gemini, Grok) still lead on hard reasoning, but open weights (Qwen, DeepSeek, Kimi, GLM, Gemma, Nemotron) now sit close behind at a fraction of the cost — GLM-5 claimed ~97% of Opus 4.5 at ~14% of the price.
  • Local inference stopped being a toy: MoE + disk-streamed experts let trillion-parameter models (Kimi K3, GLM-5.2) run on 8–25GB RAM, and 27B dense models (Qwen3.8) match last year's frontier on a MacBook.
  • Agent frameworks converged on one shape almost everywhere: plan → filesystem access → subagent delegation → human-in-the-loop → persistent memory. LangGraph/Deep Agents, DeepSeek Harness, Hermes Agent and Goose all describe themselves this way nearly verbatim.
  • Claude Code is the reference harness people extend: CLAUDE.md + skills + subagents + hooks + MCP, with community mega-repos (ECC, claude-code-best-practice) bolting on 60+ subagents and 250+ skills.
  • Cost is now a routing problem, not just a model choice: gateways send cheap models to bulk work and expensive ones to hard reasoning (Spotify's router saves ~90% on bulk reads), and context-compression tools (Headroom, Graft) cut tokens 40–95% without touching the model.
  • Governance caught up to capability: constitution files, trust ledgers, permission isolation, and auditable decision trails are now the standard advice before letting any agent run unattended.

The model is one line in a stack; everything that turns it into something reliable — context, tools, memory, verification, routing — is the harness, and that's where most of 2026's real engineering has moved. This is a map: the vocabulary, a model roundup (closed and open), the frameworks people actually ship, local-inference options for a Mac, the platforms building on top, and concrete setups worth building.

1. Concepts in one screen

  • Harness engineering — the machine around the model: gather input → curate context → call the LLM → run tools → verify output → retry with updated context. This is what ships; the prompt alone doesn't.
  • Context engineering — deciding what the model gets to see this turn (query, retrieved docs, memory, prior turns, tool output) and what to drop before the window fills. Get this wrong and even a perfect prompt fails.
  • Agent loop — plan → act (tool call) → observe → reflect/replan, repeated until done or blocked. Production versions add a written TODO/plan file and human-approval checkpoints on risky steps.
  • Tools / MCP — Model Context Protocol standardizes how a model discovers and calls external tools and data at runtime; A2A does the equivalent for agent-to-agent delegation (agents publish "cards" advertising skills).
  • Memory — short-term (the context window itself), session (captured tool calls, resurfaced next session), and long-term/shared (vector or temporal-graph stores, persona files like SOUL.md) that survive restarts.
  • Evals — automated scoring so "better model" claims are measurable: RAG quality tools (Giskard, Ragas, Trulens) and coding-agent benchmarks (SWE-bench, Terminal-Bench) instead of vibes.
  • Guardrails — policy/permission layers that block or gate risky actions (secrets, destructive commands, prompt injection, PII) before or after the model acts, plus audit logs for regulated use.
  • Routing / gateways — one control layer in front of many models: pick the cheapest capable model per request, track cost and rate limits, fail over automatically.

2. Models

Model What Good for Run where
Claude (Opus/Sonnet, Fable 5 / Mythos 5) Anthropic's closed frontier family; Opus for deep reasoning, Sonnet for cost/speed balance, Fable 5 the safety-gated top tier Agentic coding, long independent runs, enterprise deployment API (Claude API / Bedrock / Vertex)
GPT (OpenAI, GPT-5.x / GPT-6) Closed frontier; Instant/Thinking/Pro modes, largest third-party tool and integration ecosystem Broad tool ecosystem, multimodal, agentic worker that checks its own work API (ChatGPT / Codex)
Gemini (Google) Closed, deeply wired into Search and Workspace, best speed-to-intelligence ratio on the market Fast agentic tasks, default assistant across Google products API / Vertex AI
Grok (xAI) Closed, 1M-token context, live X/web data, fastest release cadence Real-time/current-events tasks, agent skills and connectors API / Grok apps
Qwen (Alibaba, 3.5 / 3.6 / 3.8-27B) Open weights, MoE efficiency, near-frontier quality at 27B dense or ~35B MoE Local agentic coding, fine-tuning, private inference Local (Ollama/llama.cpp/MLX/vLLM) or API
DeepSeek (V3 / V4 / V4 Flash) Open-weight MoE, frontier-adjacent reasoning, trained partly on non-NVIDIA chips Cheap high-volume inference, coding Local (llama.cpp, DS4) or API (Together etc.)
Kimi (Moonshot AI, K2.5 / K2.6 / K3) Open, trillion-parameter MoE, top-ranked on several agentic/coding leaderboards Long-horizon agentic work, frontend coding, budget-conscious high-volume use Local (extreme quantized engines exist) or API
GLM (Z.ai, GLM-5 / 5.2) Open, 744B MoE (40B active), SOTA open agentic/coding, MIT-adjacent licensing Long-horizon coding and reasoning at open-source cost Local (2-bit via Unsloth) or API
Gemma (Google, 3 / 4 / 4 12B) Open, Apache 2.0, native audio+vision, built local-first Offline/private coding assistants on consumer hardware Local (Ollama/MLX/LM Studio/llama.cpp/vLLM/SGLang)
Nemotron (NVIDIA, 3 Super) Open, hybrid Mamba-Transformer MoE, 1M context, built for multi-agent swarms Running a fleet of agents on one GPU Local or API (NVIDIA Build)
Llama / Mistral Open baseline families, still common Ollama defaults and fine-tuning bases General local inference, RAG pipelines Local
MiniMax (M2.7 / M3 / H3) Mixed open/closed family; strong cost/performance audits, H3 is a video+audio diffusion model Budget agentic coding, on-device video/audio generation Local or API

3. Agent frameworks & harnesses

Name What Value
LangChain Foundational LLM-to-tools/data orchestration framework Most agent ecosystems in the wild still build on it
Deep Agents (LangGraph) MIT harness replicating Claude Code's architecture for any model: planning, filesystem, subagents, HITL, memory pip install deepagents, works with any tool-calling model, batteries included
CrewAI Role-based multi-agent orchestration Assemble a "crew" of agents per task without custom plumbing
Langflow Drag-and-drop agent/flow builder Prototype agent logic before committing to code
Dify Full-stack platform: prompts, APIs, deployment in one place Fastest path to a prod-ready AI app
Goose Open-source local agent (Block/Jack Dorsey), 15+ LLM providers, MCP-based extensions, Linux Foundation governed Vendor-neutral, runs locally, reuses your existing Claude/ChatGPT subscriptions
OpenClaw Personal AI agent that lives on your own hardware The reference "keep your agent and data local" baseline everything else compares to
Hermes Agent Self-improving local agent (Ollama-native), 70+ skills, cross-session memory, SOUL.md persona template, messaging integrations Always-on personal operator you text from Telegram/Slack/WhatsApp
DeepSeek Harness Fastest-growing OSS project ever (145K stars in 4 days); fully plug-in (model, tools, agent loop all swappable) Configure the agent instead of forking source; point it at any open model
Ruflo (formerly claude-flow) Turns Claude Code into 100+ coordinated, self-learning agents with cross-machine federated memory One npx init for swarm coordination + persistent learning
ECC (Everything Claude Code) 64 specialized subagents, 261 skills, 84 slash commands, cross-harness Biggest single community Claude Code setup; hackathon-proven
Spec Kit (GitHub) Forces spec → plan → tasks before code via 5 slash commands (/speckit.*) Agent-agnostic structure that keeps vibe-coded projects from falling apart
NOOA (NVIDIA) Agent-as-Python-object framework: fields=state, methods=tools, docstrings=prompts Familiar OOP mental model instead of separate prompt/tool/state abstractions
SIA (Self-Improving AI) Research framework where an agent rewrites its own scaffolding and weights after every run Demonstrated large gains (legal QA, GPU kernels) by tuning harness + weights + memory together
Feynman 4-agent terminal research system (researcher/reviewer/writer/verifier) Cited, verified research briefs; kills dead links automatically
Graft Persistent codebase map for coding agents ~46% fewer tool calls, ~42% fewer tokens, works with Claude Code/Cursor/Codex/Gemini
Browser Harness Unrestricted CDP-based browser control, self-healing (writes missing helper code mid-task) Drop-in for Claude Code/Codex when tasks need real browser control
claude-code-best-practice / Karpathy CLAUDE.md / Superpowers / claude-mem Community bundles of agents, commands, memory, hooks and skills on top of Claude Code Turns Claude Code from a chat window into a structured, autonomous dev environment

4. Local / self-hosted setups

Tool What
Ollama Easiest local model runner; one-line pull+run, native Anthropic-Messages-API compatibility
llama.cpp C/C++ inference, the standard for consumer-hardware/CPU inference, GGUF format
ik_llama.cpp (fork) CPU-optimized fork; +90% tok/s over mainline llama.cpp on a 32-core EPYC
vLLM High-throughput GPU serving, continuous batching; the industry default for scale
SGLang Fast serving with KV-cache reuse across requests
MLX Apple Silicon framework; run and fine-tune models natively on a Mac
LM Studio GUI local runner for GGUF models
Unsloth Fast fine-tuning plus Dynamic quantization (down to 1-bit) with accuracy retention benchmarks
TensorRT-LLM NVIDIA's inference compiler; top latency on NVIDIA GPUs, fiddlier setup
bitsandbytes 4/8-bit quantization, the backbone of QLoRA
llmfit Reads your RAM/CPU/GPU/VRAM and ranks which models actually fit and run well before you download them
direnv Per-project environment isolation for API keys and MCP server configs

Recommended local stack for a Mac dev

  • Ollama (or LM Studio) as the daily driver — pull Qwen3.8-27B for agentic coding and Gemma 4 12B Coder for fast/light edits, both usable in GGUF at 4-bit inside 16–32GB unified memory.
  • MLX for anything you want to fine-tune or run at native Apple Silicon speed instead of through GGUF.
  • Point Claude Code at the local server via ANTHROPIC_BASE_URL / ANTHROPIC_AUTH_TOKEN=ollama for offline work or when you hit usage limits; keep real Claude for architecture and hard debugging.
  • Run llmfit once before downloading a multi-GB checkpoint, so you know your real headroom.
  • Use direnv per project so MCP/API keys stop leaking across every session in ~/.zshrc.
  • Skip giant MoE models (GLM-5.2, Kimi K3) locally unless you have 128GB+ unified memory and patience for disk streaming — they're a novelty on a laptop, not a daily driver; use their APIs instead.

5. Platforms & products

Name What Value / notes
Claude Code Anthropic's agentic CLI coding tool: CLAUDE.md, skills, subagents, hooks, MCP The reference harness most of this list extends or plugs into
Claude Code Security Built-in 3-layer security review plugin (pattern match on edit, diff review per turn, commit validation), zero inference cost on the fast layer Reported ~30–40% reduction in security-related PR comments internally
Claude for Small Business Claude wired into QuickBooks, PayPal, HubSpot, Canva, DocuSign, Google Workspace, Microsoft 365 15 agentic workflows + 15 skills, human approval before money moves
ClaudeOS / Claude Commerce Agents Anthropic's push to become the OS layer across Code, Cowork, Design, Finance, Science, Commerce, Marketing Open-sourced shopping and merchant agents; no proprietary checkout protocol — plugs into Shopify instead
Cursor / Cursor Origin AI-native IDE plus its own AI-native code-hosting platform (agent-speed PRs/merges, real-time GitHub sync) Engineers increasingly manage dozens of parallel agents rather than writing every line
Codex (OpenAI) OpenAI's coding agent/CLI, alternative to Claude Code Team-reported cost/perf tradeoffs vary by task; worth benchmarking against Claude Code per workload
Perplexity Computer / Portable Computer Cloud multi-model orchestrator (19 models in parallel) vs. a local NVIDIA-DGX-Spark version Local variant does planning/scheduling/search on-device at zero token cost, escalates hard tasks to frontier APIs
Open Agents (Vercel) Open-source reference platform for an internal "AI software factory": Fluid, Workflow, Sandbox, AI Gateway Blueprint for why companies (Stripe, Ramp, Spotify, Block) build custom coding-agent infra instead of buying off-the-shelf
NVIDIA Build Free hosted access to 70+ open models via an OpenAI-compatible endpoint Swap between MiniMax/GLM/Kimi/DeepSeek/GPT-OSS without building custom infra
Apple Xcode MCP / XcodeBuildMCP First-party (Xcode 26.3) plus community MCP servers giving agents a real iOS toolchain Agents build/run/test in the real simulator instead of guessing APIs
Voicebox Open-source local voice cloning/TTS with a built-in MCP server Dictate commits/tickets/docs, or ship voice agents without a paid TTS API
Obscura Rust headless browser built for agents/scraping; anti-detection, drop-in Puppeteer/Playwright replacement 30MB RAM, 85ms loads, works as a straight binary swap in existing automation
GitHub Spec Kit Spec-driven workflow layer usable from any agent (Claude Code, Cursor, Copilot, Codex, Gemini CLI) 126K+ stars; forces structure before code across tools you already use
WebMCP / MCP / A2A The protocol layer: MCP connects software to models, A2A connects agents to agents, WebMCP lets websites publish agent-callable capabilities Read these three as the emerging "web for agents" stack, not competing standards
FreeLLMAPI OpenAI-compatible endpoint aggregating free tiers from 12 providers (Google, Groq, Mistral, Cerebras, SambaNova, GitHub Models, OpenRouter…) One API, automatic fallback and per-provider rate-limit handling

6. Reference setups

LLM gateway + router + cost tracking in Docker

  • Front Claude/GPT/Gemini/open models with a single OpenAI-compatible proxy; route cheap tasks (bulk file reads, boilerplate) to a small model and only escalate to frontier models for hard reasoning — Spotify's PreToolUse-hook router reports ~90% savings on bulk reads this way.
  • Add automatic failover to free-tier providers on rate limit or timeout (the FreeLLMAPI pattern: one endpoint, many backends).
  • Track spend per project/key; keep secrets out of ~/.zshrc and isolate them with direnv per repo.
  • Put a guardrail layer in front of the model: block secrets/PII, and strip client-sensitive data before it leaves the machine (the anonymization-proxy pattern used for pentest engagements applies broadly).
  • Log every routing decision so you can audit why a request went to which model and at what cost.

Research agent with MCP tools

  • Give the agent MCP servers for search, fetch and browser control (Obscura or Playwright-class tooling), plus a memory server.
  • Split roles like Feynman does: researcher (gather), reviewer (peer-review pass), writer (structured output), verifier (checks every citation and kills dead links).
  • Prefer two-stage retrieval (retrieve wide, rerank narrow) or a vectorless/tree-based approach over naive top-k RAG for dense professional documents.
  • Persist session findings (agentmemory/Claude-Mem-style capture) so re-runs don't start from zero context.
  • Schedule recurring watches on topics you track instead of re-running the whole pipeline manually.

Local coding-model fallback for Claude Code

  • Run Qwen3.8-27B or Gemma 4 12B Coder locally via Ollama/LM Studio/MLX, exposed as an OpenAI/Anthropic-compatible endpoint.
  • Point Claude Code at it with ANTHROPIC_BASE_URL/ANTHROPIC_AUTH_TOKEN=ollama when you hit usage caps, need to work offline, or want a zero-cost second opinion.
  • Or route automatically across 200+ free providers via an OmniRoute/Claudish-style wrapper so the session never actually stops when a limit hits.
  • Keep frontier Claude for architecture and hard debugging; use the local model for routine edits and boilerplate — mirrors the dual-model MacBook setup (fast small model for everyday coding, larger local model for harder reasoning).
  • Add Headroom or Graft regardless of backend to cut context/token overhead further.

Multi-agent orchestration harness for a solo operator

  • Structure it like unwind-ai: one "chief of staff" agent plus specialist agents, each with its own persona file (SOUL.md-style), a shared-context folder, and a daily memory log.
  • Write a constitution file (hard rules the model can't argue with, script-checkable) and a trust ledger before letting anything run unattended — earn autonomy over ~20 logged runs at a verified pass-rate threshold, not on day one.
  • Use Deep Agents/LangGraph or Claude Code subagents for isolated context windows and filesystem-based task handoff between agents.
  • Keep company/project knowledge in a git-based "Company OS": SOPs, playbooks, per-client context files that every agent session loads at start.
  • Gate irreversible actions behind human approval or PR review, and log every agent decision for later audit.
Geddy
Geddy
AI Transformation • Full-stack Product Engineering • Leadership

Engineering leadership • AI innovation • Product thinking. 20+ years of web engineering, from independent contractor to engineering leader. Passionate about developer experience and product engineering.

Follow on LinkedIn
Keep reading