# I don't prompt agents anymore...
<!--
ref: @content/youtube/ai-jason/2026-08-25-i-don-t-prompt-agents-anymore
version: 3
updated_at: 2026-10-31T18:17:11.879Z
-->

From AI Jason, 2026-08-25: The term "graph engineering" blew up on Twitter after a Peter tweet asking whether we're still talking loops or have shifted to graphs, and it immediately collapsed three unrelated ideas into one word: control graphs (LangGraph-style workflow/SOP enforcement), knowledge…

**[Watch on YouTube](https://www.youtube.com/watch?v=_9OT25ZvrWs)**


*Synthesized from AI Jason on AI Jason, 2026-08-25.*

AI Jason builds agent systems and runs Super Design, a "vibe design" platform for generating user interfaces, whose team has spent the past two months running production agent loops.

## Core Thesis
The term "graph engineering" blew up on Twitter after a Peter tweet asking whether we're still talking loops or have shifted to graphs, and it immediately collapsed three unrelated ideas into one word: control graphs (LangGraph-style workflow/SOP enforcement), knowledge graphs (entity-relationship retrieval, boosted by Andrew Ng's one-hour agentic knowledge graph course), and "graph of loops" (how many concurrent business loops compound errors and improvements). AI Jason argues the useful one for most teams is the control graph, and that the reason it suddenly matters is a shift from humans prompting agents to *something else* prompting agents on the human's behalf — which makes reliability, not cleverness, the binding constraint. Critically, a control graph does not have to be code: a documented SOP loaded as a skill, plus a few deterministic scripts, is often the better implementation.

## Key Insights
- Two patterns are driving the shift, both of which move the human one layer above the work: **loops** (agents woken by a trigger — time-based like a daily GitHub-issue pull, goal-based like "optimize the frontend until performance improves 200%", or event-based like every inbound email) and the **orchestrator pattern** (you talk to one agent with full context that spins up and monitors a team of executors). Boris, creator of Claude Code, describes running a few agents at any moment and a few thousand overnight for complex work — infeasible three months earlier.
- The classic graph primitives are unchanged — **node** (the action), **edge** (what happens next), **state** (data carried between steps). What's new is what a node can be: it went from a script or conditional check, to an LLM call roughly three years ago, to a full agent today.
- Familiar features are already graphs. Claude Code / Codex **goal mode** is: prompt → agent loop → LLM classifies "goal satisfied?" → finish or send a new message back — implemented via the agent loop plus a stop hook.
- Andrej Karpathy's auto-research project is a graph implemented purely by prompting — no goal feature, no loop primitive existed then. A `program.md` describes the process, the agent edits `train.py` with an experimental idea, runs it, checks the metric, keeps the change if better and reverts if not. State is two files: `train.py` (the artifact being changed) and `results.tsv` (the log of everything tried).
- Deep research follows the same shape: prompt → orchestrator plans topics → fan out subagents per topic → review "is this enough to write the report?" → loop back or generate.
- Design rule for splitting nodes: models are poor at verifying their own work no matter how strong, so the **verifier belongs in its own agent node**; and per OpenAI and Anthropic research, complex tasks warrant a dedicated **planner agent** that only researches and reasons.
- Missing verification is the most common reason loops fail. AI Jason ships a verifier-setup skill in the public AI Builder repo precisely because so many people skip it.
- Modern harnesses already supply the graph primitives: bash for deterministic scripts, subagents and an agent-teams communication protocol for fan-out, and hooks when you want hard deterministic checkpoints in the runtime.
- **Real example — daily bad-design triage** (LLM-as-graph): once a day, pull candidate bad designs from the database using heuristic indicators; if none, stop. Deterministic script surfaces the mechanically checkable failures (errors, broken/non-responsive layouts) and adds them straight to the list; everything else fans out to batched subagents that screenshot the design, compare against the real user request, and emit a fixed output schema. The main agent ranks the worst of the day into a "today's list" file that feeds the eval dataset. Implementation is one skill plus scripts, with an output contract and guardrails.
- **Real example — ship-change workflow** (code-as-graph, via dynamic workflows): three phases — setup and implement, verify, then simplify and open the PR. The agent writes JavaScript using agent-specific primitives (spawn an agent session, `pipeline` for stage dependencies, parallel for fan-out); each session declares a model and an output schema, so its structured result becomes the context for constructing the next node's prompt. There's an open-source project, `de workflow`, implementing dynamic workflows so each node can be Claude, Codex, or another agent library.
- The team keeps a separate repo, "super design AGI," as the state and knowledge base for the whole business — every support ticket handled, every engineering ticket shipped, artifact stores, and skills at the top. Jason now starts agent sessions *there* rather than in the product repo.
- AI Jason defaults to LLM-as-graph for most work, because with dynamic workflows or Codex each node starts a fresh session that can't resume the prior conversation. Code-as-graph earns its keep on extremely large tasks.

## Actionable Takeaways
1. Pick a task you want repeated reliably and write out its SOP end to end before touching any tooling — steps first, then group them into nodes and edges.
2. Split out a **verifier as its own agent node**; don't let the executor grade itself. Grab the verifier-setup skill from the AI Builder public repo if you don't want to write one.
3. Add a dedicated **planner node** for complex tasks, and decide per node what can run in parallel and what can drop to a weaker (cheaper) model versus needing a stronger one.
4. Push deterministic work into scripts: complex data fetching across multiple APIs, common data analysis, bringing the dev server up, and running evals or end-to-end tests. Agents shouldn't be fighting the dev server.
5. Define an explicit **input and output schema for every agent node** so boundaries and expectations are unambiguous — and so the next node's prompt can be constructed from the previous node's structured output.
6. Define a **state artifact**: at minimum one markdown file holding current status, plus an append-only log per agent or per run.
7. Choose your enforcement mechanism last. LLM-as-graph → ship the SOP as text, JSON, or a Mermaid chart wrapped in a skill the agent invokes. Code-as-graph → ship a JavaScript file using dynamic-workflow primitives (spawn/pipeline/parallel), or LangGraph.
8. Consider a separate state/knowledge repo, apart from your product repo, holding history, artifacts, and skills — and start your agent sessions there.

## Notable Quotes
> "No matter how powerful it is, [the model is] not that great at self-verifying its own work." — AI Jason

> "Implementation of graph doesn't have to be code. In fact, it can be just a documented SOP." — AI Jason

> "At any given moment I have at minimum a few agents running. Often overnight I'll run a few thousand agents." — Boris, quoted by AI Jason

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*