Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Machinist

The open source AI software factory for agentic coders.
Machinist is an open source software factory for repeatable and scalable AI coding workflows.

Website · Documentation · Configuration · Workflow examples

Technical drawings of a milling machine, supervised coding-agent system, and precision linear assembly

Machine section · supervised agent system · exploded assembly

Machinist is an open-source software factory implementation. It runs on your machine, keeps repository access and credentials local, and records the work from request to handoff. Commands can invoke Codex, Claude Code, another agent CLI, a test runner, a shell script, or repository-owned orchestration.

Please note: this is early access software and subject to change.

Why Machinist

  • One controlled entrypoint. Workers expose named commands and repositories, never arbitrary shell text or machine-local paths.
  • Bring your own harness. Use any executable that accepts a prompt on standard input.
  • Keep authority local. Repositories, credentials, model aliases, and executor configuration stay on the worker.
  • Inspect every run. Stream output, retain durable events and artifacts, and track terminal outcomes, duration, and reported token use.
  • Keep the human gate. Machinist hands back a pull request. It does not decide what ships.

Quick start

Build and initialize Machinist:

git clone https://github.com/owainlewis/machinist.git
cd machinist
mkdir -p ./bin && go build -o ./bin/machinist ./cmd/machinist
./bin/machinist init

Configure an approved command:

# ~/.machinist/config.toml
[commands.foreman]
executor = "codex"
prompt_file = "prompts/foreman.md" # optional
timeout = "45m"

Run it directly:

./bin/machinist run --command=foreman --repo=/path/to/repo --prompt="Implement issue 42"

How execution works

For a direct run, Machinist maps the configured command name to a fixed executable and uses the path supplied with --repo as the working directory. Managed submissions instead resolve an approved repository name from the worker configuration. In both cases, Machinist renders the prompt, sends it on standard input, streams stdout and stderr, and applies one overall timeout and cancellation. Exit code 0 succeeds; every non-zero exit code fails.

Scripts are intentionally opaque. Their internal stages appear in logs, but Machinist does not invent child runs, graphs, checkpoints, or resumable stages. A killed script restarts from the beginning unless the script owns checkpointing.

Go deeper

GuideWhat it covers
DocumentationChoose the right setup and operations guide
ConfigurationCommands, executors, workers, models, and repositories
DevelopmentBuild, test, and work on Machinist locally
VM deploymentRun the control plane and worker as services
Workflow examplesRepository-owned multi-step orchestration

Contributing

Read CONTRIBUTING.md for development setup and pull-request expectations. Security issues should follow SECURITY.md.

Machinist is released under the MIT License.

关于 About

Open source software factory infrastructure for advanced AI coding workflows
ai-agentsautomationclaude-codecodexcoding-agentsdeveloper-toolsgolang

语言 Languages

Go72.0%
Python14.3%
JavaScript11.1%
Shell1.5%
CSS0.9%
Just0.2%
HTML0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
403
Total Commits
峰值: 152次/周
Less
More

核心贡献者 Contributors