factory

by owainlewisVerified

Build your own software factory with AI agents

174
Stars
37
Forks
Go
Language
8/23/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/owainlewis/factory

Getting Started

Guides for using skills like factory.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

Factory

Run repeatable software work through AI coding agents across repositories and machines.

CI MIT license Developer preview

Website · Quick start · Documentation · Architecture · Contributing

Factory is an open-source, local-first control plane for coding agents. Define software work once, run it across one or many Git repositories, and see every agent, worktree, result, failure, and retry in one place.

It is designed for builders who have outgrown a collection of terminal windows but still want agents to run on infrastructure and credentials they control.

Define work  ->  Dispatch repositories  ->  Run agents  ->  Inspect outcomes
                       |                       |
                       +-- Git worktrees       +-- Pi, Codex, Claude Code
                       +-- local or VM Workers +-- bounded concurrency

What Factory gives you

  • Repeatable software work. Save a prompt, repository scope, runtime, schedule, and execution settings as one Task.
  • One operational view. Follow active Runs, repository Sessions, Attempts, agent events, results, failures, and retained worktrees from the browser.
  • A worker fleet you control. Run Pi, Codex, or Claude Code on a laptop, workstation, or remote VM without exposing the operator API publicly.
  • Git-native isolation. Every Attempt runs in its own worktree. Clean work is reclaimed while unpublished or failed work remains inspectable.
  • Durable coordination. SQLite state, leases, heartbeats, retries, cancellation, schedules, and bounded APIs survive process restarts.

Quick start

Requirements:

  • Go 1.25.13 or newer on the 1.25 release line, or Go 1.26.6 or newer
  • Git, curl, and just
  • An authenticated Pi, Codex, or Claude Code CLI on the Worker host
  • GitHub CLI when using managed GitHub repositories
git clone https://github.com/owainlewis/factory.git
cd factory
just build
mkdir -p ~/.factory
cp examples/worker.toml ~/.factory/worker.toml
just run

Open http://127.0.0.1:7337. Edit ~/.factory/worker.toml to enable the agent runtimes installed on your machine. Use ~/.factory/bin/factory status to read current Runs or ~/.factory/bin/factory workers to check the Worker pool from the terminal. Use ~/.factory/bin/factory build ISSUE... to admit up to 100 GitHub issues or repository-scoped opaque references as independent Work in one Run. The local guide covers authentication, repository setup, and the complete first Run.

Node.js is only required when changing the browser UI. Normal builds use the committed embedded assets.

How it works

The Go control plane owns Tasks, Runs, schedules, durable state, and admission. Workers poll for eligible Sessions, prepare isolated Git worktrees, supervise the selected coding-agent runtime, and report bounded events and results.

Browser
   |
   | loopback HTTP + JSON
   v
Factory control plane
  SQLite, scheduler, Run admission, embedded UI
   ^
   | authenticated polling, leases, events, completion
   |
Factory Workers
  repository cache, isolated worktrees, agent slots
   |
   +-- Pi
   +-- Codex
   `-- Claude Code

The operator surface stays on loopback. Remote Workers use a separate, TLS-authenticated endpoint. The control plane stores coordination metadata, while Workers retain Git contents, runtime credentials, and worktrees. Read the architecture and security policy before running untrusted code.

Project status

Factory is in developer preview. Compatibility-breaking changes are expected while the product model settles.

Implemented today:

  • Go control-plane API and embedded React UI
  • durable Tasks, Runs, Sessions, Attempts, leases, events, and cancellation
  • transactional multi-item factory build admission with durable replay keys
  • manual and scheduled work across one or many repositories
  • Pi, Codex, and Claude Code Worker capabilities
  • managed repository catalog, Worker caches, and isolated Git worktrees
  • table, list, and Kanban Run views with repository-level detail
  • local Workers and authenticated remote VM Workers

Active product work is moving Factory toward an agent-directed queue for work items and repository fleets. Existing coding agents own engineering judgment; Factory owns repeatable procedures, Worker capacity, durable state, and one view of the work. See the target design and product vision.

Development

just test
just vet
just ui-check

Browser-facing changes are proven against a real Go server with:

just test-browser

See CONTRIBUTING.md for the full check set and project workflow. Proposed and historical designs are indexed in docs.

License

Factory is available under the MIT License.

Frequently Asked Questions

What is factory?

factory is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by owainlewis. Build your own software factory with AI agents. It has 174 GitHub stars.

Is factory safe to use?

Yes. factory passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install factory?

Clone the repository with "git clone https://github.com/owainlewis/factory" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is factory written in?

factory is primarily written in Go. It is open-source under owainlewis on GitHub, so you can review or fork the full source.

Are there alternatives to factory?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh factory against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details