factory

作者 owainlewis已验证

Build your own software factory with AI agents

174
Stars
37
Forks
Go
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

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

快速入门

使用 factory 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "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.

常见问题

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.

评论 (0)

暂无评论,成为第一个分享想法的人!

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 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

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 智能体ai-agentsanthropicclaude-code
查看详情

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 智能体claude-codeai-tools
查看详情

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 智能体
查看详情

开发者还喜欢

基于喜欢此 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 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

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 服务器apisai-tools
查看详情

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 智能体ai-agentsanthropicclaude-code
查看详情

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 智能体claude-codeai-tools
查看详情