经 AI Skill Hub 精选评估,Active Harness 获评「推荐使用」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
Active Harness 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Active Harness 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 克隆仓库 git clone https://github.com/the-teacher/active_harness cd active_harness # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 active_harness --help # 基本运行 active_harness [options] <input> # 详细使用说明请查阅文档 # https://github.com/the-teacher/active_harness
# active_harness 配置说明 # 查看配置选项 active_harness --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export ACTIVE_HARNESS_CONFIG="/path/to/config.yml"
<p align="center"> <img src="docs/images/top-logo.png" alt="ActiveHarness" width="600"> </p>
⚠️ Work in progress. The API is under active development and may change between versions without notice.
Running a single LLM call is easy. Running a reliable, observable, cost-controlled AI system is not.
ActiveHarness is a Ruby framework for building production-grade LLM pipelines — with deep observability, consensus-based decisions, automatic fallbacks, and real-time cost and timing control. Made for Rails, works in plain Ruby too.
ActiveHarness gem gives you the scaffolding to build multi-step pipelines where every agent is under full control: its inputs are directed, its outputs are observed, its errors are retried, and its cost is tracked. You define the logic; ActiveHarness handles the infrastructure.
| Capability | What it means |
|---|---|
| **Multi-step Pipelines** | Chain agents sequentially, with per-step stop conditions and context forwarding |
| **Tribunal Consensus** | Run multiple agents in parallel and accept the result only if they agree (unanimous, majority, or custom) |
| **Automatic Fallbacks** | If a model fails, the next one in the chain takes over — zero extra code |
| **Retry Policy** | Exponential backoff per model, globally configurable or per-agent |
| **Full Observability** | Lifecycle hooks on every agent event: before_call, after_call, retry, failure — log, stream, or act |
| **Real-time Streaming** | SSE-ready token streaming from any agent into your Rails response |
| **Execution Time Tracking** | Per-agent and per-pipeline timing built in |
| **Token Cost Tracking** | Know exactly what each call cost in tokens and dollars |
| **Rails-native DSL** | Clean file structure, Railtie integration, generator support |
| **Event Tracing** | OpenTelemetry integration for distributed tracing of agents, tribunals, and pipelines |
Build multi-step, trackable, cost-effective, and reliable AI flows with a clean, Rails-native DSL.
<img widht="100%" src="https://github.com/user-attachments/assets/fc987934-1dfa-4898-8e6b-0f88f24648b7" alt="Pipeline Flow"/>
高质量的AI工作流框架,适用于Ruby/Rails开发
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:Active Harness 的核心功能完整,质量良好。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | active_harness |
| 原始描述 | 开源AI工作流:AI framework for Ruby/Rails developers。⭐61 · Ruby |
| Topics | AIRuby工作流 |
| GitHub | https://github.com/the-teacher/active_harness |
| License | MIT |
| 语言 | Ruby |
收录时间:2026-06-09 · 更新时间:2026-06-09 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端