Rewriting 5 agents as decision workflows: 20 seconds, 2 cents, 19/20 correct
generativist · x · 2026-10-31
A practical datapoint for agent builders: a team rewrote five agents into decision workflows using typesafe's Jev and P0's Decisions API. A 20-document run took 20 seconds, cost 2 cents, and got 19/20 right.
Key takeaways:
- If the steps are known, use a workflow; decision models are fast, cheap, and easy to test
- Static rules belong in code
- Hybrid pattern: let an agent write the workflow and handle only the cases the workflow can't decide (via Agentrun)
The accompanying discussion frames this as a fix for a perverse agent failure mode: you prompt an agent, iterate once or twice, never build a mental model, and ship when it's "good enough." Decision models keep you in the loop with a legible, natural UI — worth a read for anyone doing agent orchestration.
Related event: Decision Workflows Beat Agents: 20 Tasks in 20 Seconds for 2 Cents(2 posts)→
More from coding & agent
- Vercel Labs ships agent-desktop: token-efficient computer use for the whole OS — cramforce · 2026-10-31
- 83 AI agents spend 45 hours and 3.9B tokens creating "what SI thinks about alone" — tetsuoai · 2026-10-31
- GitHub Copilot App v1.1.34 ships 117 features: faster session resume, agent merge, CSV tables — 0xkarasy · 2026-10-31
- Playwright MCP Server lets AI assistants drive remote browsers — modelcontextprotocol · 2026-10-31
- zero-core-tools: MCP connector bundling scraping, code review, sentiment — modelcontextprotocol · 2026-10-31
- Codex power user shows 71.5B lifetime tokens and a 262-day daily streak — TheMoonMidas · 2026-10-31