经 AI Skill Hub 精选评估,AgentDock AI工作流平台 获评「强烈推荐」。已获得 1.7k 颗 GitHub Star,这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.2 分,适合有一定技术背景的用户使用。
一个基于TypeScript的开源AI Agent工作流构建框架,支持通过可视化或编程方式快速搭建复杂的多智能体协作流程。其特色在于将自然语言推理与结构化工作流结合,适合开发者和AI工程师构建自动化企业级AI应用。
AgentDock AI工作流平台 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
一个基于TypeScript的开源AI Agent工作流构建框架,支持通过可视化或编程方式快速搭建复杂的多智能体协作流程。其特色在于将自然语言推理与结构化工作流结合,适合开发者和AI工程师构建自动化企业级AI应用。
AgentDock AI工作流平台 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g agentdock # 方式二:npx 直接运行(无需安装) npx agentdock --help # 方式三:项目依赖安装 npm install agentdock # 方式四:从源码运行 git clone https://github.com/AgentDock/AgentDock cd AgentDock npm install npm start
# 命令行使用
agentdock --help
# 基本用法
agentdock [options] <input>
# Node.js 代码中使用
const agentdock = require('agentdock');
const result = await agentdock.run(options);
console.log(result);
# agentdock 配置说明 # 查看配置选项 agentdock --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export AGENTDOCK_CONFIG="/path/to/config.yml"
<p align="center"> <img src="./public/AgentDock-logo.png" alt="AgentDock Logo" width="800" /> </p>
AgentDock is a framework for building sophisticated AI agents that deliver complex tasks with configurable determinism. It consists of two main components:
Built with TypeScript, AgentDock emphasizes simplicity, extensibility, and configurable determinism - making it ideal for building reliable and predictable AI systems that can operate with minimal supervision.
<br>
<br>
🌐 AgentDock Pro Coming Soon: Experience the future of AI automation with our comprehensive cloud platform featuring visual workflow builders, advanced orchestration, and enterprise-grade infrastructure. Sign up at AgentDock.ai to secure early access and earn free platform credits when we launch.
📖 AI Agents Book: Master the complete methodology for building production-ready AI agents with our comprehensive guide at AI Agents Book - covering everything from fundamentals to enterprise deployment patterns.
🎯 Comprehensive Prompt Library: We're building the most extensive prompt library covering everyday automation needs and highly specialized vertical requirements. From general productivity to industry-specific workflows, our curated collection empowers agents with battle-tested prompts for any scenario.
| Capability | Description | Documentation |
|---|---|---|
| **Session Management** | Isolated, performant state management for conversations | [Session Documentation](./docs/architecture/sessions/README.md) |
| **Orchestration Framework** | Control agent behavior and tool availability based on context | [Orchestration Documentation](./docs/architecture/orchestration/README.md) |
| **Storage Abstraction** | Flexible storage system with pluggable providers for KV, Vector, and Secure storage | [Storage Documentation](./docs/storage/README.md) |
| **Evaluation Framework** | Systematically measure and improve agent quality with diverse evaluators | [Evaluation Documentation](./docs/evaluations/README.md) |
The storage system is currently evolving with key-value storage (Memory, Redis, Vercel KV providers) and secure client-side storage, while vector storage and additional backends are in development.
| Feature | Description |
|---|---|
| 🔌 **Framework Agnostic (Node.js Backend)** | Core library integrates with Node.js backend stacks. |
| 🧩 **Modular Design** | Build complex systems from simple nodes |
| 🛠️ **Extensible** | Create custom nodes for any functionality |
| 🔒 **Secure** | Built-in security features for API keys and data |
| 🔑 **BYOK** | Use your *own API keys* for LLM providers |
| 📦 **Self-Contained** | Core framework has minimal dependencies |
| ⚙️ **Multi-Step Tool Calls** | Support for *complex reasoning chains* |
| 📊 **Structured Logging** | Detailed insights into agent execution |
| 🛡️ **Robust Error Handling** | Predictable behavior and simplified debugging |
| 📝 **TypeScript First** | Type safety and enhanced developer experience |
| 🌐 **Open Source Client** | Complete Next.js reference implementation included |
| 🔄 **Orchestration** | *Dynamic control* of agent behavior based on context |
| 💾 **Session Management** | Isolated state for concurrent conversations |
| 🎮 **Configurable Determinism** | Balance AI creativity & predictability via node logic/workflows |
| 📊 **Evaluation Framework** | Robust tools to define, run, and analyze agent performance evaluations |
For a comprehensive guide, see the Getting Started Guide.
git clone https://github.com/AgentDock/AgentDock.git
cd AgentDock
corepack enable
corepack prepare pnpm@latest --activate
pnpm install
For a clean reinstallation (when you need to rebuild from scratch): pnpm run clean-install
This script removes all node_modules, lock files, and reinstalls dependencies correctly.
4. Configure Environment: Create an environment file (.env or .env.local) based on .env.example:
# Option 1: Create .env.local
cp .env.example .env.local
# Option 2: Create .env
cp .env.example .env
Then add your API keys to the environment file.
pnpm dev
Click the button above to deploy the AgentDock Open Source Client directly to your Vercel account.
1. AI-Powered Applications - Custom chatbots with any frontend - Command-line AI assistants - Automated data processing pipelines - Backend service integrations
2. Integration Capabilities - Any AI provider (OpenAI, Anthropic, etc.) - Any frontend framework - Any backend service - Custom data sources and APIs
3. Automation Systems - Data processing workflows - Document analysis pipelines - Automated reporting systems - Task automation agents
AgentDock provides the foundation to build almost any AI-powered application or automation you can imagine. We encourage you to explore the framework, build innovative agents, and contribute back to the community. Let's build the future of AI interaction together!
Example implementations showcase specialized use cases and advanced functionality:
| Implementation | Description | Status |
|---|---|---|
| **Orchestrated Agent** | Example agent using orchestration to adapt behavior based on context | Available |
| **Cognitive Reasoner** | Tackles complex problems using structured reasoning & cognitive tools | Available |
| **Agent Planner** | Specialized agent for designing and implementing other AI agents | Available |
| [**Code Playground**](docs/roadmap/code-playground.md) | Sandboxed code generation and execution with rich visualization capabilities | Planned |
Dr. Gregory House: A diagnostic reasoning powerhouse that orchestrates search, deep_research, and pubmed tools in a multi-stage workflow to tackle complex medical cases using methodical investigation techniques that rival expert diagnosticians.
https://github.com/user-attachments/assets/50c766dc-fc65-481c-aad2-9a71169c7b28
</br>
Cognitive Reasoner: Multi-stage reasoning engine that orchestrates seven specialized cognitive tools (search, think, reflect, compare, critique, brainstorm, debate) in configurable workflows to systematically deconstruct and solve complex problems with human-like reasoning patterns.
https://github.com/user-attachments/assets/279a4e48-a980-4f83-becb-5e039fe10c56
</br>
History Mentor: Immersive educational agent combining vectorized historical knowledge with search capabilities and dynamic Mermaid diagram rendering to create authentic learning experiences that visualize complex historical relationships and timelines on demand.
https://github.com/user-attachments/assets/56e80a15-eac3-452b-aa8b-efe7b7f3360c
</br>
Calorie Vision: Vision-based nutritional analysis system that combines computer vision with structured data extraction to deliver precise macro and micronutrient breakdowns from food images, functioning like a nutritionist that can instantly quantify meal composition without relying on manual input.
https://github.com/user-attachments/assets/6b4e71cf-accc-4c18-bb42-7bc5ad2f37e4
Configurable determinism is a cornerstone of AgentDock's design philosophy, enabling you to balance creative AI capabilities with predictable system behavior:
AgentDock fully supports the deterministic workflows you're familiar with from typical workflow builders. All the predictable execution paths and reliable outcomes you expect are available, with or without LLM inference:
With AgentDock, you can also leverage AgentNodes with LLMs when you need more adaptability. The creative outputs may vary based on your needs, while maintaining structured interaction patterns:
AgentDock gives you the best of both worlds by combining non-deterministic agent intelligence with deterministic workflow execution:
This approach enables complex multi-step workflows (potentially involving hundreds of deterministic steps implemented within tools or as connected node sequences) to be invoked by intelligent agent decisions. Each workflow executes predictably despite being triggered by non-deterministic agent reasoning.
For more advanced AI agent workflows and multi-stage processing pipelines, we're building AgentDock Pro - a powerful platform for creating, visualizing, and running complex agent systems.
Think of it like driving. Sometimes you need the AI's creativity (like navigating city streets - non-deterministic), and sometimes you need reliable, step-by-step processes (like following highway signs - deterministic). AgentDock lets you build systems that use both, choosing the right approach for each part of a task. You get the AI's smarts and predictable results where needed.
The AgentDock Open Source Client requires API keys for LLM providers to function. These are configured in an environment file (.env or .env.local) which you create based on the provided .env.example file.
Add your LLM provider API keys (at least one is required):
```bash
ANTHROPIC_API_KEY=sk-ant-xxxxxxx # Anthropic API key OPENAI_API_KEY=sk-xxxxxxx # OpenAI API key GEMINI_API_KEY=xxxxxxx # Google Gemini API key DEEPSEEK_API_KEY=xxxxxxx # DeepSeek API key GROQ_API_KEY=xxxxxxx # Groq API key ```
The AgentDock Open Source Client follows a priority order when resolving which API key to use:
Some tools also require their own API keys:
```bash
SERPER_API_KEY= # Required for search functionality FIRECRAWL_API_KEY= # Required for deeper web search ```
For more details about environment configuration, see the implementation in src/types/env.ts.
AgentDock follows a BYOK (Bring Your Own Key) model:
This project requires the use of pnpm for consistent dependency management. npm and yarn are not supported.
AgentDock's modular architecture is built upon these key components:
For detailed technical documentation on these components, see the Architecture Overview.
AgentDock 是一个强大的 AI Agent 构建平台,旨在让开发者能够“用 AI Agent 构建一切”。通过高度灵活的架构,它为构建复杂的智能体系统提供了坚实的基础,支持开发者快速将 AI 能力转化为实际的应用场景。
AgentDock 具备先进的编排能力与模块化设计。它支持隔离且高性能的 Session Management(会话管理),并采用 Framework Agnostic(框架无关)的设计理念,核心库可无缝集成至 Node.js 后端栈。其模块化架构允许开发者通过简单的 Node 构建复杂系统,并支持通过自定义 Node 实现高度的可扩展性与安全性。
在开始使用之前,请确保您的开发环境已安装 Node.js ≥ 20.11.0 (LTS) 版本,并必须使用 pnpm ≥ 9.15.0 作为包管理器。此外,您需要准备好 LLM 提供商(如 Anthropic、OpenAI 等)的 API keys 以驱动智能体运行。
首先,通过 git clone 命令克隆 AgentDock 仓库。接着,使用 corepack 启用并激活最新版本的 pnpm。进入项目目录后,运行 `pnpm install` 安装依赖。如果需要从零开始进行干净的重新安装,可以使用 `pnpm run clean-install` 脚本来清除所有 node_modules 和 lock 文件。此外,您也可以通过 Vercel 一键部署开源客户端。
本项目提供了多种示例实现(Example Implementations),涵盖了 Orchestrated Agent(编排智能体)、Cognitive Reasoner(认知推理器)以及 Agent Planner(智能体规划器)等高级用例。通过这些示例,您可以学习如何利用结构化推理与认知工具来处理复杂的逻辑问题。
AgentDock 引入了“可配置确定性”(Configurable Determinism)的设计哲学,允���开发者在 AI 的创造性与系统的可预测性之间取得平衡。通过定义明确的工具执行路径(tool execution paths),可以使 Workflow 更加稳定。环境配置需通过 `.env` 或 `.env.local` 文件完成,请务必基于 `.env.example` 进行配置。
在使用 AgentDock Client 时,必须配置 LLM 提供商的 API keys(如 ANTHROPIC_API_KEY、OPENAI_API_KEY 等)。系统在解析 API Key 时遵循严格的优先级顺序:首先是 UI 界面中为单个 Agent 设置的自定义 Key,其次是全局设置中的 Key,最后才是环境变量中的配置。
AgentDock 采用模块化架构设计,核心组件包括:作为系统基石的 BaseNode、实现智能体功能的核心抽象 AgentNode,以及通过 Node Registry 进行管理的 Tools & Custom Nodes。项目强制要求使用 pnpm 进行依赖管理,以确保开发环境的一致性。
aiskill88点评:架构现代化,将Agent编排与TS强类型结合,是构建可预测AI工作流的优秀选择。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:AgentDock AI工作流平台 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | AgentDock |
| 原始描述 | 开源AI工作流:Build Anything with AI Agents。⭐1.7k · TypeScript |
| Topics | 智能体框架低代码工作流TypeScript |
| GitHub | https://github.com/AgentDock/AgentDock |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-07-11 · 更新时间:2026-07-11 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端