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 2 of 6 · showing 25–48 of 138

tstack: Nine Skills That Finish the Job After the Code Is Written

Most skill packs optimise writing code. Theo's nine files take the twenty minutes after — proving the bug is actually fixed, reviewing with a second model, filing a PR that leads with the problem, babysitting CI, answering review feedback — and then hand you the merge button. Better Stack's walkthrough is fair, and the skill files are better than the review: full-stop explicitly disables auto-merge, clears the merge queue, and forbids merging, branch-protection bypass and default-branch pushes before it starts work. Council pulls Claude Opus, GPT Sol and Gemini Pro as read-only delegates and reports rather than substitutes if one is missing; takeover finishes an abandoned PR and keeps the original author's credit. Two caveats worth keeping: the cautious skill depends on the one that merges, so the guard is a line of prompt rather than a permission, and the real enforcement lives outside the agent in branch protection and tests that can fail.

deep-dives
Better Stack
Published2026-11-12

The Home Repo Pattern: One Repo to Point at All the Others

When a team has thirty repos, skills and steering files get copied into each and drift. Matt Pocock's fix is almost too simple: one home repo holds the skills, settings, a wiki and custom tooling, and every agent session starts there, reaching the other repos by path in the steering file. Flat lists work to a few dozen repos; beyond that, group the index and let progressive disclosure do the work. Worktrees keep parallel sessions from colliding, and the agent clones missing repos on a fresh machine. The interesting part is what the video leaves out: underneath it is --add-dir plus skills loaded from the launch directory, which means extra directories widen the permission surface, and a repo holding business-critical skills, a private wiki and Slack/Gmail-connected tooling is a concentrated target running with more access than any single project. Plus his own honest caveat: monorepos first, and the home repo is a workaround for public/private splits and political will.

deep-dives
Matt Pocock
Published2026-11-12

Rethinking Claude Code Best Practices: Where the Control Actually Moved

An Anthropic engineer on the Claude Code team argues that most of what we added to our setups over the past year now holds the models back: the IMPORTANT markers, the exclamation marks, the architecture map in the config file. Her framework is the article's spine — everywhere you step out of the loop, one of three things takes over: the model, the harness, or the environment. That gives you a diagnostic for every failure: if it was the model's job, fix the prompt or the config; if the harness's, write a deny rule or a hook; if the environment's, the machine is misconfigured. The empirical case for auto mode is stronger than she states — 13.6% of 1,053 testers refused a planted dangerous command against 89% blocked by the classifier, with human vigilance falling to about 5% after fifty prompts — and the case is about fatigue, not about classifiers being perfect. One in ten still gets through, the classifier misses 17% of real overreaches, and auto mode falls back to asking after three consecutive blocks. The best decision rule in the talk: if it gets this wrong once, can I take it back? Reversible work belongs to the model; reading a key into a transcript belongs to the harness. The sharpest technical argument is that npm test is the real hazard, because permissions decide whether a call runs and not what it can reach once running — which is why the sandbox is not optional, and is also off by default.

deep-dives
Lydia Hallie
Published2026-11-11

Codex Security: An Official Walkthrough, and the Two Things It Compresses

OpenAI's own cyber deployment engineer walks through Codex Security in 6:47: check Daybreak Blue access, install the plugin from the marketplace, scan a repository, read a finding's attack path, generate a patch, open a pull request, then automate it with the CLI. The demo is clean and the order is sensible — local plugin first, CLI for repeatability, CI once you trust the signal. What it compresses is the access gate and the verification discipline its own documentation insists on. Daybreak Blue is not a settings toggle but an approvals programme granted per identity, workspace, model and surface, and Red access needs a separate approval. And OpenAI's docs state plainly that a generated or applied patch is not a verified fix: verification re-runs the reproducer, requires a regression test that fails before and passes after, records any remaining proof gap, and still does not close the finding. The article also corrects the CLI story: the package is @openai/codex-security runnable via npx, bulk scans resume from a CSV inventory, and the CLI runs with OS permissions, without approval prompts, inheriting your environment, writing logs that are not redacted.

deep-dives
OpenAI
Published2026-11-11

DeepSeek V4.1-Flash 1017 at Home: 92% of Terminal-Bench in 265 GB

A 552-billion-parameter mixture-of-experts model — 384 experts with six active, 1M context — running on two workstation GPUs and matching its own full-precision score on Terminal-Bench 2.1 (92%, 82/89) against GLM 5.3 Flash's 82%. The videos of this kind usually stop at the score; the useful parts are in the arithmetic. The official checkpoint already ships FP8 with FP4 experts at 510 GB, so a further quant removes bits that survived one pass — and the mixed 2-bit community quant that reproduced the 92% is 264.8 GB, which fits a 288 GB unified box but needs about 73 GB of offload on two 96 GB cards, not the '200 GB of VRAM' claimed. The quant's own model card settles the deeper question: 87.6% top-1 agreement and 0.131 nats KL divergence against the original, so same score does not mean same model. Plus the hardware that matters — why Max-Q rather than the 600W workstation edition, what a dead PCIe switch and a VRM-fried networking chip cost, and why nobody's tokens-per-second numbers are comparable.

deep-dives
sentdex
Published2026-11-11

Writing A2UI by Hand: What the Protocol Actually Asks of a Renderer

A one-hour Angular walkthrough that writes the A2UI JSON by hand before wiring any model to it — which is the right order, because it gives you a known-good message to bisect against when the agent's output looks wrong. Verified against the v1.0 specification: the catalog is three artefacts (a definition the model reads, framework implementations you own, and a function binding them), createSurface opens a surface and updateComponents may arrive repeatedly because operations are a log rather than a state snapshot, and updateDataModel addresses values by JSON-pointer path. The flat component list is the protocol's most telling decision: children are referenced by ID because models find nested JSON hard, so the format is shaped around the weakness of its author — the same reasoning behind templated children (one component plus a path renders a hundred items), macros and the Express format. Two architectural points the article draws out: an action arrives at the component as an input rather than an emitted event, which is why a generic renderer can host components it has never seen; and the action context is untyped at the boundary, so parsing it against your own schema is a security control rather than a formality. Corrections: the basic catalog is 18 components AND 14 functions; the walkthrough's code abstracts the v1.0 @path/@call prefixes and renamed envelopes; and the verification of transport, inspector and the duplicate chat-plus-surface render, fixed with a no-op activity component. His own honest limit: the model does not reliably follow layout instructions, which is exactly why deterministic paths exist.

deep-dives
Rainer Hahnekamp
Published2026-11-10

Tiny Software Factories: The Architecture Under the Hype

IndyDevDan's lesson turns an empty template into a running agent system inside a real codebase in three steps — initialize, configure, specialize — and sells the through-line: move from in the loop to near the loop. The transferable pieces are worth separating from the marketing. A template beats a framework because you fork it and own it. A written plan is the reviewable artefact behind any long unattended run. Per-subagent time and spend caps (25 cents, ten minutes, four agents) are the primitive most harnesses lack. Tool-call summaries make a long run auditable, as long as you keep the raw trace. And agentic access parity — anything the UI can do, a command can do — is what removes the human as a permanent single point of failure, provided safety-relevant controls are excluded from it. What the video does not prove: that the configured factory works, that the comparison against stock tooling favours a bespoke harness, or that 'near the loop' beats a human on work without a cheap correctness check. The demo's only judge is the agent's own success message.

deep-dives
IndyDevDan
Published2026-11-09

Auto Ontology: Letting a Map Beat a Better Model

NVIDIA's Auto Ontology is not a knowledge graph — no class hierarchy, no reasoner — it is a semantic layer for one job: getting an agent to write correct SQL. Apache-2.0, 11,880 stars, map stored in Postgres with pgvector, exposed over MCP, CLI and API, and exportable to Apache Ossie. A careful reviewer installed it, hit three failures (two from NVIDIA API drift, one real bug that silently skipped 59 of 98 cross-schema foreign keys), built a map over Microsoft's Wide World Importers sample, and certified 34 terms by hand. The findings that matter are not the tool's: one example query moved accuracy more than the choice of model across eleven models tested, and a map drafted by a weaker model degraded a stronger model answering from it. Also the sharp edge: after correctly refusing a question with no data, it quietly computed revenue from orders instead of invoices — a third definition, slipped in.

deep-dives
Syed Humair
Published2026-11-09

DeepSeek Harness and Cordis: What "Everything Is a Plugin" Actually Means

DSH is not a coding agent with an extension API — it is a plugin tree where the agent loop, the tool registry, the system prompt, the execution layer and the model adapter are all rows in a YAML file you can replace. A walkthrough of the architecture, checked against the project's own documentation rather than the narration: Cordis is an independent framework whose first commit (May 2022) predates DeepSeek by a year, and the harness is its flagship user rather than its origin. There are five event dispatch modes, not four — emit, waterfall, parallel, serial and bail — and bail is the cheap veto. Registrations are reversible effects that unwind in dependency order, which is why plugins can be toggled at runtime. PTC means programmatic tool calls, renamed from Code Mode in August 2026. The desktop app is a host carrying the same web application, not a second product. And the chapter the video is missing: SAFETY.md says the project has had no security audit, must not be treated as production-ready, and that sandboxing and approval prompts do not guarantee isolation — which matters for a runtime that can install plugin code into itself from indexes the project validates for format but not for claims.

deep-dives
Alejandro AO
Published2026-11-08

Stageshow: Taste Written Down as a Hundred Small Decisions

Benji Taylor — Head of Design for X and SpaceX, and the designer behind cmdk — published a skill for making faux product UI that hands the agent three things most design skills lack: a seven-step process instead of a rule list, 71 gold examples to copy from, and a rehearsal gate that films the animation and refuses handover until it passes. The vocabulary of failure is the transferable part: too much, wireframe, boxed, flat, bland — each with a fix attached, from a 3-to-7 word budget to a 358px phone design that is a redesign rather than a squeeze. The last step is the real insight: a screenshot after everything settles cannot see a button jumping a few pixels or one frame where everything fades together, so the skill records the loop, lays the frames on a contact sheet, and measures them. Plus what the video understates (71 examples, not 40), what it omits (the poster frame most viewers will ever see), and the licence caveat: MIT source, but bundled app icons and brand marks excluded.

deep-dives
AI LABS
Published2026-11-07

Pando vs Scion: Two Ways to Survive 30,000 Commits a Day

Anthropic went from about 2,500 merged changes a day in May 2026 to over 30,000 by September; OpenAI's monorepo reliability fell below 90% at times. Two opposite answers. OpenAI kept Git and replaced the backend: Pando coordinates refs per branch and reuses packfiles, cutting median push latency nearly 5x (about 80%) and serving nearly a petabyte of Git data a day from a handful of cores, built in 10 weeks with a single engineer designing the core and agent teams implementing it. Anthropic replaced Git outright: Scion has no materialised copy anywhere, no packfiles, server-side commits and a 200x smaller CPU and memory footprint, with checkouts two orders of magnitude faster and 25% of CI CPU recovered — at the cost of rebuilding review, search and CI. Plus the trade-offs both companies priced explicitly, the worktrees and sparse-checkout advice that applies to everyone else, and the detail the video misses: OpenAI's agents wrote Lean and TLA+ specifications of Pando's behaviour to find and prove away bugs.

deep-dives
Better Stack
Published2026-11-07

Banning the AI Look: Which UI Libraries Actually Fix Agent-Built Interfaces

Three kinds of UI library for agent-built interfaces — foundations (shadcn/ui, Base UI, Radix), specialists (Sonner for toasts, Vaul for drawers, cmdk for command menus, NumberFlow for animated numbers) and designed components (Beautiful UI, Rare UI, Magic UI, Aceternity, 21st.dev) — and the structural distinction that matters more than the list: components copied into your repo through a registry can be read and edited by the agent, while components behind a package boundary become something it works around. Includes the uncomfortable observation that default shadcn has itself become an AI tell, and the three cheap fixes (radius, colour, type), the seventeen skills in emilkowalski/skills of which only pick-ui-library is usually mentioned, what Beautiful UI covers that older libraries never modelled (approval cards, streaming text, tool calls, diffs), the one-standout-moment-per-page rule, and the gaps the video skips: licences, contrast, bundle weight and reduced motion.

deep-dives
Griffin Wooldridge
Published2026-11-07

How Anthropic Reviews Code at Agent Volume — and Where Theo Says It Is Wrong

Anthropic's Claude Code team documented how they review code when agents produce it: changes landing per day in the monorepo went from about 2,500 in May to over 30,000 in September, merged PRs more than doubled while the revert share fell more than 40%, and review moved from an end-of-road gate to something closer to spellcheck while you write. Six layers — verification before the PR, required CI, parallel bug hunters with verifier agents voting, a separate blocking security pass, risk-based approval tiers and a merge queue — then flags and gradual release with rollback underneath. Standard: most PRs merge with at most one human in the loop, who can be the author, with revert and incident rates as the guardrail. Plus the convergence crisis (one CLI PR ran more than 50 review rounds overnight; about 59% of flagged code predated the first pass) and the four fixes that cut mean rounds from 2.08 to 1.32. Theo reads it live, agrees on layers, rejects prose-first fixes in favour of fixing the code and then the checks, and argues the packaged product is too expensive next to a council of three model families.

deep-dives
Theo - t3.gg
Published2026-11-06

agent-desktop v1.1: Refs, Headless by Default, and What a Computer-Use CLI Actually Costs

A practitioner's update on Vercel Labs' agent-desktop, the Rust CLI that gives agents computer use without screenshots by reading the operating system's accessibility tree. Covers the ref model — refs scoped to a snapshot, STALE_REF and AMBIGUOUS_TARGET instead of a wrong click, and how v1.1 re-identifies refs through each element's own accessibility address. Also: headless by default so the agent never takes your focus, skeleton mode as context management, 60 commands of which 56 are operational and four refuse to run, per-error retryability that prevents double submissions, the v1.1 and v1.2 deltas verified release by release, a binary that ships version-matched docs for agents via skills get desktop, the MCP server and C library the video omits, and the real cost shift from image steps on a vision model to many cheap text steps. Plus the privacy warning: snapshots and traces are a structured dump of your desktop.

deep-dives
AISeeKing
Published2026-11-06

AREX-2: The Harness Moves Into the Model

BAAI's AREX-2 is a 27B Apache-2.0 fine-tune of Qwen3.8-27B trained so the try-check-revise loop lives inside the model instead of in your harness. It scores 81.8 on MLE-bench Lite — the highest in the paper's comparison, above GPT-5.6 Sol's 72.7 — and 70.7 on Frontier-CS, best among open weights. Given a five-hour budget it keeps improving (54.4 at one hour, 65.9 at two, 70.7 at five) while DeepSeek-V4-Pro stops at 44.7 after two. But the stage-wise ablation reframes the headline: skills and extra rounds take the untrained base model from 28.8 to 68.2, with training adding about fourteen points on top. Covers the two-capability framing (reflection vs long-horizon execution) and the diagnostic it gives you for stalled agents, why agent training data discards the improvement it needs, the three-step trajectory pipeline and the select-by-outcome/mask-by-progress recipe, why it is SFT and not RL, the risk of a harness and a model running two loops that fight, and why test-time improvement is not recursive self-improvement.

deep-dives
Sam Witteveen
Published2026-11-06

Dev Quality Gates: Turning CI Into a Feedback Loop Your Agent Can Read

A CC0 curated list that picks one tool per job and makes it fail the build: Oxlint with --deny-warnings, Knip, Ruff plus ty (not Pyright/MyPy), deptry, rumdl, jactionlint — all returning non-zero exits and JSON/SARIF so an agent can parse the failure, fix the code and re-run. Plus the 69 entries the video never reaches, including agnix for CLAUDE.md and AGENTS.md.

deep-dives
Alex Hitt
Published2026-11-06

How to Talk to an Agent That Builds Its Own App

DeepSeek published the seven prompts behind its Creator Mode demos for DeepSeek Harness — the 3D landmark gallery, Transformer visualiser, pixel-art skin, poster and video workbenches, paper reader and conversation dashboard — and they read as a specification rather than a magic spell: say where the plugin lives, give it counts and defaults, say what to leave out, and connect it back to the conversation. Covers the two read-only introspection tools that make plugin generation reliable, the multi-round caveat DeepSeek volunteered, the token bill that iteration creates, whole-app plugins that can break the chrome, and the licensing detail on the orchestration tool the video promotes.

deep-dives
AICodeKing
Published2026-11-04

Agent Desktop: Computer Use Without Screenshots

Vercel Labs' agent-desktop is an Apache-2.0 Rust CLI that lets an agent drive macOS, Windows and Linux apps by reading the OS accessibility tree instead of looking at pixels: JSON snapshots, refs that carry their snapshot id so stale targets are rejected, and an observe-act-verify loop with no model inside the tool. Covers the 60-command surface, the headless-by-default safety model that refuses raw input, the C library and MCP mode, the Electron DevTools handoff to agent-browser, and the structural blind spot — accessibility trees are only as good as the labels developers wrote.

deep-dives
Prism Labs
Published2026-11-04

"Clone Any App for Free" — What the Workflow Actually Delivers

A verification pass on the DeepSeek Harness + REA + OpenRouter workflow: the stack is real, the 'clones' are front-ends populated with sample data, and the video says so itself. What holds up — REA as an MIT-licensed CLI and MCP server (~438,000 stars) that gives an agent real inspection tools so it investigates before it generates; OpenRouter presets addressed as @preset/name with model fallback, so routing lives in configuration instead of code; a doctor command plus 'paste the error into the harness and say fix this' as a self-repairing setup pattern. What does not — '100% free', when the setup starts with a paid DeepSeek API key and free model tiers are rate-limited and rotating; and 'clone', when the Slack-style and ChatGPT-style demos have no backend, no accounts and no real messaging. Plus the legal line between studying an app and copying its assets or trade dress, the context cost of REA's 200-plus MCP tools, and why restrictive vendor policies route this work to open harnesses rather than stopping it.

deep-dives
Maitis
Published2026-11-03

DeepSeek's Super Agent: A New Agent System Built Without Touching the Core

DeepSeek open-sourced a proactive agent that lives in one GitHub repo, takes work only from people allowed to ask, and answers with pull requests — built entirely as a patch file and plugins on a harness nobody forked. Covers the router/worker split, the deterministic gate and per-ticket mandate, why follow-up subscriptions cut router decisions 30%, why the router gets four times more efficient per decision under load, the stripped worker preset with its five-second shell cutoff, and the FrontierHarness Eval result that put the same model at 63.3% for $3.28 versus $18.34. Includes DeepSeek's own four caveats and what the numbers do not prove.

deep-dives
Sam Witteveen
Published2026-11-03

Tiny Software Factories: Shippable Agent Anti-Patterns

Lesson one of IndyDevDan's Tiny Software Factories argues the useful unit of agentic engineering is a small single-problem factory you sit near, not inside: a durable agent plus a trigger in a sandbox. Walks the empty factory, the agent-right/lists-left/focus-center scaffold, agent access parity, core-four control (context, model, prompt, tools), the self-modification demo, capability slices, liquid software and cron prompts — plus the anti-patterns he deliberately ships (one agent, cron on the box, JSON config, SQLite, bash) and where each one bites. Includes a verified inventory of the MIT repos that already implement these parts.

deep-dives
IndyDevDan
Published2026-11-02

Sol Loop, Full Send, Full Stop: The Three Skills Behind Theo's Workflow

Three markdown files drive about half the threads in T3 Code: a cross-model review loop with a three-round budget, an autonomy contract that ends in a merged PR behind an explicit merge gate, and the same contract with the merge withheld. Includes the proof requirements, the written-dismissal rule, the trigger-not-description trick, and the honest numbers: 32 full sends, 27 merged unseen.

deep-dives
Theo - t3.gg
Published2026-11-01

Verifiers, Not Tests: How Top Agentic Engineers Prove a Change Is Correct

Anthropic merges 30,000+ changes a day and reviews intent instead of every line. Ray Amjad's framework for what replaces reading: a verifier is a real surface plus an answer key the agent did not write plus a comparison it cannot argue with. Includes shadow traffic, spec tables, e2e with a separate judge, byte-equal decompilations, the Bun-in-Rust case, and mutation testing your own checks.

deep-dives
Ray Amjad
Published2026-11-01

How Revolut Cut AI Coding Costs 90% With Self-Hosted Open Models

David Abitbol runs AI operations at Revolut: 2,000 engineers, 56 B200s, self-hosted GLM-5.3 at about $0.30 per million tokens and a tenth of the frontier-lab invoice. The lead-time data says coding was never the bottleneck, the 88% serving improvement came from tuning rather than hardware, and the compliance case for Chinese open weights rests on a human in the loop. Includes two factual corrections.

deep-dives
AI Engineer
Published2026-10-31