Build a ticket-to-PR software factory with Codex and Claude Code
A developer built an open-source Rust pipeline where agents triage GitHub issues, implement fixes, test, and open PRs.
- Used for
- Work
- Skill needed
- Requires coding
- Shown in video
- Partial demo
- Summary based on
- Transcript
I Built an Agentic Software Factory with Codex and Claude Code
Published Jul 25, 202620:5098,984 views1,636 likes
What they made
A vague 'Factory demon dies overnight' issue was triaged into an implementation-ready spec, then an implementation agent ran ~35 minutes and produced a PR that Codex approved and the creator squash-merged; a scheduled bug finder also opened a ticket.
18:20How they did it
- Human9:18
Created a vague GitHub issue describing a demon dying overnight and added the 'factory ready for spec' label.
Stated in video · GitHub - AI10:05
Factory detected the label, spawned a Codex agent in a new Git worktree, and ran the triage workflow to turn the vague issue into an implementation-ready spec with the bug reproduced.
Stated in video · Codex - Human12:25
Reviewed the refined ticket and added the 'factory ready to implement' label.
Stated in video · GitHub - AI18:20
Implementation agent ran the build pipeline for about 35 minutes, writing code, tests, and reviews, then opened a pull request.
Stated in video · Codex - Human7:14
Reviewed the PR, saw Codex approval, and squash-merged the change.
Stated in video · GitHub - AI17:33
Ran the scheduled bug finder workflow, which found a bug and opened a ticket for later review.
Stated in video · Codex
What you can reuse
- Define the workflow steps up front as a skill so agents run consistently instead of being randomly prompted.
- Use label-based triggers and isolated Git worktrees to move tickets through triage, implementation, and review automatically.
- Keep polling deterministic so tokens are only spent when there is real work to do.
Trade-offs
- Sandboxing is still being figured out; Git worktrees are used locally but Docker sandboxes are recommended for VMs or teams.
- Only a share of tickets should be handed off; humans still need to review and merge, and critical judgment stays with people.
- Token cost at scale is real, and the project is early-stage and not suitable for everyone yet.
AI-generated case summaries can contain mistakes. Report an error



