What starts a factory
Factories run on events, not prompts. The triggers in use today, and the intake filter that decides which events deserve an agent run.
A coding agent waits for a person to type. A factory waits for something to happen. That shift is most of what makes it a factory: the person who would have noticed the bug, opened the editor and prompted the agent has been replaced by a webhook.
The triggers in use
| Trigger | Example | Who uses it |
|---|---|---|
| New issue or webhook | GitHub webhooks feed an issue queue; workers pick items up and start agent runs in sandboxes | Vercel's AI SDK factory (Vercel) |
| A label on an issue | A triage needed label starts reproduction; later labels move the issue through the pipeline | Cloudflare's Astro triage (InfoQ) |
| An issue tracker state | Every open Linear issue gets its own agent workspace; the orchestrator watches the board | OpenAI Symphony (InfoWorld) |
| A chat message | An engineer tags the bot in a Slack thread, and the thread becomes the task | Stripe Minions (ByteByteGo), Ramp Inspect |
| A production alert | A Sentry webhook starts a worker that checks out the repo and runs an agent grounded in the stack trace | Sentry, Warp demo |
| A CI failure | A failing workflow on the main branch starts a diagnosis run | GitHub Agentic Workflows |
| A pull request | Opening a PR starts automated review or CVE remediation | Ona automations, Cloudflare's AI code reviewer (Port) |
| A schedule | Nightly dependency bumps, weekly docs sync, fleet-wide migrations | Spotify's Fleet Management and Honk (InfoQ) |
| A spec or PRD | A requirements document is distilled into plans, then tasks for agents | 8090's Software Factory (Ry Walker) |
Platforms now sell the trigger layer itself. Warp's Automation Platform lists schedules, CLI, API and SDK calls, Slack, Linear and Jira integrations, GitHub mentions, GitHub Actions and custom webhooks as trigger types, and can launch either its own agent or Claude Code from any of them (Warp docs). primary source
Three families
The triggers fall into three groups, and each needs a different kind of goal:
- Work requests (issues, labels, Slack mentions, specs). A person asked for something. Each one is a bounded goal with a clear "done".
- Signals (alerts, CI failures, PRs). Nobody asked; the world changed. These are a standing goal firing: "keep main green", "keep error rates down".
- Schedules (nightly, weekly, fleet-wide). Maintenance that nobody would ever file a ticket for: migrations, dependency upgrades, docs drift.
The third family is where factories quietly do the most volume. Spotify's Fleet Management system has been opening automated PRs since 2022 (reportedly 652,000 of them in 2024), well before agents arrived; the agent made the changes smarter, not the fleet possible (Tech Trenches). secondary reporting
The intake filter matters more than the trigger
Wiring a webhook to an agent is easy. Deciding which events deserve a run is not, and it's where several teams put their first effort:
- Classify first. Vercel's first step was issue classification, before any agent tried to write code. A separate analysis step writes a probe to confirm a requested feature really is missing (Vercel). primary source
- Filter noisy signals. One public factory spec only acts on Sentry alerts for server errors and unhandled exceptions with at least 3 events or 2 affected users within an hour, and only on CI failures on the main branch (MYOS spec). anecdotal
- Don't double-fire. Webhook providers retry. Sentry gives a webhook about one second to respond, so handlers acknowledge immediately and schedule the work in the background; one open-source stack found its assumptions about retries were wrong (background-agents PR). Queue events and deduplicate them, or one alert starts two agents. anecdotal
- Route judgment calls away. OpenAI says ambiguous problems and work that needs strong judgment still belong in interactive sessions, not on the Symphony board (InfoWorld).
Every trigger is an input from the outside world