Agent Harness and Claude Code
The model is the smaller half of an agent. What decides whether it does reliable work is the harness: what it reads before it acts, what checks it after, what it remembers, and what it is allowed to hand to a cheaper model. These pages are the measured part of that, most of them from my own setup. The method behind them is harness-engineering-summary.
The harness
- agent-stack: the map of the whole system (harness, registry, solograph, brain, swarm, the box) and the reading order of the series. Start here
- agent-harness-and-always-on-gnome: how I run my work through Claude Code, the scheduled jobs, and why they need a box that never sleeps
- harness-registry: one file per open topic with whose move it is and the next step, a standup that orders them, one core for two profiles
- project-swarm: many coding agents on my own subscriptions, one queue over a laptop and a box, and a test gate that decides what reaches main
- harness-cost-by-model-tier: a behavioral harness took a small model from 3 to 10 accepted runs and made it cheaper than the big one unharnessed
- tdd-inside-the-agent-loop: agent-run TDD cost 3 to 8 times the tokens with no better tests or design
- control-bot: my private Telegram bot: cards instead of chat text, a queue in front of Claude Code, one send path with no model in it, and eight rules that each came from an incident
- claude-code-channels: channels push outside events into an open session: my Telegram bot wired into the session that runs my day, a voice, a 40-line channel for your own product
- mcp-events: the MCP extension for server-to-agent events (poll, push, webhook); what it would replace in our tick loop, and why not yet
- claude-code-anatomy: Claude Code reverse-engineered: the seven-part loop, five layers of compaction, deny-first permissions
- claude-code-code-mode: Code Mode, where the model writes JavaScript that makes the tool calls: measured on one task, half the model calls, a quarter fewer tokens, 2.4x slower; hooks still see every call
- self-improving-harness: a Nov 2026 paper says harnesses should diagnose, patch, validate and deploy their own code; mapped onto my sensors, case log and nightly loops, with the gaps: no deploy gate, a checker the agent can edit, no early-stop rule
- commerce-agent-blueprint: one agent with skills beats subagents; guardrails live in the harness, not the prompt
- design-md-spec: design tokens plus their rationale in one file the agent can lint against
- reading-agent-output: the terminal as a reading instrument once the work is reviewing an agent’s stream
Context: what the agent reads
- claude-code-from-zero: one-page start for people who do not use agents yet
- writing-claude-md: how to write instruction files, and what did not work
- skills-standard: the SKILL.md format 20+ agents now share
- skills-vs-doc-tree: a plain tree of well-named documents beat skills in a small study, and Claude Code lists most of my skills by bare name
- agent-patterns-stream2: skills load lazily, MCPs eagerly, and four other patterns
- claude-5-5-effort-and-cost: effort from xhigh to high, always-loaded rules from 37.7 KB to 16 KB
- claude-model-choice-guide-nov-2026: Anthropic’s 9 Nov 2026 model-choice guide read against a Claude Code setup: effort before model, Haiku 5.5 for subagents
- token-efficient-web-requests: 80% fewer tokens per web page by asking for markdown
- claude-subscription-boundary: where a Max plan stops being usable as infrastructure
Memory
- agent-memory-architecture: 4 memory types, 3 loops, 5 systems compared
- inline-agent-memory: notes inside the code with a prefix grep finds (AI-NOTE, AI-TODO, AI-ASK)
- wiki-feedback-loop: corrections and unanswered questions flowing back into this wiki
- company-brain: one shared memory any agent can plug into, with self-improving loops: Rinat Abdullin’s BitGN Brain, YC’s AI-native company, and how to build one on a wiki
- solograph-rebuilt-one-binary: my memory server, from a graph database to one Rust binary over SQLite FTS5
Delegation and cost
- lead-model-delegation-economics: 3,000 sessions where a strong lead with a cheap sidekick cost less and scored higher
- cheap-model-delegation-boundary: what a cheap model can read for you, and the two places it cannot
Evals and structure
- plugin-eval-ablation: only the arm without your plugin measures what the plugin adds
- deepeval-llm-testing: 50+ eval metrics with pytest in CI
- agent-benchmarks: SWE-bench, PAC-1, LongMemEval and what each one scores
- sgr-deep-dive: schema-guided reasoning, schemas as the interface between the LLM and code
- effect-ts-for-agents: when a typed effect system pays for itself in an agent pipeline
- github-top-100-agentic-shift: every repo under 18 months old in GitHub’s top 100 is harness tooling
Tools and frameworks other people built for the same problems: agent-landscape.