能力标签
🛠
AI工具

Alan AI工作流引擎

基于 Rust · 开源 AI 工具,GitHub 社区精选
英文名:alan
⭐ 7 Stars 💻 Rust 📄 Apache-2.0 🏷 AI 7.5分
7.5AI 综合评分
Rust工作流AI智能体运行时框架开源
✦ AI Skill Hub 推荐

Alan AI工作流引擎 是 AI Skill Hub 本期精选AI工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。

📚 深度解析
Alan AI工作流引擎 是一款基于 Rust 的开源工具,在 GitHub 上收获 0k+ Star,是Rust、工作流、AI智能体、运行时框架领域中的优质开源项目。开源工具的最大优势在于代码完全透明,你可以审计每一行代码的安全性,也可以根据自身需求进行二次开发和定制。

**为什么要使用开源工具而非商业 SaaS?**
对于个人开发者和有隐私需求的用户,本地部署的开源工具意味着数据不离本机,不受第三方服务商的数据政策约束。同时,开源工具通常没有使用次数限制和月度费用,一次安装即可长期使用,对于高频使用场景的总拥有成本(TCO)远低于订阅制商业工具。

**安装与环境准备**
Alan AI工作流引擎 依赖 Rust 运行环境。建议通过 pyenv(Python)或 nvm(Node.js)管理 Rust 版本,避免全局环境污染。对于新手用户,推荐先创建虚拟环境(python -m venv venv && source venv/bin/activate),再安装依赖,这样即使出现问题也可以随时删除虚拟环境重新开始,不影响系统稳定性。

**社区与维护**
GitHub Issue 和 Discussion 是获取帮助的最快渠道。在提问前建议先检查 Closed Issues(已关闭的问题),大多数常见问题都已有解答。遇到 Bug 时,提供 pip list 的输出、完整错误堆栈和最小可复现示例,能显著提高开发者响应速度。AI Skill Hub 将持续追踪 Alan AI工作流引擎 的版本更新,及时通知重要功能变化。
📋 工具概览

基于Rust开发的开源AI智能体运行时框架,采用AI图灵机隐喻架构设计。提供高性能、类型安全的工作流编排能力,适合构建复杂AI任务自动化系统,面向开发者和AI工程师。

Alan AI工作流引擎 是一款基于 Rust 开发的开源工具,专注于 Rust、工作流、AI智能体 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

GitHub Stars
⭐ 7
开发语言
Rust
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
Apache-2.0
AI 综合评分
7.5 分
工具类型
AI工具
Forks
📖 中文文档
以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

基于Rust开发的开源AI智能体运行时框架,采用AI图灵机隐喻架构设计。提供高性能、类型安全的工作流编排能力,适合构建复杂AI任务自动化系统,面向开发者和AI工程师。

Alan AI工作流引擎 是一款基于 Rust 开发的开源工具,专注于 Rust、工作流、AI智能体 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

📌 核心特色
  • 开源免费,支持本地部署,数据完全自主可控
  • 活跃的 GitHub 开源社区,持续迭代更新
  • 提供详细文档和使用示例,新手友好
  • 支持自定义配置,灵活适配不同使用环境
  • 可作为基础组件集成进现有技术栈或进行二次开发
🎯 主要使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:cargo install(推荐)
cargo install alan

# 方式二:从源码编译
git clone https://github.com/realmorrisliu/alan
cd alan
cargo build --release
# 二进制在 ./target/release/alan
📋 安装步骤说明
  1. 访问 GitHub 仓库页面
  2. 按照 README 文档完成依赖安装
  3. 根据系统环境完成初始化配置
  4. 参考官方示例或文档开始使用
  5. 遇到问题可在 GitHub Issues 中查找解答
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 查看帮助
alan --help

# 基本运行
alan [options] <input>

# 详细使用说明请查阅文档
# https://github.com/realmorrisliu/alan
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# alan 配置说明
# 查看配置选项
alan --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export ALAN_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 95/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

Alan

Alan is an agent built to be the next computer.

Alan starts from the premise that the next computer is not just a device people operate through apps, but an agent that can help humans act across the digital world. Here, "computer" does not mean a bare-metal machine. It means the complete end-to-end experience: interface, runtime, files, memory, tools, permissions, sessions, local state, and native clients designed as one closed loop. Alan starts local-first, so the agent can see context, take governed action, remember durable facts, recover work, and collaborate with the human in the same workspace.

At the runtime layer, alan is built around the AI Turing Machine metaphor: a state machine where LLMs drive transitions while the runtime manages tape (context), tooling, governance, and persistence.

⚠️ Project Status: Early Development This project is actively being developed. APIs may change without notice. Governance model note: this README summarizes governance at a high level. The authoritative current implementation contract lives in docs/governance_current_contract.md; target-design material lives in OpenSpec.

---

Features

  • Multi-Provider LLM: ChatGPT/Codex managed Responses surface, OpenAI Responses API, OpenAI Chat Completions API, OpenAI Chat Completions API-compatible, Google Gemini GenerateContent API, Anthropic Messages API, OpenRouter
  • Streaming Responses: Real-time token streaming with tool call support
  • Layered Tool Profiles:
  • Core (default): read_file, write_file, edit_file, bash
  • Read-only exploration: read_file, grep, glob, list_dir
  • All built-ins: core + exploration tools (7 total)
  • Skill System: Markdown-based capability packages with public Codex/Claude-compatible SKILL.md portability, explicit activation, implicit catalog listing, progressive disclosure, and delegated child-agent execution
  • Capability-Package Hosting: Built-in first-party packages, agent-root skills/ directories, and public .agents/skills/ installs resolve into one ResolvedCapabilityView; packages can expose portable skills, child-agent roots, and resource directories without requiring package.toml
  • Skill Management Surface: daemon APIs expose the local skill catalog, change polling, and skill override writes
  • Session Persistence: Rollout recording with history reads, reconnect snapshots, resume, fork, rollback, and compaction hooks
  • HITE Governance: Humans define boundaries, policy decides (allow/deny/escalate), and the current execution backend reports its best-effort local guard as execution_backend; see docs/governance_current_contract.md for exact guard behavior
  • Policy Profiles: Builtin autonomous/conservative presets, overridable via policy.yaml in the resolved agent-root chain
  • Steering-First Execution: In-turn input can interrupt tool batches and reprioritize the next step
  • WebSocket + HTTP API: Real-time session communication plus connection, skill catalog, and relay control surfaces
  • Shell Control Surface: alan shell IPC commands expose native shell state, spaces, tabs, panes, attention, routing, and events
  • Context Compaction: Automatic summarization when context grows large
  • One-Shot Ask: alan ask for non-interactive queries with text/json/quiet output modes
  • Thinking Support: Optional reasoning/thinking display with canonical named effort control
  • Session Rollback: Undo last N turns within a session

---

Prerequisites

  • Rust 1.85+ (2024 edition)
  • just (task runner, optional but recommended)

Building

```bash git clone <repo-url> cd alan cargo build --release

Installation

The supported macOS distribution is app-first. The signed Alan.app bundle contains the alan CLI and alan-tui executable under Contents/Resources/bin.

```bash

Normal user install

brew install --cask alan

Local developer install from this checkout

ALAN_DEVELOPER_ID_APPLICATION="Developer ID Application: Example (TEAMID)" just install

Quick Start

CLI Usage

```bash

API Usage

Route ownership lives in crates/alan/src/daemon/api_contract.rs; the examples below show the stable public paths, while production clients should use the contract helpers or generated TUI helpers.

```bash

Create response sample fields

Configuration

The recommended setup path is launching alan chat or alan-tui and using the first-run wizard. The wizard starts with user-facing service presets such as ChatGPT/Codex login, OpenAI API Platform, OpenRouter, Kimi Coding, DeepSeek, Google Gemini via Vertex AI, and Anthropic API. Raw API-family selection is kept behind Advanced / custom setup.

Connection/provider metadata lives in ~/.alan/connections.toml; agent runtime knobs live in ~/.alan/agents/default/agent.toml. An agent config can pin a profile with connection_profile, otherwise alan resolves a workspace pin or the global default_profile.

```toml

Optional explicit pin

Optional skill exposure overrides

[[skill_overrides]] skill = "plan" allow_implicit_invocation = false

[[skill_overrides]] skill = "release-checklist" enabled = false

Optional explicit compaction budgeting override

Thinking / reasoning (optional)

model_reasoning_effort = "medium" ```

Host-facing daemon/client settings live in ~/.alan/host.toml. You can also set ALAN_CONFIG_PATH to use a custom agent config file location.

Policy Configuration (Optional)

Create {workspace}/.alan/agents/default/policy.yaml to override builtin policy profile rules. When present, the file replaces the builtin profile rule set for that session; alan does not implicitly merge policy files with builtin rules.

rules:
  - id: deny-prod-delete
    tool: bash
    match_command: "kubectl delete"
    action: deny
    reason: protect production cluster

  - id: review-prod-deploy
    tool: bash
    match_command: "deploy --prod"
    action: escalate
    reason: explicit production boundary

default_action: allow

See docs/governance_current_contract.md for the current implementation contract. HITE target-design material now lives in OpenSpec under openspec/specs/governance-tooling-contract/spec.md.

---

"websocket_url": "/api/v1/sessions/.../ws",

"events_url": "/api/v1/sessions/.../events",

"submit_url": "/api/v1/sessions/.../submit",

Poll events from rollout gap-aware API

curl "http://localhost:8090/api/v1/sessions/{id}/events/read?after_event_id=e-123&limit=50"

Skill catalog and override APIs

curl http://localhost:8090/api/v1/skills/catalog curl "http://localhost:8090/api/v1/skills/changed?after=<cursor>" curl -X POST http://localhost:8090/api/v1/skills/overrides \ -H "Content-Type: application/json" \ -d '{"skill_id": "memory", "allowImplicitInvocation": false}'

Inspect resolved skills, packages, package exports, and availability

alan skills list alan skills packages alan skills init ./my-skill --name my-skill alan skills validate ./my-skill --strict alan skills eval ./my-skill

One-shot question

alan ask "What does this project do?" alan ask "Explain main.rs" --workspace ./my-project alan ask "Summarize" --output json # NDJSON for automation alan ask "Summarize" --output quiet # text only at end alan ask "Think step by step" --thinking --timeout 60

🇨🇳 中文文档镜像 AI 翻译 2026-05-25
英文原文章节由系统翻译为中文摘要,便于快速理解。完整原文见上方 "📑 README 深度解析"。
📌 简介

Alan 被定义为“下一代计算机”。它不仅仅是一个通过 App 进行操作的设备,而是一个能够跨越数字世界协助人类行动的智能 Agent。Alan 并不局限于裸机硬件,它提供的是一种完整的端到端体验,涵盖了交互界面(Interface)、运行时(Runtime)、文件系统、内存管理、工具集(Tools)、权限控制、会话管理(Sessions)以及本地状态(Local State)等核心要素。

⚡ 功能介绍

Alan 支持多供应商的 LLM,包括 ChatGPT/Codex、OpenAI API、Google Gemini、Anthropic Messages API 以及 OpenRouter 等,并提供支持 Tool Call 的实时 Token 流式响应(Streaming Responses)。此外,它拥有分层工具配置(Layered Tool Profiles),核心层(Core)默认具备 read_file、write_file、edit_file 和 bash 等强大的系统操作能力。

📋 环境依赖

在开始使用 Alan 之前,请确保您的开发环境已安装 Rust 1.85 或更高版本(需使用 2024 edition)。此外,虽然不是强制要求,但强烈建议安装 just 作为任务运行器(task runner),以便更高效地执行项目相关的构建与管理任务。

🛠 安装步骤(Docker/pip/源码)

对于 macOS 用户,推荐使用 App-first 的安装方式,通过 `brew install --cask alan` 直接安装已签名的 Alan.app 捆绑包,其中包含了 alan CLI 和 alan-tui 可执行文件。若需从源码构建,请先通过 git clone 获取仓库,进入目录后执行 `cargo build --release` 进行编译安装。

🚀 使用教程

Alan 提供灵活的使用方式,支持通过 CLI 命令行进行交互。对于开发者而言,可以通过 API 进行集成。请注意,路由所有权定义在 `crates/alan/src/daemon/api_contract.rs` 中,生产环境的客户端建议使用 contract helpers 或生成的 TUI helpers 以确保稳定性。

⚙️ 配置说明(含 MCP / env)

建议初次使用时通过运行 `alan chat` 或 `alan-tui` 并跟随首次运行向导(First-run wizard)进行配置。向导支持 ChatGPT/Codex、OpenAI API、OpenRouter、Kimi Coding、DeepSeek、Google Gemini (Vertex AI) 及 Anthropic API 等预设服务。对于高级用户,可以通过 Advanced / custom setup 进行原始 API 家族选择,并支持通过配置文件进行 skill 覆盖(skill_overrides)等精细化控制。

🔌 API 说明

Alan 的 API 提供了基于 WebSocket 的实时通信能力,包括用于会话交互的 `websocket_url`、用于事件监听的 `events_url` 以及用于提交任务的 `submit_url`。开发者可以利用这些接口实现与 Alan Agent 的深度集成与实时状态同步。

🔄 工作流/模块

Alan 提供了完善的技能(Skills)管理工作流。开发者可以使用 `alan skills list` 查看已解析的技能、包及导出项,通过 `alan skills init` ��始化新技能,利用 `alan skills validate` 进行严格的校验,并最终通过 `alan skills eval` 对技能进行评估,实现从开发到部署的全生命周期管理。

❓ FAQ 摘要

Alan 支持单次提问模式(One-shot question),用户可以通过 `alan ask` 命令向 Agent 提问,例如询问项目功能或解释代码逻辑。通过指定 `--workspace` 参数,Agent 可以感知特定工作区;利用 `--output json` 可实现自动化流程中的数据处理,而 `--thinking` 参数则允许 Agent 进行深度思考过程展示。

🎯 aiskill88 AI 点评 B 级 2026-05-23

创新的AI图灵机架构设计,Rust实现保证性能与安全,但项目知名度低,生态不成熟,需时间沉淀。

📚 实用指南(长尾问题)
适合谁
  • 构建多智能体协作系统的 Agent 开发者
最佳实践
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
部署方案
  • CLI:直接 npm install -g / pip install,命令行调用
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
alan 中文教程alan 安装报错怎么办alan Agent 工作流alan 与同类工具对比alan 最佳实践alan 适合谁用
⚡ 核心功能
👥 适合谁
  • 构建多智能体协作系统的 Agent 开发者
⭐ 最佳实践
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
👥 适合人群
AI 技术爱好者研究人员和学生开发者和工程师技术创业者
🎯 使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
⚖️ 优点与不足
✅ 优点
  • +Apache-2.0 协议,可免费商用
  • +完全开源免费,无授权费用
  • +本地部署,数据完全自主可控
  • +开发者社区支持,遇问题可查可问
⚠️ 不足
  • 安装和初始配置可能需要一定技术基础
  • 功能完整性通常不如成熟商业产品
  • 技术支持主要依赖开源社区,响应速度不稳定
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。

🔗 相关工具推荐
📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合
❓ 常见问题 FAQ
Alan是Rust原生实现,采用AI图灵机设计哲学,提供更强的类型安全性和性能。
💡 AI Skill Hub 点评

经综合评估,Alan AI工作流引擎 在AI工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。

📚 深入学习 Alan AI工作流引擎
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 alan
原始描述 开源AI工作流:A Rust-native Agent Runtime built around the AI Turing Machine metaphor — a stat。⭐7 · Rust
Topics Rust工作流AI智能体运行时框架开源
GitHub https://github.com/realmorrisliu/alan
License Apache-2.0
语言 Rust
🔗 原始来源
🐙 GitHub 仓库  https://github.com/realmorrisliu/alan

收录时间:2026-05-16 · 更新时间:2026-05-24 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。