AThe Coding Agent
✎ Suggest◎ Sign in

Deep dives into working agents.

Technical walkthroughs with substance: architectures, prompting patterns, evals, and production lessons unpacked until complex agent systems become reusable design material.
Page 3 of 6 · showing 49–72 of 138

How the Claude Code Team Reviews AI-Written Code — And How to Copy It

Claude writes about 90% of Claude Code's own code; from June to September merged PRs more than doubled while the share reverted fell over 40%. Inside Anthropic's seven review layers - pre-PR verification, AI review voted on by other agents, blocking security review, risk-tiered human approval, merge queue and one-step rollback - plus the workable subset a small team can adopt today, and where the video's own loop design diverges from the published process.

deep-dives
AI LABS
Published2026-10-30

OpenCode 2.0 vs Claude Code: The Harness Is Half the Product, the Subsidy Is the Other Half

OpenCode 2.0 shipped on 12 October 2026 with a background service, background subagents, hot-reloadable plugins and code mode. But the comparison that matters is not token efficiency - it is cost: Claude subscriptions do not work in third-party harnesses, so Claude models inside OpenCode are API-priced. Verified install traps, the three settings to change first, Go and Zen pricing, the October breach, and the security defaults that differ from Claude Code.

deep-dives
Bruno Vega
Published2026-10-30

What Claude Code Can Do That You Haven't Tried — Gui Ferreira

Gui Ferreira's NDC Oslo 2026 talk is a tour of the Claude Code surface a daily user only half uses: CLAUDE.md hygiene with the ETH Zurich evidence that bloated context files cost ~20% more and reduce success, the three instruction layers and a permissions deny list for secrets, the status line as a session dashboard, plan mode with Ctrl+G and 'interview me', rewind instead of arguing with a wrong direction, effort levels and ultrathink, Ctrl+S stash and /btw side questions, auditing an empty session with /context, proactive compaction and memory hygiene, hooks that run tests deterministically instead of asking the model to remember, skills as packages of scripts, the bundled /batch /simplify /loop, project-scoped .mcp.json, headless claude -p for pipelines — and the non-coding uses, from quarterly reviews and a 1,626-item Downloads folder to an Obsidian vault and two skills for a weekly running plan.

deep-dives
NDC Conferences
Published2026-10-28

You Still Need to Learn Terraform — Even With AI Writing Code

DevOps Toolbox argues that knowing Terraform matters more, not less, as AI agents generate infrastructure code. Covers Terraform history (HashiCorp 2014, the 2023 BSL license change, the OpenTofu fork under the Linux Foundation, IBM's acquisition), the core workflow (tf init, HCL, providers, variables, data objects, resources, outputs, stacks, tf fmt/validate/plan/apply/destroy), the critical role of state and remote state locking, why you should review agent-generated Terraform one-by-one (agent output is random, a wrong VPC is a security hole), and OpenTofu as a drop-in fork with state encryption and MPL-2.0.

deep-dives
DevOps Toolbox
Published2026-10-27

Anthropic's Subagent Rules: Fold Them, and Split by Context

Ray Amjad digs into Anthropic's sub-agent design article: fold most sub-agents back into the main loop. Covers when to keep a sub-agent, the Conway's-law org-chart trap and five failure modes, why a single loop works (shared context, the 150K dumb-zone myth, progressive disclosure), the personas anti-pattern (his own experiment found it added nothing), Toby Ord's Swarm Scaling lambda parameter (coding benchmarks around 0.5), splitting by context instead of problem type, the ticket-splitting anti-pattern, and the bitter lesson of trimming harnesses as models improve.

deep-dives
Ray Amjad
Published2026-10-26

Leaving the Loop: In → Near → Out for Agentic Engineers

IndyDevDan's framework for the progression from human-in-the-loop to near-the-loop to out-the-loop agentic engineering: you are the bottleneck, so build proactive agents triggered by events (webhooks, cron, Jev log classification) rather than by you. Core elements: durable agents, sandboxes, and an API layer. Real examples: a Jev-classified incident response agent and a Deep Jev UI replicator. The core four: context, model, prompt, tools/harness. Vibe coding is the floor, agentic engineering the ceiling.

deep-dives
IndyDevDan
Published2026-10-26

Anthropic Says Delete Your Subagents: Folding Them Into Skills

Anthropic's Applied AI team guidance (Oct 22) says one agent with skills frequently beats a team of sub-agents on quality, often cheaper and faster. Rob Shocks explains why sub-agents proliferate (Conway's law, the Franken prompt), how progressive disclosure cut Claude Code's system prompt by over 80 percent, the shim-based self-evolving harness flywheel, how to fold a sub-agent into a skill.md, and the three cases where sub-agents still win (context bloat, parallel research, isolated tools). Also covers skills as busy work and counterpoints.

deep-dives
Rob Shocks
Published2026-10-26

Steve Yegge: People Are Sleeping on Swarms

Steve Yegge (ex-Amazon/Google, Grok, co-author of Vibe Coding) argues the future of agentic software is swarm-based, not monolithic: inference costs never dropped, SaaS isn't dead because models aren't systems of record, and software factories are 'baby swarms' that are fundamentally a people-management and fuel-management problem. He covers his Wyvern game factory (50 agents, one human), the day 650 'fences' halted it, the trust reset, pacing agents to human speeds, the Counting House pattern, agentic TPMs, the Netflix training method, and advice for young engineers in the 'mind atrophy' era.

deep-dives
Codacy
Published2026-10-26

iphone-use: Letting AI Drive a Real iPhone over USB

iphone-use is an open-source MCP server (MIT, ~4.5k stars) that lets an AI agent like Codex or Claude Code control a real physical iPhone over USB: natural-language instructions become taps and swipes on iOS via WebDriverAgent. Requires macOS, a physical unlocked iPhone, Xcode, Python and Node; runs over local loopback on port 18100 for privacy. Covers the setup flow, the three-app free-account limit, and a 12×34=408 calculator benchmark.

deep-dives
Alex Hitt
Published2026-10-24

Google's Harness²: A Method-Section Deep Read

A close read of Google's Harness² paper: one step = reference run, propose two candidate harnesses (invariant + domain), probe both with no answer key, then compose (merge/revise/adopt/keep). GLM5 jumps 64.2→75.7 on WorkBuddy with frozen weights, but Gemini 3.5 Flash still leads with the same treatment. Plus the real cost (3–4 runs/step) and the safety caveats — including a Codex run that downloaded the answer key on its own.

deep-dives
Cloud Codes
Published2026-10-21

Matt Pocock's 3 New Skills Close the AI Coding Loop

Matt Pocock's skills v1.3 adds three pieces that close the AI software-development loop: /implement-spec (parallel worktree agents organized by dependency), /pr (diagram summaries, evidence, and merge-danger so PRs review in seconds), and /retro (improves context and guardrails from past mistakes, run periodically with human approval).

deep-dives
Eric Tech
Published2026-10-20

Claude Code's REVIEW.md System — and the Git Replacement Behind It

Rob Shocks breaks down Anthropic's published code-review process layer by layer: six layers of checks with rollback underneath, five human-approval rules, and the 50-round PR trap that forced convergence fixes. Plus Scion, Anthropic's in-house Git replacement (100 GB history, 25M CI checkouts/day), and where the Code Review product fits as the public layer-2 AI review.

deep-dives
Rob Shocks
Published2026-10-20

A Proactive News Agent: HYPE, FACT, or SIGNAL

IndyDevDan builds a proactive 'durable news agent' that sweeps AI news every minute, gating expensive model calls with Jev and ranking every story as Hype, Fact, or Signal. The architecture: SQLite + Pi Durable + a custom durable agent + Jev classifier + an SDK, triggered by cron. The meta lesson is the in-loop → near-loop → out-loop transition as a measure of agentic-engineering skill. Open source at disler/pi-durable-news-agent.

deep-dives
IndyDevDan
Published2026-10-20

Reverse Engineer Anything: 5 Use Cases for GitHub's #1 Trending Skill

AI LABS walks through five genuine use cases for REA (Reverse Engineer Anything, morluto/rea — 274,081 stars), the MCP server that lets Claude Code and Codex reverse-engineer apps and websites by tracing clicks back to the exact code and labeling every finding seen/guessed/unknown. The five: copy a feature from another app (Obsidian graph + Notion board), research all competitors at once, find bugs in your own app (a pricing bug that code review would have missed), run a site-wide performance checkup, and audit security before shipping (exposed OpenAI/Stripe keys). Firecrawl is the sponsor.

deep-dives
AI LABS
Published2026-10-16

Turn Claude Code Into a Software Factory: The Four-Pillar Orchestration Layer

Patrick Ellis (CTO of an AI-native startup) argues the 10x-100x leverage isn't coming from smarter models but from the orchestration layer around them — and that Anthropic and OpenAI are both converging on long-horizon autonomous work (Greg Brockman's Codex vision: tasks that run in the cloud for hours, days, even weeks). His framework has four pillars: context (company/product goals, design language, adjacent codebases, APIs), tools (grep, Playwright MCP, gh CLI, Sentry, Terraform, gcloud), workflows/SOPs (engineering/design/security reviews — his favorite being gstack, Garry Tan's YC skill library with /office-hours, /engineering-review, and an adversarial review that invokes a CLI Codex from Claude Code and vice-versa), and verification (Playwright screenshots vs the UI mock plus deterministic linters/unit tests/dead-code detection). Two tools worth the look: gstack (135k stars, MIT) and Steve Yegge's Beads (27.8k stars) — a dependency-aware task graph that keeps long-running agents from hallucinating completed checkmarks. The proof case is an analytics platform (Pub/Sub, Cloud Run, BigQuery) shipped in a week, with a six-hour overnight Codex run and a human-review gate on core infra changes. The strategic takeaway: document and aggregate your company's context into one orchestration layer, because models will get better but they'll never know your specific workflows unless you write them down. Ellis's startup pitch and custom skills are flagged as self-promotion; gstack and Beads were verified live via the GitHub API.

deep-dives
Patrick Ellis
Published2026-10-10

I Built an AI Software Factory: Parallel Agents That Actually Work

A software factory, concretely defined: an operating loop where issues come in from the backlog, a coding agent writes the fix, an independent system verifies it, and a human merges. Prompt Engineering's build enumerates the five ways parallel agents break — shared-folder collisions (one commit touching six files), double-booked issues (fix: a claim label), the self-grading trap (an agent always reports "tests pass"), stale training cutoffs (fix: live docs), and PR flood (fix: merge stays human) — then runs a five-stage pipeline (triage → worker → verifier → reviewer → integrator) where each stage is a fresh cloud sandbox booted from a shared snapshot. The two architectural details worth stealing: typed object handoff (stages pass structured JSON, not chat history) and live-docs-via-proxy-key-injection (the agent reads docs but never sees the API key). Two hard-won findings: passing tests does not mean the code is right (a reviewer caught a same-millisecond ordering bug every test missed), and parallel agents that share a test file produce merge conflicts (7 of 9 PRs) — hence the integrator stage. Result: 10 issues in 4.5 minutes, 9 hidden-test-passing PRs plus one vague ticket correctly skipped, for ~$3.67 in tokens and ~$0.01 in sandbox time. Upstash Box (and Context7) are the video's paid sponsors — flagged; the five-stage architecture is the vendor-neutral takeaway. Source code is published at github.com/PromtEngineer/software-factory.

deep-dives
Prompt Engineering
Published2026-10-09

Claude Dashboards: Live BI and Observability for Your Business

Anthropic launched Claude Dashboards (with Claude Motion) in public beta on Oct 8, 2026: connect a data warehouse or connectors, ask a plain-language question, and Claude writes the queries and builds a live, self-updating dashboard. The core distinction from artifacts — artifacts were static HTML snapshots; dashboards query live from a database. Mansel Scheffel's walkthrough covers both headline use cases: business intelligence (where's your cash, what's overdue, where you're burning money) and observability into your own Claude/AI infrastructure via OpenTelemetry. His recommended pattern is a central Supabase middle layer as the single source of truth — connector (MCP) plus plugin (schema/security best-practice skills), with an edge function ingesting metrics — and scheduled tasks to keep the data fresh, since a dashboard only knows what's been pulled into the database. The interactive dashboard adds a comment/chat function that explains any row (what it is, why it's the biggest problem, the fix) and lets you inspect the underlying SQL. Beta glitches are noted (queries reporting success while empty). The video's "business rescue" skill (manifest/evidence/forecast/rescue/report) and his community are flagged as self-promotion. Feature launch and Supabase details verified against Anthropic's docs and help center.

deep-dives
Mansel Scheffel
Published2026-10-09

From Vibes to Production: Evaluating and Shipping AI Agents That Work

Laurie Voss (Head of Developer Relations at Arize AI, co-founder of npm) runs a two-hour AI Engineer workshop on the most under-served part of agent development: proving your agent actually works. The core thesis: evals are testing for AI, traces are logging for AI, and the most popular shipping method today — run a few queries, eyeball the output, ship — is the vibes problem. The talk walks the full arc: three kinds of evals (deterministic code evals, LLM-as-judge with a rubric, human review plus meta-evaluation); why agents are harder (cascading failures like the Tesla-vs-Tesla mixup, the τ²-bench 'creatively correct' flight-reschedule); reading traces before writing evals (open vs axial coding, severity × frequency, the Swiss cheese model); the two-line OpenTelemetry/OpenInference instrumentation; a correctness eval that scored 0/13 because the judge's training data stopped in January while the agent reported live 2026 data; a faithfulness eval revealing 7-of-13 reports hallucinated; the four-part custom rubric and its anti-patterns (the god evaluator, treating evals like code); meta-evaluation with golden data sets and judge biases (position, length, confidence, self-preference); and closing the loop by handing judge explanations to Claude Code to rewrite prompts and verifying with experiments. It's vendor-agnostic theory plus an Arize AX walkthrough, flagged as such. Speaker identity and tooling are verified; the demo's numbers are the talk's own.

deep-dives
Laurie Voss
Published2026-10-07

Hidden Claude Code Settings That Change How You Work

A curated tour of the Claude Code settings, commands, and shortcuts most daily users never touch, grouped by what they solve. Setup that learns how you work: an interactive /init mode (ask questions, then write a CLAUDE.md that reflects your habits plus starter skills and hooks) and /import to migrate your Codex or Cursor setup. Keeping setup fresh: a prompt-audit command that inspects your whole config with subagents and reports outdated instructions, plus skill-doctor to find unused skills by usage and token cost. Context and permission tuning: disableClaudeAIConnectors, enableArtifacts:false, auto-mode setup, and a fewer-permission-prompts allowlist. Evals: /claude-api build-eval and hillclimb (Anthropic's claude-api skill, added Sept 28 2026). Plan and output: showClearContextOnPlanAccept, plansDirectory, /output-style (five styles), showThinkingSummaries. Multi-session: focus mode, /branch, /fork, /subtask, list-agents (sessions messaging each other), askUserQuestionTimeout, local notifications. Model routing: opus-plan and CLAUDE_CODE_SUBAGENT_MODEL(_FORCE). Plus prompt-editing shortcuts (Ctrl+S/Ctrl+Y/Ctrl+_) and /powerup. Settings keys and the eval workflows are verified against the official docs; the sponsor segment is noted and omitted.

deep-dives
AI LABS
Published2026-10-07

DeepSeek Harness Just Got a Web Agent

DeepSeek Harness (dsh), one of the fastest-growing open-source agentic coding harnesses, ships a desktop version — and the real story is the architecture underneath. Built on Cordis's 'everything is a plugin' runtime, the harness is just a host: model routing, web search, the terminal, and the whole agentic loop are plugin packages wired through a per-profile patch file. The video walks through the UI (full agent trajectories, per-tool-call token counts, and a cache-hit-rate readout no other harness shows) and the four modes, then demonstrates the general technique for extending it: an MCP client plugin pointing at TinyFish's MCP server to add a full web agent (search, browser-rendered fetch, a Mako-driven web agent, and a Playwright cloud browser) on top of the harness's read-only built-in web tools. The DeepSeek Harness side is verified against the official repo; the TinyFish half is a sponsored partnership and is flagged as such, with sponsor links omitted. The Hugging Face ≤30B demo — where a 29B-named model is really 31B and a 27B-named model is really 7B — is a genuinely useful lesson in making web-agent prompts explicit.

deep-dives
Prompt Engineering
Published2026-10-06

Context Language Models: Your Agent Doesn't Need Compaction

A new paper from Meta and the University of Washington flips context management on its head. Instead of having the harness summarize at a fixed threshold — which throws away whatever didn't look important at the time — a Context Language Model treats its context as an editable file and rewrites it itself each turn: keep, shrink, delete, or rewrite anything. The video walks the paper (arXiv 2609.37725), demos the Pi extension, and runs its own tests: Pi's built-in summarization hallucinated 14 of 18 seal codes, while CLM got all 18 exact. It also catalogues the gotchas — parallel tool calls defeat self-editing, prefix-cache placement drives cost, it's not automatically cheaper, and a 9B model needed RL to beat summaries. Plus the security caveat the paper itself raises: if the model can edit its memory, so can a prompt injection.

deep-dives
Prompt Engineering
Published2026-10-06

Skills v1.3: Matt Pocock's /pr, /implement-spec, and /retro

Matt Pocock ships version 1.3 of his skills repo — the most-starred agent-skills collection on GitHub — with three additions central to his workflow. implement-spec turns a spec and its tickets into one PR by orchestrating sub-agents that can now spawn sub-agents. PR is a body template that borrows Dex Horthy's Show Me skill to make human review cheap, using before/after evidence, the one-way vs two-way door merge-danger test, and blast radius. retro reads real coding-agent sessions afterward and mercilessly lists what to fix — missing CI, context loss between compactions, token waste, even the release Claude cut without asking. The one rule: keep retro human-in-the-loop, or it loops on its own false positives.

deep-dives
Matt Pocock
Published2026-10-05

Why Software Factories Fail: Harness Engineering Is Not Enough

Dex Horthy (HumanLayer, author of 12-factor-agents) argues that the lights-out software factory — where nobody reads the code and you just route everything into the agent queue — does not work, and that the reason is not a skill issue or a harness problem but a model-training problem. Coding models are reinforced on a single binary signal: did the test pass without breaking another. Nothing in that reward penalizes bad architecture, whose cost only shows up months later, so models get better at passing tests and no better at keeping a codebase maintainable. That, he argues, is why Claude Code went from nothing to billions while tools with the same read/write/edit commands did not: it was the first model trained against the harness it ships in. His fix is to turn the lights back on and plan up front — product review, system architecture, the underrated step of program design down to types and call graphs, then vertical slices — so that thirty minutes of alignment saves hours of review and a good PR becomes a joy to read instead of slop to untangle.

deep-dives
AI Engineer
Published2026-10-05

OpenRouter State of Models: Jev, Open-Weights, and Tokenomics

IndyDevDan uses OpenRouter's public data to break down the state of LLMs entering Q4 2026, through five trends every engineer should understand. Trend one: token usage is climbing nearly exponentially — roughly 146 trillion tokens last week versus 4.5 trillion a year ago — and that growth is the strongest argument against the AI-bubble narrative, even as Anthropic targets a $2 trillion IPO while losing nearly $50 billion. Trend two: DeepSeek, OpenAI, and Google hold the top three OpenRouter market-share spots all year, but napkin math on Anthropic's direct enterprise traffic suggests it may be processing 1.5x OpenRouter's entire weekly volume. Trend three: Jev by TypeSafe brings the zero-shot classifier back as a new species of decision model, already 12th on OpenRouter on a fraction of the tokens — and not trivially cloneable. Trend four: free stealth models like SpaceBunny Alpha come with the 'if it's free, you're the product' catch. Trend five: the Pi agent is steadily closing on Claude Code in OpenRouter usage, a signal that engineers want to own their agent harness rather than rent it. The through-line is tokenomics: combine compute, don't select it — throw state-of-the-art models at new problems, then scale down to cheaper models once the work repeats.

deep-dives
IndyDevDan
Published2026-10-05