EDDI多智能体编排中间件如何实现对话式AI的无代码协调?
AI Summary (BLUF)
EDDI (Enhanced Dialog Driven Interface) is a production-grade, config-driven multi-agent orchestration middleware for conversational AI. It coordinates users, AI agents, and business systems through intelligent routing, persistent memory, and API orchestration — without writing code.
原文翻译: EDDI(增强型对话驱动接口)是一个生产级、配置驱动的多智能体编排中间件,用于对话式AI。它通过智能路由、持久化内存和API编排来协调用户、AI智能体和业务系统——无需编写代码。
E.D.D.I (Enhanced Dialog Driven Interface) 是一个生产就绪、配置驱动的多智能体编排中间件,专为对话式 AI 设计。它通过智能路由、持久化记忆和 API 编排来协调用户、AI 智能体和业务系统——无需编写代码。
E.D.D.I (增强型对话驱动接口) 是一个生产级、配置驱动的多智能体编排中间件,专为对话式 AI 设计。它通过智能路由、持久化记忆和 API 编排来协调用户、AI 智能体和业务系统——无需编写代码。
基于 Java 25 和 Quarkus 构建。以 Red Hat 认证的 Docker 镜像形式发布。原生支持 MCP (模型上下文协议)、A2A (智能体间通信)、Slack、OpenAPI 和 OAuth 2.0。
Built with Java 25 and Quarkus. Ships as a Red Hat-certified Docker image. Native support for MCP (Model Context Protocol), A2A (Agent-to-Agent), Slack, OpenAPI, and OAuth 2.0.
最新版本:6.0.1 · 官方网站 · 文档 · 许可证:Apache 2.0
Latest version: 6.0.1 · Website · Documentation · License: Apache 2.0
📑 目录
🏁 快速开始
启动 EDDI 最快的方式是使用 一键安装脚本。它会通过 Docker Compose 设置 EDDI 和你选择的数据库,部署 Agent Father 入门智能体,并引导你创建第一个 AI 智能体。
The fastest way to get EDDI running is the one-command installer. It sets up EDDI + your choice of database via Docker Compose, deploys the Agent Father starter agent, and walks you through creating your first AI agent.
Linux / macOS / WSL2:
curl -fsSL https://raw.githubusercontent.com/labsai/EDDI/main/install.sh | bash
Windows (PowerShell):
iwr -useb https://raw.githubusercontent.com/labsai/EDDI/main/install.ps1 | iex
注意: 如果你的杀毒软件将此命令标记为“恶意内容”,请安全地下载并运行它:
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/labsai/EDDI/main/install.ps1" -OutFile "install.ps1" Unblock-File .\install.ps1 .\install.ps1
需要安装 Docker。安装向导会自动生成一个唯一的保险库加密密钥,用于密钥管理。
Requires Docker. The wizard auto-generates a unique vault encryption key for secret management.
🔧 安装脚本选项
bash install.sh --defaults # 全部使用默认值,无提示
bash install.sh --db=postgres --with-auth # PostgreSQL + Keycloak
bash install.sh --full # 启用所有功能 (数据库 + 认证 + 监控)
bash install.sh --local # 从本地源码构建 Docker 镜像
bash install.sh --defaults # All defaults, no prompts bash install.sh --db=postgres --with-auth # PostgreSQL + Keycloak bash install.sh --full # Everything enabled (DB + auth + monitoring) bash install.sh --local # Build Docker image from local source
--local 标志适用于贡献者测试预发布版本:
The
--localflag is for contributors testing pre-release builds:
./mvnw package -DskipTests # 构建 Java 应用
bash install.sh --local # 构建 Docker 镜像并启动容器
./mvnw package -DskipTests # Build the Java app bash install.sh --local # Build Docker image + start containers
🔄 更新
安装脚本会创建一个 eddi CLI 包装器,使更新变得简单:
The installer creates an
eddiCLI wrapper that makes updating easy:
eddi update
这会从镜像仓库拉取最新的 Docker 镜像并重启容器。即使相同的标签(例如 latest)被重新发布,此命令也有效——Docker 总是会检查远程摘要以确认变更。
This pulls the latest Docker image from the registry and restarts the containers. It works even when the same tag (e.g.
latest) was re-published — Docker always checks the remote digest for changes.
eddi命令未找到? CLI 位于~/.eddi/eddi(Linux/macOS) 或~/.eddi/eddi.cmd(Windows)。你可以重启终端使 PATH 生效,或使用完整路径:# Linux / macOS ~/.eddi/eddi update # Windows (PowerShell) & "$HOME\.eddi\eddi.cmd" update
手动更新 (不使用 CLI)
如果 eddi CLI 不可用,请从你的安装目录(默认为 ~/.eddi)运行等效的 docker 命令:
If the
eddiCLI isn't available, run the equivalent docker commands from your install directory (~/.eddiby default):
cd ~/.eddi
docker compose --env-file .env -f docker-compose.yml pull
docker compose --env-file .env -f docker-compose.yml up -d
根据你的设置调整 -f 标志(例如,如果使用 Keycloak,则添加 -f docker-compose.auth.yml)。
Adjust the
-fflags to match your setup (e.g. add-f docker-compose.auth.ymlif using Keycloak).
🐳 Docker Compose (手动)
如果你更喜欢手动控制 Docker Compose:
If you prefer manual control over Docker Compose:
# 默认 (EDDI + MongoDB)
docker compose up
# 使用 PostgreSQL 替代 MongoDB
EDDI_DATASTORE_TYPE=postgres docker compose -f docker-compose.yml -f docker-compose.postgres.yml up
# 启用 Keycloak 认证
docker compose -f docker-compose.yml -f docker-compose.auth.yml up
# 启用 Prometheus + Grafana 监控
docker compose -f docker-compose.yml -f docker-compose.monitoring.yml up
# 完整技术栈 (所有叠加配置)
docker compose -f docker-compose.yml -f docker-compose.auth.yml \
-f docker-compose.monitoring.yml -f docker-compose.nats.yml up
# Default (EDDI + MongoDB) docker compose up # PostgreSQL instead of MongoDB EDDI_DATASTORE_TYPE=postgres docker compose -f docker-compose.yml -f docker-compose.postgres.yml up # With Keycloak authentication docker compose -f docker-compose.yml -f docker-compose.auth.yml up # With Prometheus + Grafana monitoring docker compose -f docker-compose.yml -f docker-compose.monitoring.yml up # Full stack (all overlays) docker compose -f docker-compose.yml -f docker-compose.auth.yml \ -f docker-compose.monitoring.yml -f docker-compose.nats.yml up
可用的 compose 叠加文件:docker-compose.auth.yml (Keycloak), docker-compose.monitoring.yml (Prometheus+Grafana), docker-compose.nats.yml (NATS JetStream), docker-compose.postgres.yml / docker-compose.postgres-only.yml, docker-compose.local.yml (从源码构建)。
Available compose overlays:
docker-compose.auth.yml(Keycloak),docker-compose.monitoring.yml(Prometheus+Grafana),docker-compose.nats.yml(NATS JetStream),docker-compose.postgres.yml/docker-compose.postgres-only.yml,docker-compose.local.yml(build from source).
docker pull labsai/eddi # 从 Docker Hub 拉取最新镜像
docker pull labsai/eddi # Pull latest from Docker Hub
→ hub.docker.com/r/labsai/eddi
💡 为什么选择 EDDI?
大多数多智能体框架(如 LangGraph, CrewAI, AutoGen)都是 Python/Node 库——非常适合原型设计,但在生产环境中难以治理。EDDI 从相反的方向入手:一个为安全治理非确定性 AI 而构建的确定性引擎。
Most multi-agent frameworks (LangGraph, CrewAI, AutoGen) are Python/Node libraries — great for prototyping, hard to govern in production. EDDI approaches from the opposite direction: a deterministic engine built to safely govern non-deterministic AI.
| 维度 | 典型的 Python/Node 框架 | EDDI |
|---|---|---|
| 并发性 | GIL 或单线程事件循环 | Java 25 虚拟线程 — 真正的操作系统级并行 |
| 智能体逻辑 | 嵌入在应用代码中 | 版本化的 JSON 配置 — 无需重新部署即可更新行为 |
| 安全模型 | 通常依赖于沙箱代码执行 | 完全无动态代码执行;信封加密保险库,SSRF 防护 |
| 合规性 | 需要自定义实现 | GDPR, HIPAA, 欧盟 AI 法案 基础设施内置 |
| 审计追踪 | 应用级日志记录 | HMAC-SHA256 不可变账本,带加密智能体签名 |
| 部署 | pip/npm + 手动基础设施 | 一键 Docker 安装,Kubernetes/OpenShift 就绪 |
Dimension Typical Python/Node Frameworks EDDI Concurrency GIL or single-threaded event loop Java 25 Virtual Threads — true OS-level parallelism Agent Logic Embedded in application code Versioned JSON configurations — update behavior without redeployment Security Model Often relies on sandboxed code execution No dynamic code execution at all; envelope-encrypted vault, SSRF protection Compliance Requires custom implementation GDPR, HIPAA, EU AI Act infrastructure built-in Audit Trail Application-level logging HMAC-SHA256 immutable ledger with cryptographic agent signing Deployment pip/npm + manual infrastructure One-command Docker install, Kubernetes/OpenShift-ready
“引擎是严格的,所以 AI 可以富有创造性。” — 项目理念
*"The engine
常见问题(FAQ)
EDDI是什么,它如何简化对话式AI开发?
EDDI是一个生产级、配置驱动的多智能体编排中间件,通过智能路由、持久化内存和API编排协调用户、AI智能体和业务系统,无需编写代码即可快速部署。
如何快速开始使用EDDI?
最快的方式是使用一键安装脚本,通过Docker Compose设置EDDI和数据库,并部署Agent Father入门智能体来引导创建第一个AI智能体。
EDDI支持哪些核心技术和协议?
基于Java 25和Quarkus构建,原生支持MCP(模型上下文协议)、A2A(智能体间通信)、Slack、OpenAPI和OAuth 2.0,以Red Hat认证的Docker镜像形式发布。
版权与免责声明:本文仅用于信息分享与交流,不构成任何形式的法律、投资、医疗或其他专业建议,也不构成对任何结果的承诺或保证。
文中提及的商标、品牌、Logo、产品名称及相关图片/素材,其权利归各自合法权利人所有。本站内容可能基于公开资料整理,亦可能使用 AI 辅助生成或润色;我们尽力确保准确与合规,但不保证完整性、时效性与适用性,请读者自行甄别并以官方信息为准。
若本文内容或素材涉嫌侵权、隐私不当或存在错误,请相关权利人/当事人联系本站,我们将及时核实并采取删除、修正或下架等处理措施。 也请勿在评论或联系信息中提交身份证号、手机号、住址等个人敏感信息。
