Agentic Loops for Knowledge Workers

Host
NLW
Guest
Nufar Gaspar
Date

TLDR

Agentic loops are a way to make AI continue working until it reaches a concrete, verifiable finish line rather than stopping after a single adequate pass. The central knowledge-work skill is not writing longer prompts, but designing tasks that can be checked, converge, run safely, and justify their token cost. When one agent cannot reliably research, review, or scale the work, multiple agents can be composed into a directed work graph with deliberate verification and human gates.

Key takeaways

  1. Agentic work is moving from prompt design toward controlling autonomy. Nufar Gaspar framed the progression as prompt engineering, context engineering, harness engineering, loop engineering, and graph engineering, with each step giving agents more independence and scale. OpenAI usage data presented in the webinar showed a shift around April and May 2026 from mostly assisted ChatGPT-style usage to agentic usage, while advanced users were pulling farther ahead by total tokens consumed.

  2. A useful loop needs a machine-checkable finish line, not an aspirational objective. In Claude Code, Gaspar used /goal to request a token-efficiency playbook containing at least 200 unique data points, URLs and dates for each, no duplicate facts, and a source mix including at least 40 vendor documents, 40 practitioner sources, and 20 benchmarks. The loop generated an artifact and stopped within a 30-cycle cap after progressively checking its results.

  3. Loop-worthy tasks are long-running, verifiable, bounded, and capable of converging. Gaspar recommends looping research, compliance scans, competitive analysis, or campaign optimization when multiple iterations can measurably improve the output, such as higher click-through rates or fewer research gaps. A loop answers “until,” unlike a schedule, which answers “when”; short tasks and work whose core judgment cannot be delegated should remain ordinary agent conversations.

  4. Knowledge workers must manufacture the verification that software engineers get from tests and compilers. Code can often determine whether it compiles or passes tests, but no built-in referee decides whether a management report is sufficiently insightful or an executive communication has the right judgment. A viable knowledge-work loop therefore needs deliberately boring checks such as “every claim cited,” “every competitor covered,” or “summary under 150 words.”

  5. Loop economics require hard constraints because iteration is among the most token-intensive forms of agent execution. The webinar identified runaway spend, repeated cycles without progress, and mediocre outputs that technically satisfy the goal as the main failure modes. Time limits, cycle caps, tool-specific constraints, bounded sandboxes, and explicit stop-and-report fallbacks protect against a task that cannot find 200 sources or a model that keeps asking whether its work is good enough.

  6. Multiple agents are justified by failure patterns, not by the novelty of building an org chart. Gaspar recommends moving from one agent or loop to a graph when self-review becomes a rubber stamp, one agent is wearing too many conflicting hats, independent work could run in parallel, the finish line keeps changing mid-run, or quality flatlines despite better prompting. If none of those conditions applies, adding agents creates complexity and cost without a clear quality gain.

  7. A work graph models execution, while an org chart models authority. In a graph, nodes are agents or tasks and directed edges carry work or information; a loop is simply a graph with an arrow returning to the same node. Unlike the top-down org chart, a work graph captures the sideways handoffs, feedback loops, skipped levels, and late escalations through which work actually moves.

  8. Research is a concrete pattern for composing agents into a graph. Separate agents can research vendors, practitioners, and benchmarks in parallel, then pass structured results to a synthesizer, a fresh-context citation verifier, a report visualizer, and optionally a human reviewer. Gaspar demonstrated adding a citation-verifier subagent after a loop, which sampled 10 data points against their URLs and returned a “ship with one required fix” verdict before the artifact was formatted.

  9. Effective orchestration treats each node as a contract with the minimum necessary context. The model should match the job: cheaper, faster models for mechanical collection and yes/no checks, stronger models for synthesis and judgment, and ideally a different model for verification. Nodes should receive a draft, finding, or rubric rather than the entire prior conversation, while verification should happen early enough to prevent expensive downstream work.

  10. Graph complexity should be introduced progressively, from a sketch to reusable infrastructure. The practical ladder is a whiteboard diagram, an agent’s automatically improvised sub-agents, a natural-language instruction such as “research 5 competitors in parallel,” persistent sub-agent files or skills, visual canvas tools such as N8N, and code frameworks such as LangGraph. Drawing the workflow first exposes ambiguous ownership and sequencing before those flaws become automated.

Insights and implications

  • The real bottleneck in knowledge-work automation is referee design, not agent capability. Once a team can translate “good research” into quotas, source types, citation receipts, and stopping rules, the same underlying loop can handle work that previously appeared too subjective for autonomy. But the webinar’s mediocre-output failure mode shows that metric compliance is not equivalent to quality, so human judgment still belongs at carefully chosen gates.

  • Work-graph design turns process knowledge into a technical advantage. Engineers may know how to implement graph primitives, but domain experts know where work actually branches, which handoffs lose context, and where quality is decided. This means the most valuable automation input is often not an existing SOP copied into software, but a domain expert’s explicit redesign of the process around agent strengths rather than human limits.

  • Token budgets should be managed like architectural budgets, not treated as an afterthought. Parallel collectors, stronger synthesizers, independent verifiers, loops, and human approval can improve reliability, but each adds execution cost and latency. A rational design therefore allocates expensive reasoning only where uncertainty or judgment is concentrated, uses bounded experiments to validate the graph, and keeps one-agent execution as the default rather than treating multi-agent orchestration as a maturity milestone.