Agents: read the raw Markdown of this page, or start at llms.txt.
Patterns: coding agents, dev tools and self-compiling workflows
TL;DR Three decision shapes, split from Patterns: agent internals, routing, gates, context and memory on 2026-09-25 with their IDs unchanged: P10 staged diff review and semantic lint, P11 test-output interpretation, P37 self-compiling workflows. Scan Decision, then Map. Agent loops, routing, gates, context and memory (P01-P09, P35, P36) stay on Patterns: agent internals, routing, gates, context and memory.
How to read this
One pattern = one narrow judgment. Fit is our verdict against Jev 1.13 jaggedness: known failure modes and System One Models: strong = bounded options, semantic judgment, code owns the rest (still starts with an experiment); workable = real, caveat named; poor = arithmetic, dates, indirection, generation or huge state. Pattern IDs are permanent; the full index is Decision patterns from the community (with fit verdicts). Posted numbers are attributed and unverified.
Coding agents & dev tools
P10 Staged diff review and semantic lint
- Decision does this hunk carry a correctness, security or house-rule risk
- State one diff hunk, its context, and the rule text verbatim
- Ask
Noulper risk class and per rule, plus severityScore, one request per hunk - Code aggregate with
max, not a mean; follow strong signals into a second pass - Fit workable — literal reading means every rule needs its own precise question
- Map Writing instructions and criteria that Jev reads correctly
- Seen @devagrawal09,
devagrawal09/jev-review,jkudish/jev-mcp(MCP tools: a four-rubricScorecomposited in code, plus an evidence gate on "tests pass" claims),valentynkit/jev-commit(five checks of message vs staged diff in one request; warns, and blocks only a credential on an added line; author: four cents per thousand commits),doeixd/jev-pref(AGENTS.md preferences compiled into semantic lint rules),supercorp-ai/supercov(quality and security scores per file beside coverage, cached by content hash; vendor: about a cent per megabyte of source, so the source is read by TypeSafe's API (inferred)),0x7067/claude-jev(rules read from the instruction files you already keep, one batchedNoulper rule a hunk could break; blocks at ≥ 0.80, a second call with more context for 0.50-0.80; author, v0.21.0: 22 of 247 accepted real edits blocked, 17 of them by one repo's own no-comments rule, and 17/29 planted violations caught: a rule your team ignores will fire; Builds: permission gates, approvals and model routers for agents)
P11 Test-output interpretation
- Decision did tests pass, and is the failure related to this change
- State raw test output plus the diff
- Ask
Noul(passed?) plusChoiceoverunrelated_flake | related | environment - Code parse exit codes and counts in code; only attribution is a question
- Fit workable — counting is a documented weakness, so never ask "how many failed"
- Map Jev 1.13 jaggedness: known failure modes
- Seen @cyrilXBT (~13s overhead down to ~0.83s)
Self-compiling workflows
P37 Self-compiling workflow: let the agent do the job, then fire itself from it
- Decision per case, can the learned workflow handle this or does it go back to the full agent — plus every typed question inside it
- State the case record; inside the workflow, one item plus the criteria written from the procedure (Jev never sees the 508-line SOP)
- Ask four shapes — Route (
Choiceover branches plus an unsure branch), Classify (output schema → questions: enum →Choice, boolean →Noul), Sift (oneNoulover every list item in one request), Pick (Choiceof one item or none) — plus averifyclause checking an agent's submission field by field against the evidence it cited, and confidence predicates gating retries and escalations - Code "Jev decides what a thing is; code decides what follows": ages, dates, tallies, two-strikes rules, and the share of cases routed to the workflow
- Fit strong — the decision/action seam, credited to 12-Factor Agents: an agent only where something must be found or done in the world, a typed question where something must be decided, code where mechanical. Compiling is a frontier agent's job, not Jev's
- Map Intent routing, Testing and evaluating a Jev workflow, Confidence vs probability
- Seen @MiguelriosEN (Grep.ai's AgentRun article), announcement @_aj
What to copy. Share growth, scheduled in advance: of 1,000 AML alerts the first 100 ran the full agent for traces and notes; then 50% of the next 200 could try the workflow, 75%, 90%, all of the last 300 — ending 98 in 100, hand-backs ~1 in 20 early, ~1 in 70 late. Validation: a candidate ships only after beating the live version on a dev set, plus a reserved set the author never sees — he matched every dev label yet scored the same reserved. Asymmetry survives compilation: clearing a true match is the regulatory failure, so thresholds stay lopsided, not a rubric average. Governance: each decision names its node, model, inputs, questions and probabilities, answers kept — a verdict-rules rewrite replayed 868 hits in two minutes for a few cents, no model call. Open problems: the by-the-book agent took 826 tool calls and 51 minutes (two runs hit the hour unfinished); splitting too finely leaves a judge with half the policy; crash recovery skips model nodes and nested workflows.
Their numbers, Grep.ai-reported and unverified: $3/alert for a frontier agent ($2.89 production → $0.25 over 100 alerts); 50–95% savings; 100,000 alerts >$290K on Opus 5 versus <$26K with the harness; their compliance judge scored 90% (first 100, full agent) to 95% (last 300). Jev claims verified as consistent with official pages, not independently measured: ~150 ms sits inside the 70–500 ms claim, and "a few hundred-thousandths of a dollar" per answer matches $0.042/Mtok input, output free (700 tokens, Models, aliases, pricing, rate limits, context).
Related
- Decision patterns from the community (with fit verdicts) — index, routing, anti-patterns; Patterns: agent internals, routing, gates, context and memory — agent internals, routing, gates, context, memory (P01-P09, P35, P36)
- Builds: coding agents, harnesses and orchestration, Builds: permission gates, approvals and model routers for agents — builds behind these patterns; Repos: coding agents, orchestration, memory, browser and computer use, integrations — the repos in Seen
- Consult guide: could Jev help this project? — the "could Jev help this project?" conversation; Measurements, access routes and open replicas — the Grep.ai numbers beside other measurements
Sources
Links are inline in each Seen line; the files behind them are in the frontmatter. P10, P11 and P37 moved here verbatim from ideas/patterns-agents on 2026-09-25; only the claude-jev entry in P10 is new.