dotFactory vs Devin for AI agent workflows
Devin, from Cognition, is an autonomous AI software engineer you delegate work to: it plans, writes, runs, and tests code, and it is built to leave you a pull request to review. dotFactory, by RedBeardLab, is a hosted platform for orchestrating agents as typed, inspectable workflow steps. You declare what goes into the model, what must come out, and what happens next — including opening a pull request from a branch the agent already pushed, coming back when CI fails, and pausing for a person. If you want an engineer-like agent to take a ticket, start with Devin; if you want a reviewable .fct graph around agents, start with dotFactory.
This article compares documented capabilities. It is not a benchmark. For how dotFactory sits next to other orchestrators, see Orchestrating AI agents: dotFactory vs GitHub Actions, n8n, Temporal, and Airflow.
What Devin is good at
Cognition's docs describe Devin as an autonomous AI software engineer that can write, run, and test code, aimed at backlog work such as tickets, features, bug fixes, tests, documentation, and refactors. The product site says Devin can run in the cloud or on your machine, test in its own browser, and keep going until a pull request is ready to review.
You can follow that work in an embedded IDE, a shell, and a browser, or take over a first draft. Devin is also available as a CLI, and you can tag it in Slack or Microsoft Teams. Integrations include GitHub (including starting a session from a /devin comment on a pull request), GitLab, Bitbucket, Azure DevOps, Jira, Linear, and others, plus plugins and MCP servers. Automations can start sessions from events such as Slack messages, GitHub webhooks, Linear updates, schedules, and custom webhooks — including CI check failures. Cognition also documents a Devin API for creating sessions and retrieving results programmatically.
If you want to hand a well-scoped engineering task to an agent and come back to a pull request, or to have automations start those sessions when CI fails or a ticket arrives, that is the job Devin is designed for.
What dotFactory makes easy
dotFactory is not an autonomous software engineer. It is the typed workflow around agents you configure as steps.
In dotFactory, an agent runner such as opencode or codex-cloud is a leaf in a .fct graph. You bind a prompt and other inputs through ports. Extra inputs are rendered to the model as data; secrets are not. The out: ports become a JSON schema the model must satisfy, so downstream steps receive a typed record — a branch, a title, a body — rather than an unstructured completion. There is no documented Devin runner in the adapter catalogue.
When the agent has pushed a branch, github_pull_request opens a pull request from that head into base, or returns the existing one. The effect does not create the branch. A workflow_run trigger or ci_status can bring GitHub Actions results back into the graph. A human gate pauses the Run on a form, with the agent's context shown to the reviewer. The Run page then shows the flow, the model's outputs behind Reveal, effect URLs, redacted secrets, and logs and traces.
Devin already opens pull requests, reviews work in its own workspace, and can be started from CI failures through Automations. The difference is what you version and inspect: a Devin session you delegated, versus a factory definition whose types, bindings, and gates you can read after every Run.
dotFactory is a hosted service. Its platform code is not open source, and you cannot self-host it. You can run compute in your own AWS account. The language specification is published if you want to implement a different platform.
At a glance
| Devin (Cognition) | dotFactory | |
|---|---|---|
| What it is | An autonomous AI software engineer you delegate tasks to. | A hosted platform for orchestrating agents as typed steps in a .fct graph. |
| How you start work | A task in the web app, Desktop, or CLI; a tag in Slack or Teams; Automations or the API. | A trigger: manual, cron, a GitHub webhook, or an authenticated HTTP delivery. |
| LLM inputs and outputs | The session prompt and Devin's work in its workspace, toward a pull request. | Named, typed ports: bindings into the prompt; out: as a JSON schema the model must satisfy. |
| Pull requests and CI | Devin can work through to a pull request; automations can start from CI failures and other events. | A github_pull_request effect from an already-pushed branch; workflow_run or ci_status for CI feedback. |
| Human review | Follow or take over in Devin's IDE, shell, and browser; review the pull request. | A gate pauses the Run on a form. |
| Watching the work | The Devin workspace: IDE, shell, browser, and session progress. | The Run page: flow, nodes, effects, Revealable values, redacted secrets, logs and traces. |
| Where it runs | Cloud or on your machine, in the interfaces Cognition documents. | A hosted service only. Compute can run in your AWS account. The platform is not open source and not self-hostable. |
When to pick each
Start with Devin if you want to delegate an engineering task to an AI software engineer and come back to a pull request — including from Slack, a ticket, or an automation when CI fails.
Start with dotFactory if you want the agent path itself to be a typed graph: structured model I/O, a declared pull-request step, CI feedback, a human gate, and a Run you can inspect. The agents you run are the hosted platform's documented runners, not Devin.
They can complement each other only in a general sense. Cognition documents a Devin API for creating sessions, and dotFactory documents a JSON API and HTTP triggers. There is no documented Devin adapter in dotFactory, and we have not published a packaged integration. Do not assume the two products plug into each other out of the box.
An example: a delegated ticket vs a typed factory path
A typical Devin loop, as the docs describe it, is to give Devin a Linear or Jira ticket or a bug, let it write and test code, and come back to a draft pull request — or to set an automation so a failing GitHub check starts that session for you.
A factory writes the same kind of path into a graph. An issue or a workflow_run failure can admit a Run. An agent step receives typed context, returns typed outputs, and a github_pull_request effect opens the pull request from the branch it produced. Growing a software factory is the longer version: tests, CI feedback, another attempt. A gate can hold the result for a person, and the Run shows what the model returned.
Both can get you from a ticket to a pull request. Devin is the engineer you delegated; the factory is the workflow you declared.
Frequently asked questions
Devin vs dotFactory for AI agent workflows: which should I use?
Use Devin when you want to delegate a coding task to an autonomous AI software engineer and review the pull request it produces. Use dotFactory when you want a typed, inspectable .fct graph around agents — structured LLM inputs and outputs, declared GitHub effects, CI feedback, and a human gate.
Can I use Devin as a runner inside a factory?
Not as a documented adapter. The hosted platform's agent runners are opencode and codex-cloud. Cognition documents a Devin API, but dotFactory does not ship a Devin integration, and we have not described one here.
How does dotFactory manage input and output from an LLM?
You declare typed ports. Bindings feed the prompt and other data into the agent (secrets are not rendered to the model). The step's out: ports are turned into a JSON schema the model must satisfy, so the next step receives a typed record. See the adapters guide and How data moves through a Factory.
Can I self-host dotFactory?
No. You cannot self-host the dotFactory platform; it is a hosted service, and its code is not open source. You can run compute in your own AWS account, or implement a different platform from the open specification.
If you want to try a factory, start with Your First Factory or the getting-started guide. The overview also covers GitHub Actions, n8n, Temporal, and Airflow.
Written by
Simone has spent more than 10 years building software, from research at CERN to big tech at AWS and fast-growing startups like Rippling. These days he's building dotFactory, because he thinks writing software should feel a lot more like running a well-oiled factory.