开源AI工作流Railyard 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
Railyard是一个多代理协调系统,用于AI驱动软件开发,提高开发效率和质量。
开源AI工作流Railyard 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Railyard是一个多代理协调系统,用于AI驱动软件开发,提高开发效率和质量。
开源AI工作流Railyard 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:go install(推荐) go install github.com/zulandar/railyard@latest # 方式二:从源码编译 git clone https://github.com/zulandar/railyard cd railyard go build -o railyard . # 方式三:下载预编译二进制 # 访问 Releases 页面下载对应平台二进制文件 # https://github.com/zulandar/railyard/releases
# 查看帮助 railyard --help # 基本运行 railyard [options] <input> # 详细使用说明请查阅文档 # https://github.com/zulandar/railyard
# railyard 配置说明 # 查看配置选项 railyard --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export RAILYARD_CONFIG="/path/to/config.yml"
<p align="center"> <img src="assets/logo.svg" alt="Railyard" width="500"/> </p>
<p align="center"> <a href="https://therailyard.io"><strong>therailyard.io</strong></a> · <a href="http://discord.gg/qNtYxa7mYf"><strong>Discord</strong></a> </p>
<p align="center"> <a href="https://github.com/zulandar/railyard/releases/latest"><img src="https://img.shields.io/github/v/release/zulandar/railyard" alt="GitHub Release"></a> <a href="https://goreportcard.com/report/github.com/zulandar/railyard"><img src="https://goreportcard.com/badge/github.com/zulandar/railyard" alt="Go Report Card"></a> <a href="https://github.com/zulandar/railyard/blob/main/LICENSE"><img src="https://img.shields.io/github/license/zulandar/railyard" alt="License"></a> </p>
Multi-agent AI orchestration for coding. Railyard coordinates multiple AI coding agents (Claude Code, Codex, Gemini, Copilot) across tracks (backend, frontend, infra) with per-branch isolation, a MySQL database, semantic code search, and automated supervision.
Each developer runs their own Railyard instance against the same repo. Agents work on isolated branches (ry/{owner}/{track}/{car-id}), and a supervisor (Yardmaster) handles merges, stall detection, and dependency management.
npm install -g @anthropic-ai/claude-codenpm install -g @openai/codexnpm install -g @google/gemini-cligh extension install github/gh-copilotrequire_pr: true) — installry car dep add <car-id> --blocked-by <blocker-id> ry car dep list <car-id> ry car dep remove <car-id> --blocked-by <blocker-id> ```
If you prefer to set things up step by step:
1. Build the CLI
go build -o ry ./cmd/ry/
2. Start MySQL
```bash
ry init # Interactive setup: detect languages, generate config, start MySQL
ry init -c railyard.yaml --yes # Non-interactive with all defaults
ry init --skip-db --skip-cocoindex # Skip MySQL and CocoIndex setup
ry init -u myuser -p 3307 # Custom port/user
ry init --password secret # Set MySQL password
ry migrate -c railyard.yaml # Migrate existing repo to .railyard/ directory structure
Railyard can run on Kubernetes using the provided Helm chart. Instead of tmux sessions, engines run as Kubernetes pods with auto-scaling, TLS-secured database connections, and multi-project isolation.
helm install railyard charts/railyard \
--set git.owner=yourname \
--set git.repo=git@github.com:org/repo.git \
--set auth.apiKey=$ANTHROPIC_API_KEY
For multi-project setups, set the project field in your railyard.yaml to isolate namespaces, database names, and branch prefixes per project.
For detailed configuration and setup guides, see:
charts/railyard/README.md — full Helm chart configuration referencedocs/k8s-authentication.md — authentication setup (API keys, OAuth, Bedrock, Vertex, Foundry)docs/k8s-deployment.md — step-by-step deployment guidedocs/k8s-local-testing.md — local testing with minikube```bash
ry cocoindex init -c railyard.yaml
```
This starts a PostgreSQL 16 container with pgvector on port 5481 (auto-detects conflicts), creates a Python 3.13+ venv at cocoindex/.venv, installs dependencies, and runs migrations.
ry overlay build --engine eng-abc123 -c railyard.yaml
tracks: - name: backend language: go file_patterns: ["cmd/", "internal/", "pkg/**", "*.go"] engine_slots: 3 # Max concurrent engines on this track test_command: "go test ./..." # Command to validate before merge (default: go test ./...) conventions: go_version: "1.26" style: "stdlib-first, no frameworks" test_framework: "stdlib table-driven"
- name: frontend language: typescript file_patterns: ["src/**", ".ts", ".tsx", "*.css"] engine_slots: 3 agent_provider: codex # Per-track override (inherits global if omitted) test_command: "npm test" # Any shell command works conventions: framework: "Next.js 15" styling: "Tailwind CSS" ```
The quickstart script handles everything: installing prerequisites, building the ry binary, starting MySQL, initializing the database, and optionally setting up pgvector for semantic code search.
git clone https://github.com/zulandar/railyard.git
cd railyard
chmod +x quickstart.sh
./quickstart.sh
Already have arailyard.yamlin your repo? If you're cloning an existing Railyard project to a new machine, see New Machine Setup — you don't needry init.
An opt-in, per-track feature: when enabled, the engine prompt instructs the agent to commit a Playwright spec demonstrating the user-visible behavior of its change, and Yardmaster's draft PR body gains a pointer to the spec file. The project's own CI is expected to run the spec (with video recording on) and surface the recording — Railyard does not run Playwright itself.
Enable per track in railyard.yaml:
tracks:
- name: frontend
language: typescript
playwright:
enabled: true
spec_path: "tests/pr-demos"
template: "tests/pr-demos/_template.spec.ts" # optional
See Playwright PR Demo Setup Guide for the full schema, helm/k8s equivalents, CI responsibilities, and known limitations.
Add the CocoIndex section to your railyard.yaml:
cocoindex:
database_url: "postgresql://cocoindex:cocoindex@localhost:5481/cocoindex"
overlay:
enabled: true # Auto-build overlay indexes for engines
auto_refresh: true # Rebuild overlay when engine switches cars
build_timeout_sec: 60 # Timeout for overlay builds
When database_url is set, overlay indexing is enabled by default. Engines automatically get MCP-powered semantic search.
See railyard.example.yaml for a copy-paste ready template.
```yaml owner: alice # Your identity (branch prefix: ry/alice/...) repo: git@github.com:org/repo.git # Target repository agent_provider: claude # AI CLI provider (claude, codex, gemini, copilot)
Railyard exposes a compile-time plugin SDK for private integrations (for example, enterprise observability connectors). The OSS ry binary continues to build and run identically with zero plugins registered — a separate private repo can import railyard as a Go module and produce a custom binary that side-effect imports the plugins it wants.
CarCreated, logs each event) verified on every CI runRailyard 是一个用于管理多个 AI 引擎的开源平台,提供多个功能,包括多引擎协调、任意 AI CLI 支持、基于轨道的路由等。它还支持 MySQL 状态管理和 CocoIndex semantic search 等功能。
Railyard 的功能包括:多引擎协调、任意 AI CLI 支持、基于轨道的路由、MySQL 状态管理和 CocoIndex semantic search 等。
Railyard 的环境依赖包括 Go 1.26+、MySQL 8.0+、tmux 和 AI 编码 CLI 等。用户需要安装这些依赖项才能正常使用 Railyard。
Railyard 可以通过多种方式安装,包括从源码编译、使用 Docker 等。用户可以选择使用 quickstart 脚本来快速安装 Railyard。
Railyard 的使用教程包括使用 quickstart 脚本、手动设置 Railyard 等。用户可以通过这些教程来快速上手 Railyard。
Railyard 的配置文件是 railyard.yaml,用户可以在这个文件中配置 CocoIndex、MySQL 等参数。配置文件的示例可以在 railyard.example.yaml 中找到。
Railyard 提供了一个编译时插件 SDK,允许用户创建私有集成(例如企业观察性连接器)。OSS ry 二进制文件继续构建和运行,零插件注册,用户可以创建一个私有仓库来导入 Railyard 作为 Go 模块并生成一个自定义二进制文件。
Railyard是一个有潜力的开源AI工作流,值得关注和学习
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,开源AI工作流Railyard 在Agent工作流赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | railyard |
| 原始描述 | 开源AI工作流:Railyard is a multi-agent orchestration system for AI-driven software developmen。⭐8 · Go |
| Topics | workflowgo |
| GitHub | https://github.com/zulandar/railyard |
| License | MIT |
| 语言 | Go |
收录时间:2026-05-21 · 更新时间:2026-05-22 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端