跳转至

集成

HiveFlow 通过可选依赖组与 Studio 配置连接外部系统。

集成 包 extra 文档
OpenAI hiveflow[llm] OpenAI
Anthropic hiveflow[llm] Anthropic
Redis(总线 / 黑板) hiveflow[redis] Redis
PostgreSQL(Studio) Studio backend deps PostgreSQL
LangGraph(计划导出/导入) Core adapter(无 extra) LangGraph PoC

完整指南: 生态兼容指南(LangChain · LangGraph · MCP)

可选依赖组

pip install "hiveflow-core[security]"   # cryptography, jsonschema
pip install "hiveflow-core[redis]"      # redis
pip install "hiveflow-core[llm]"        # openai, anthropic
pip install "hiveflow-core[rag]"        # numpy, scikit-learn
pip install "hiveflow-core[all]"        # everything above

贡献新集成

  1. 基于现有抽象实现(LLMClient、BlackboardBackend、EventBus、MCPPluginManager)
  2. 在 packages/core/pyproject.toml 中添加可选依赖
  3. 在 docs/integrations/ 下新增页面,并从此索引链接
  4. 在 examples/ 下添加示例,并在 run_smoke_tests.py 中注册

PR 要求见 CONTRIBUTING.md。