Skip to main content
Beta
Factory is in private preview and is enabled per workspace by the Orq.ai team.

Use cases

Settle scope, approach and trade-offs on the Plan, so the pull request review checks the implementation instead of reopening the design.
Collect comments and answers from everyone affected in one document, instead of spreading them over chat threads and review comments.
Ask the agent to implement the agreed Plan in the same Session, so it builds on decisions that were already made.

Overview

A Plan is a Markdown document that describes a change before it is built. Every Plan has a Session attached. The owner iterates on the Plan with the agent in that Session, and teammates comment and answer the questions the agent raises. Disagreements surface while the change is still cheap to redirect, which is what takes time out of the pull request: reviewers have already agreed on what is being built. Plans live in the Plans page of the Factory sidebar.

Create a Plan

A Plan starts in one of two ways.

Iterate with the agent

The owner of a Plan works on it in the chat next to the document.
  1. Describe the change in the composer.
  2. Click Iterate.
The agent decides what the message needs. It answers a question in the chat, publishes a new revision, or asks for a decision first.

Collaborate on a Plan

Everyone with access to the Factory can review a Plan. Each role has its own part.

Comments

Comment on the whole Plan, or select a passage and comment inline. Open comments are sent to the agent with the next message. A comment is Open until the agent marks it Resolved or Dismissed. A dismissed comment carries the reason. The Annotations tab lists all comments.

Decisions

When a choice changes the Plan and the agent cannot infer it, the agent asks a decision. Each decision is a single-choice, multiple-choice or free-text question, and it comes with a recommended option. The chat is blocked until every open decision is answered. Teammates can answer, and the owner then continues the iteration.

Revisions

Every change the agent publishes is a new revision.
  • Go to revision: open an earlier revision.
  • Show changes: compare revisions in a split or unified diff.

From Plan to pull request

Once comments are resolved and decisions are answered, the Plan is the agreed brief. The owner implements it in the Session attached to the Plan.
  1. Open the Session tab of the Plan.
  2. Ask the agent to implement the Plan.
  3. Review the changes and click Open PR.
The agent keeps the whole planning conversation, so the implementation follows the comments and decisions the team already settled.

Limitations