Blog · May 31, 2026

Build the System,
Not the Prompt.

The week AI research converged on one architecture — and why we're already running it.

Franklin J Bryant IV·COO, All Lines Business Solutions
Interconnected AI agent architecture — specialized components with persistent memory and guardrails
The pattern is universal: specialized components, multi-pass validation, completion states, persistent memory, guardrails at boundaries.

Something unusual happened this week in AI research. Not one breakthrough — a convergence.

Twelve papers, posts, and deep dives crossed our research desk. Different authors, different domains, different models. But every single piece pointed to the same architecture:

That's not a trend. That's a pattern. And the pattern says: the model is one component. The system around it is what determines output quality.

The Papers

Here's what the research actually said — and what it means for business.

#SourceCore FindingBusiness Takeaway
1SkillOpt (Microsoft)Treat SKILL.md as a trainable parameter. Optimizer proposes edits validated against benchmarks. 52/52 wins across 6 benchmarks.Your agent instructions are code, not documentation. Optimize them like code.
2Compiling Workflows into WeightsDistill full orchestration into small model weights. Near-frontier quality at ~100x less inference cost.Multi-step workflows don't need frontier models at every step. Compress the orchestration.
3AutoScientists (Harvard)Decentralized agent team, no central planner. Self-organize around hypotheses, critique before spending compute. 74.4% mean percentile.Orchestration doesn't require a boss. Peer review among agents works.
4Language Models Need SleepConvert recent context → persistent fast weights, then clear KV cache. Compute moves offline, wake-time stays low.Agents need memory consolidation, not bigger context windows.
5Life-Harness (116/126 settings)Frozen agent fails? Fix the harness, not the model. 88.5% avg improvement. No weights changed.When your agent fails, fix the instructions, the tools, and the guardrails. Don't buy a bigger model.
6The Efficiency FrontierContext strategy as deployment-aware optimization. ~25% token reduction at same quality.Smarter context management beats bigger models. Every time.
7CUSP — Forecasting Scientific ProgressModels recognize plausible directions but cannot forecast outcomes. Systematic overconfidence.AI can surface directions. It can't predict results. Trust it for exploration, not prophecy.
8AgingBenchFour aging types: compression, interference, revision, maintenance. Summarization drops details, similar memories crowd out targets.Agent memory degrades predictably. Design your knowledge system to compensate.
9Harnesses Are Not Uniformly BetterMore elaborate ≠ better. Over-decomposition, over-pruning, hallucinated execution. Partial harnesses beat full structure.Enough structure, not total structure. The sweet spot exists.
10Pejman Pour-Moezzi (Magoosh founder)"Stop giving every agent its own skull." Knowledge lives in skulls and skulls don't sync. The hive mind is the point.Shared knowledge graphs beat isolated agent memory. Every time.

The Hotz-Karpathy Resolution

George Hotz published "The Eternal Sloptember" — a blistering critique that AI coding agents produce bloated, brittle, hard-to-audit code. Andrej Karpathy countered that agents boost productivity 10x+ — but admitted the output "gives me a heart attack, it's really gross."

They're both right. And the resolution is architecture.

Hotz's nightmare — one model producing, testing, and reviewing its own output — is exactly what happens without a pipeline. Of course the code is gross. No one is checking the work but the same entity that produced it.

The resolution: separate concerns into a system designed to catch what individual agents get wrong. A Planner plans. A Coder codes. A Tester tests. A Reviewer reviews. Each agent sees different context, has different incentives, and can't cover for the others' mistakes. The grossness gets caught because catching grossness is someone's entire job.

You don't use agents despite Hotz's concerns. You use a pipeline because of them.

Most Agents Are Built Backwards

Benjamin Nweke's article — "Most AI Agents Fail in Production Because They're Built Backwards" — is the most production-grounded architecture piece I read this year. Not theory. Someone who shipped, broke, debugged for two days, and rebuilt.

His thesis: Agents don't fail because the model isn't good enough. They fail because the system around the model was designed backwards — goal first, architecture as an afterthought.

Four layers of a production agent system:

LayerJobCommon Failure
DecisionDecide what to do next given prepared contextModel does parsing, memory management, AND retries — too many jobs
OrchestrationConditionals, routing, state machines — just codeFramework magic. Two-day debugging sessions for a retry bug that should be three lines.
Tools & ExecutionTake well-defined input, produce predictable outputOne tool does five things. Undebuggable.
Memory & StateWhat the system knows, and whether it's currentStale state produces hallucinations that aren't model problems — they're systems problems

The production story that stuck with me: the most robust multi-agent system Nweke worked with had almost no AI-specific infrastructure. Message queue, worker processes, shared state with explicit contracts, coordinator making routing decisions. ~1,000 lines of Python. Every part traceable. Problems found in under an hour. No magic.

The Completion State Pattern

Rahul's "20 Opus 4.8 Workflows That Make Money While You Sleep" — 222K views, 603 bookmarks — is the most practical articulation of this architecture. The core concept: completion states, not prompts.

You don't say "write a good analysis." You say: "Don't stop until every competitor is analyzed, every gap is identified, and every finding has a source." The agent defines what done looks like and runs until it gets there.

This maps directly to what we're building. Our pipeline — Planner → Coder → Tester → Reviewer with a SHIP verdict — is completion-state-driven work. The Tester doesn't stop until all tests pass. The Reviewer doesn't approve until quality gates are met. The pattern extends from code to any business workflow:

DomainCompletion State
CodeAll tests pass, reviewer approves, no security flags
ResearchEvery claim has a source, contradictions identified, gaps flagged
Lead Generation200 businesses contacted, response rates tracked, warm leads qualified
Competitive AnalysisFull market map, pricing gaps identified, positioning opportunities surfaced
Security AuditEvery endpoint tested, vulnerabilities ranked by real risk, fixes verified

The 7 Basics Most People Are Missing

Karpathy's working system — 258K views — distills to seven infrastructure patterns. Not secret prompts. Infrastructure.

01

Context > Prompts

Write a clear request. Include a concrete example of good output. Paste full errors. No secret instruction teleports your background into the model's head.

02

Your Config File Is Probably Garbage

It must explain who you are, what the project is, what not to touch, naming conventions, and format rules. Most people copied a template or let the AI write it.

03

Build a Three-Layer System

Raw notes → processed wiki → compressed config. New info drops in raw, gets processed into wiki, config stays lean. 30 min/day saved, compounding.

04

Save Permanently After Every Strong Answer

Your best outputs drown in chat history. Audit for duplicates, conflicts, and outdated info. File it or lose it.

05

Add Index + Log for Long Projects

Without a map of everything and a running changelog, you won't remember day 3 after two weeks.

06

Small Steps, Evaluate, Commit

Load full context → 2-3 options for next small step → pick one → evaluate/test/commit → repeat. Never ask for everything in one prompt.

07

Structure Output as HTML

One sentence for 10x readability: "Structure your final response as a self-contained HTML file."

APIs Built for Humans Break Under Agent Use

freeCodeCamp's deep dive on API design for AI agents hits a nerve: APIs built for humans break under agent use. Not because agents are dumb — because APIs were never designed for a consumer that can't read Slack threads or infer "this 404 usually means you forgot the workspace ID."

Three principles:

PRINCIPLE 1

Deterministic Behavior

Same inputs + same state = predictable outcomes. No hidden magic, no silent coercion. Model lifecycle explicitly: draft → submitted → approved. Not an overloaded status field that means different things in different contexts.

PRINCIPLE 2

Strong Schemas

OpenAPI as contract, not souvenir. Every operation explains WHEN to use it. Every property has a realistic example. All responses documented — 4xx and 5xx with stable JSON shapes. Verbose is fine. Vague is death.

PRINCIPLE 3

Guardrails at the Boundary

Least-privilege credentials. No CAPTCHAs mid-run. Validate hard, fail loud: error_code + message + field pointer + doc_url. Separate "read the world" from "change the world." Rate limits tuned for bursty agent behavior.

Small Models Just Got a Lot More Useful

NVIDIA's MOPD paper (Multi-Teacher On-Policy Distillation) cracked cross-tokenizer distillation — you can now distill knowledge from models with entirely different tokenizers into one set of weights. Qwen3-4B + Phi-4-Mini + Llama-3B → Llama-3.2-1B scored MMLU 32→46. That's a 45% relative improvement on a 1B model.

Why this matters for business: Sub-2B models become genuinely useful for production. You're no longer locked into one model ecosystem's training pipeline. Cross-family distillation means custom small models pulling best knowledge from Qwen, Phi, and Llama simultaneously. Lower inference cost, same quality bracket. This is the path to self-hosted, cost-controlled AI that doesn't sacrifice capability.

AI-Powered Financial Analysis — The Toolkit

The financial analysis toolkit breakdown maps directly to competitive intelligence work. Four layers:

LayerPurposeKey Tools
L0 — Data HouseParse SEC filings into clean dataedgartools (MCP server included), BamSEC
L1 — Catch LiarsForensic scoring (earnings manipulation, bankruptcy, accruals)Beneish M-Score, Altman Z-Score, Piotroski F-Score, FinanceToolkit
L2 — Read the WordsDiff year-over-year Risk Factors / MD&A for what's new or cutedgar-crawler, Hudson Labs, AlphaSense
L3 — OrchestrationMulti-agent investor personas, open-source Bloomberg terminalai-hedge-fund, OpenBB (MCP server included), FinGPT

The Bottom Line

Every piece of research this week says the same thing in different words: build the system, not the prompt.

Memory, structure, specialized components, small steps, persistence. The model is one component. The system around it is what determines output quality.

We didn't read these papers and then build our stack. We built our stack, then read these papers and discovered that the most rigorous minds in the field converged on the same architecture — independently. That's the strongest validation possible.

The Planner plans. The Coder codes. The Tester tests. The Reviewer reviews. Small, committed, evaluated steps. Persistent memory. Guardrails at boundaries. Completion states that define what "done" looks like.

This isn't theory. It's production. And it's what we do.

Sources

  • • SkillOpt — Microsoft Research, DAIR.AI weekly roundup
  • • Compiling Agentic Workflows into Weights — DAIR.AI weekly roundup
  • • AutoScientists — Harvard, DAIR.AI weekly roundup
  • • Language Models Need Sleep — DAIR.AI weekly roundup
  • • Life-Harness — 116/126 settings improved, DAIR.AI weekly roundup
  • • "Most AI Agents Fail in Production Because They're Built Backwards" — Benjamin Nweke, Towards Data Science
  • • "Stop Giving Every Agent Its Own Skull" — Pejman Pour-Moezzi (Magoosh founder)
  • • "20 Opus 4.8 Workflows That Make Money While You Sleep" — @sairahul1
  • • "The Eternal Sloptember" — George Hotz
  • • Karpathy's 7 Basics — @ScottyBeamIO, 258K views
  • • "How to Design APIs for AI Agents" — David Aniebo, freeCodeCamp
  • • "15 Claude Code Repositories Most Developers Have Never Heard Of" — @thegreatest_sv
  • • NVIDIA MOPD — Pavlo Molchanov, arxiv.org/pdf/2605.21699
  • • AI-Powered Financial Analysis Toolkit — @gemchange_ltd
  • • Google SRE, Google Pay, Google AI Threat Defense — three articles on agentic operations