From Coding Prompts to Delegated Projects: Factory’s Workstreams

Ross Cefalu and Dex Horthy show how an orchestrator, shared context and human review support long-running agent work.

RCRoss Cefalu登壇者 · FactoryDHDex Horthy登壇者 · Factory
チャンネル
AI Engineer
公開日
2026年12月4日
動画
1:01:25
読了時間
11 分
スライド
6
原文
英語
YouTube で開く
スクロールすると動画は右下に小さくなって再生を続けます。字幕は閲覧言語に合わせて切り替わります。
閲覧言語2 言語で読めます
この記事はまだ日本語に翻訳されていないため、英語の原文を表示しています。
要約

30 秒でわかる

A coding agent can generate pull requests faster than a person can review them, so delegating a project requires more than running agents in parallel. Factory’s Ross Cefalu and Dex Horthy demonstrate Workstreams, where an orchestrator assigns tasks, agents share plans and notes, and recurring triggers keep work moving. They show a review view that groups related changes and attaches validation, while Horthy cautions that AI review and linting alone cannot guarantee good architecture. Their examples also show how isolated cloud environments can prevent agents from interfering with one another.

  1. 1An orchestrator can divide a goal into ongoing workCefalu describes a chat-based coordinator that delegates tasks to agents while people retain the ability to guide or intervene.
  2. 2Shared context helps agents keep a long project coherentPlans, decisions and handoffs live in a shared folder, giving workers and people a place to record and retrieve project context.
  3. 3An active project can generate more pull requests than a team can absorbHorthy shows a workstream with merged and draft changes and says the team limited the number of open requests after review bots were overwhelmed.
  4. 4Review should group changes and show evidenceThe demonstration organizes changes by product behavior and code area, with a validation view. The speakers say reviewers still need to understand important parts of the system.
  5. 5Repeated review comments can become reusable checksCefalu describes storing recurring patterns and feeding them into skills; Horthy suggests turning frequent findings into linter rules.
  6. 6AI review is useful but does not guarantee architectureHorthy says AI and linters can catch issues, yet people still need to understand the system and inspect critical code.
  7. 7Cloud sandboxes avoid some collisions between parallel agentsThe presenters contrast local worktrees with isolated environments when services, ports, memory and performance measurements are shared.

ポイント

  1. Give a long-running agent a goal, shared context and a clear way to surface decisions to people.
  2. Plan human review capacity before increasing the number of parallel coding agents.
  3. Group changes by meaning and attach validation evidence so reviewers can focus on important code.
  4. Turn recurring review findings into reusable rules or skills, then maintain and check them.
  5. Use isolated environments when parallel agents would compete for ports or machine resources.
全文

チャプターごとに整えた全文を読む

文字起こしのみ
01

Delegate a stream of work rather than one prompt

Cefalu introduces Factory Workstreams as an orchestrator that divides goals among agents. People can steer the work at different levels of detail.

Ross Cefalu introduces Factory’s Workstreams, a product for longer-running coding-agent workflows. Factory’s earlier Missions product explored agents that could operate for days or weeks; he describes Workstreams as a later iteration informed by model changes and customer experience.

Instead of prompting for one task, waiting and repeating, a person gives an orchestrator a broader direction. The orchestrator divides work among agents, considers dependencies and returns results such as pull requests. Cefalu compares the interaction to speaking with an engineering manager who delegates to a team.

This does not require the human to disappear. The developer supplies direction, scaffolding and guidance, and can choose how closely to participate. Some users work mostly through the orchestrator; others enter individual agent sessions to inspect and redirect the details.

From a single prompt to a workstream
スライド 1 / 6From a single prompt to a workstreamThe slide contrasts sequential prompting with an orchestrator delegating work across agents.
02

Match the workflow to the kind of project

The presenters discuss development, migrations, recurring checks and measurable research as possible uses. The amount of planning and oversight depends on the task.

Cefalu describes several possible workflows. His development-partner workstream handles bug-fixing work with context about his priorities and preferences. A shared space helps the orchestrator, workers and people maintain a common view of the task.

Possible workstream uses
スライド 2 / 6Possible workstream usesThe examples include development, migrations, recurring checks and research.

Recurring automations can check for issues or scan for potential vulnerabilities, then surface findings or carry out work according to the setup. Cefalu says some simple changes may be merged automatically in their workflows; an engineer can also remain the final approval gate.

For migrations, the team has seen long runs with substantial planning before implementation. Cefalu describes validation loops as a way to check progress while agents work for an extended period, with less day-to-day intervention than some other tasks.

Another use is research or optimization against a measurable objective, such as a performance metric. Agents can run repeated experiments, but Cefalu says a long-running workflow still needs to remain aligned with the original expectations.

At Factory, Cefalu says he uses a review workstream to look for performance regressions in changes affecting the user interface. Individual engineers can encode priorities that a generic review bot may not know, while the organization still runs its own broader checks.

More output also creates more review work. Cefalu says he has seen a workstream produce 100 pull requests in a day, making the human review queue a bottleneck. A second automated workflow may help inspect changes, but people still need to decide how to handle them.

Users can customize the orchestration and choose where it runs. Cefalu describes combining a local coordinator, a user-owned machine and temporary cloud sandboxes, according to the needs and constraints of the project.

03

Choose where agents run and how closely to supervise

Local machines and cloud sandboxes can be combined. A human sets a goal and selects how much interaction to retain.

He suggests starting with a goal and discussing it with the orchestrator. For some work he prefers describing the direction without prescribing every step, while retaining guardrails. The appropriate degree of detail and supervision depends on the work and the person’s preference.

Some developers open each agent’s session and stay close to the implementation; Cefalu often talks mainly to the orchestrator. He says there is no single correct level of involvement, especially when different people enjoy and trust different workflows.

04

Keep plans and handoffs in shared context

The orchestrator coordinates workers across environments and uses a shared folder for project state. Pull requests and recurring automations return work for review.

How the workstream pieces connect
スライド 3 / 6How the workstream pieces connectThe diagram shows a goal, orchestrator, shared folder, worker agents, automations and pull requests.

The workstream diagram connects a person’s goal to an orchestrator, worker agents, a shared folder, automations and pull requests. The shared folder can contain plans, research, notes, specifications and handoffs that the participants use as project context.

Cefalu keeps review preferences and patterns relevant to teammates in that shared space. The aim is for an orchestrator to retrieve useful context when reviewing a change rather than requiring the person to repeat the same expectations each time.

The orchestrator’s tools let it create workers, ask for status, receive messages, interrupt an agent and set up an automation. Cefalu wants the coordinator to remain available to the human and delegate most implementation work to other agents.

Workers can use configured models, skills and tools, report back and live for different lengths of time. Some handle a short disposable task; others may persist through a longer project. The arrangement depends on the instructions and the work.

The system can combine environments when information must remain on a particular machine but other tasks can run in temporary cloud compute. Cefalu says scalable isolated machines are useful when work fans out across many agents.

Maintaining coherence gets harder when a goal is subjective. A measurable target such as reducing a number provides a clear reference; “make the product better” leaves more room for choices that may conflict with a user’s preferences.

Shared context across agents and machines
スライド 4 / 6Shared context across agents and machinesThe slide describes how agents and the orchestrator share plans, notes and handoffs.

Agents and people can write plans, decisions and handoffs to a shared folder and read them later. Cefalu describes it as a source of project context across workers and says agents can also communicate directly when information appears stale.

The outcome is often a set of pull requests. Factory’s review view offers walkthroughs, semantic groupings and validation because a human cannot easily absorb a high volume of raw diffs. Cefalu says an early version without integrated review accumulated unmerged drafts.

Pull requests collected for review
スライド 5 / 6Pull requests collected for reviewThe product view groups workstream pull requests by status and exposes review and validation.

Automations can wake work on a schedule, for example to summarize open tasks or inspect new bug reports. Cefalu says users may request them or an orchestrator may suggest them, with the level of approval depending on the chosen workflow.

05

A live project shows planning and review pressure

Horthy presents a workstream that has run for roughly two weeks. Its growing set of pull requests requires limits and human decisions.

An audience member asks about model selection. Cefalu says agents and the coordinator can use configured models, and suggests using a stronger model for high-level orchestration while assigning simpler work to other models. He describes finer-grained delegation as an intended evolution.

For a full development workflow, the system can produce plans and specifications for human approval before delegating implementation. Later checks can review the resulting changes; whether anything merges automatically is a separate choice.

Dex Horthy, formerly CEO of HumanLayer and now working with Factory, takes over a live demonstration. He shows a Workstream that has been running for about two weeks on a feature, with multiple agents researching and implementing different parts.

The shared filesystem contains research, a product requirements document and a stack of pull requests. Horthy shows 22 merged requests, five drafts and two open requests at that moment. He says the team limited the number open at once after its review bots were overwhelmed.

His instruction is to keep two requests open, monitor their status and promote the next draft when a slot becomes available. The orchestrator reports that a request is approved and ready; Horthy uses that status to decide what to do next.

The requirements and technical design documents are also a way to get input from product staff and other engineers. Horthy says the project involved substantial planning before implementation, including a breakdown of the feature into smaller slices.

06

Combine agents, shared files and triggers

The demo shows product documents, project context, agent messaging and recurring or event-driven automation. Humans can talk to the coordinator or intervene with a worker.

He describes using an open-source skill from the HumanLayer repository for stages of research, planning and implementation. Workstreams itself, he says, is intended as a set of building blocks rather than one mandatory software-development process.

The shared filesystem gives agents access to common context, while automations can wake a worker or coordinator on a schedule or in response to an event. Horthy gives pull-request status and requested review changes as examples of events a team might connect.

In his example, a worker responsible for the product requirements document remains available as implementation proceeds. When the team discovers something unexpected, the orchestrator can ask that worker to update the description of what is being built.

Orchestrator, workers and shared state
スライド 6 / 6Orchestrator, workers and shared stateHorthy’s diagram adds automations to the shared project context and agent relationships.

Horthy sketches the relationship among orchestrator, workers, shared files and automations. His workers run in cloud environments created from a prepared template; each starts with a repository and the tools and skills specified for that environment.

An audience member asks whether the shared filesystem is the only way agents learn from one another. Horthy says workers can also message the orchestrator, which can send steering messages while they run or when they are stopped. A human can likewise enter a worker session directly.

He says he talks to the orchestrator most of the time, but sometimes goes directly to an agent for a detailed interview. In the demonstration an automation can notify a worker later, reducing the need for that worker to poll continuously.

07

More parallel work makes shared planning valuable

Horthy argues that documenting intent helps larger teams coordinate. The discussion leads into a review interface for understanding generated changes.

Asked about planning on a larger team, Horthy argues that writing down product intent becomes more useful when many autonomous groups are working at once. Teammates can inspect a requirements document, challenge choices and send feedback before or during implementation.

He warns against treating a software factory as entirely unattended and losing touch with the system’s architecture. The goal of planning is to make intentions visible to the team, not to eliminate communication or replace every engineering judgment.

08

Review changes through walkthroughs and validation

The demo groups related code changes and shows evidence for a UI change. The speakers discuss retaining deeper human attention for critical files.

Cefalu shows a pull-request walkthrough. It describes the user-facing product change, then organizes the related code areas and a semantic view of modifications. The raw file changes and ordinary review comments remain available.

Horthy contrasts that organization with reading files in alphabetical order. A reviewer may want to understand a database change first, then the API, then the interface; grouping the material by meaning can make that sequence easier to follow.

For a user-interface change, Cefalu says an agent can run the application and provide a video as validation. The aim is to make a change easier for a person to understand with evidence, while still allowing them to inspect individual code blocks.

09

Convert recurring review findings into rules

Stored patterns can inform agent skills and lint checks. The speakers describe automating repetitive checks while keeping the standards explicit.

Cefalu says some core files deserve deeper review than others. He keeps a shared file of recurring front-end mistakes and uses an automation to feed patterns back into skills, so that future agents can be guided by what reviewers have learned.

Horthy suggests looking across repeated pull-request comments and turning common findings into linter or formatting rules. He points TypeScript users to Oxlint and examples of shared rules, while noting that different languages have their own tools.

Cefalu gives an example of a team adopting an opinionated rule against a particular React pattern. He argues that agents can make some strict conventions easier to follow, although the team still has to choose and maintain the convention.

10

AI review helps but is not enough on its own

Horthy distinguishes finding defects from understanding architecture. The presenters discuss keeping specifications current and choosing how much detail to require.

Asked whether Workstreams integrates with other harnesses, Cefalu says the product’s workstream concept works within Factory’s Droid system. He distinguishes that product boundary from general orchestration ideas that can be used elsewhere.

The presenters explain that some parts of the walkthrough use deterministic code analysis, while much of the explanatory description is AI-generated. The actual diff remains the real code change, not an AI reconstruction.

Horthy says linters and AI review can catch routine mistakes and edge cases, but are not sufficient by themselves to ensure an architecture will remain sound. His priority is helping a human understand the system, with summaries pointing to critical code that may warrant closer inspection.

Another question concerns stale specifications. Cefalu says workers can inspect current repository commits and other sources. Horthy describes small recurring loops that compare implementation with the specification, update documents or surface a new decision to a person.

11

Parallel agents need isolated environments

Local worktrees help separate edits, but services and resources can collide. Cloud sandboxes offer another way to run and test work in parallel.

An audience member asks about using Git worktrees to prevent agents from editing over one another. Cefalu says local worktrees are useful, while their demonstration gives each agent a separate cloud sandbox. He finds local worktrees become harder to manage at very high levels of parallelism.

Horthy notes that isolated files are not the whole problem: multiple local services may compete for ports, and several builds can exhaust memory. Separate environments can make it easier for agents to run a complete test stack without disrupting one another.

Cefalu adds that shared machines can distort performance measurements when many agents run tests simultaneously. A controlled environment helps reduce that interference, while cloud resources make it possible to run more work than a laptop can comfortably handle.

12

Bottlenecks, evaluation and team collaboration

The speakers discuss uses beyond engineering, review overload, measuring regressions and collaboration. They close with open questions about benchmarks and ongoing work.

Asked about non-engineering use, Cefalu says colleagues in sales and finance have also experimented with Workstreams. He describes account-specific context as one example, while acknowledging that the product was not specifically built for every such role.

The presenters return to review capacity. Cefalu recalls receiving 37 pull requests to review one morning and says making review approachable became an obvious bottleneck. Running many agents also requires enough isolated compute to keep their work from colliding.

An audience member asks how to evaluate changes to skills without introducing regressions. Cefalu says the answer depends on what is being measured: for performance, the team can compare each change with baseline metrics, but each workflow needs a source of truth for its objective.

Cefalu says a user can also delegate to a machine they control, including a cloud machine, rather than only to a local laptop or Factory’s temporary environments. The choice depends on where the required resources and information live.

Asked about collaboration among multiple people, Horthy says shared prompting and documents were important in earlier prototypes. He expresses interest in people collaborating around a workstream, while treating future product features as something still to come.

Asked for benchmarks of agent swarms, Cefalu points to a company blog post comparing approaches to long-running tasks. He does not recall specific numbers during the session. The group then checks on the live run rather than presenting a benchmark result.

In the final demonstration, Cefalu says the coordinator assigned agents to different portions of the repository. The example illustrates how it attempted to divide work so those agents could operate with fewer collisions.

同じチャンネルの記事

スライド 4 枚11:42EN
AI Engineer· 2026年12月4日A clean code review is not the same as a safe mergeItamar Friedman · QodoQodo’s Itamar Friedman separates potential damage, reach and behavioral complexity to decide which changes need human review.Software engineeringコーディングエージェント評価(Evals)
スライド 7 枚23:31EN
AI Engineer· 2026年12月4日Ankit Jain: Review Decisions and Evidence, Not Just AI CodeAnkit Jain · AviatorAviator’s nine engineers moved from reading every diff toward checking decisions, rules and evidence as AI quadrupled their output.Code review & verificationコーディングエージェント開発ワークフローとテスト+2
スライド 5 枚1:01:19EN
AI Engineer· 2026年12月3日Build a coding agent harness: tools, budgets and contextTejas Kumar · IBMTejas Kumar turns a chat loop into an agent, then swaps the model and tools to show which pieces can be reused.エージェント工学コーディングエージェントコンテキストエンジニアリング+2
スライド 5 枚26:34EN
AI Engineer· 2026年12月3日Joe Zein: Turn private-equity archives into context AI agents can useJoe Zein · Soal LabsA low-cost-first pipeline extracts, reconciles and traces decades of fund records before agents can rely on them.Data quality & curationAI agentsKnowledge graphs+1
スライド 4 枚17:31EN
AI Engineer· 2026年12月3日Natalie Serrino: Faster AI changes what agents can doNatalie Serrino · Gimlet LabsA two-minute agent turn breaks a builder’s flow. Faster inference can help, but tool calls and the speed–throughput tradeoff still matter.InferenceAI cost & performanceコーディングエージェント+2
スライド 8 枚1:02:59EN
AI Engineer· 2026年12月2日Kent C. Dodds: build a feedback loop before letting agents shipKent C. Dodds · KodyMaps of reusable components, verifiable pull requests and tested recovery help coding agents work with less human review.コーディングエージェントエージェント工学開発ワークフローとテスト+2