New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@sofagent/orchestrator

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sofagent/orchestrator

sofagent 编排模块 — 多 Agent 协作 / 工作流调度 / prompt 模板

npmnpm
Version
1.5.5
Version published
Weekly downloads
89
-89.37%
Maintainers
1
Weekly downloads
 
Created
Source

@sofagent/orchestrator

sofagent 编排模块——多 Agent 协作、工作流调度、prompt 模板。任务拆解 + LangGraph StateGraph 四节点串行状态机(从 deepagents 迁移至 createReactAgent);事件驱动升级(四类事件源 + on: 声明式订阅 + 死信重放 + 异常三分类路由)。

安装

npm install -g @sofagent/orchestrator

安装后获得 sofagent-orchestrator(编排 CLI,含 compose / compare 子命令)与 sofagent-orchestrator-compare 命令。Node.js 18+。

API

  • composeWithReactAgent() / compose() — 任务描述 → 编排方案 YAML + SubAgent 配置
  • runDAG() — 编排执行器(当前串行状态机——完整 DAG 并行调度仍在规划,见 dag-runner.ts 头注与 ROADMAP)
  • parseWorkflow() — YAML → SubAgent 映射(含环检测 / 悬空校验)
  • 依赖关系:@sofagent/core + @sofagent/inject + @langchain/langgraph

文档

  • 架构总览 — 编排模块在约束层中的位置与数据流
  • 使用手册(WIKI) — 面向 FDE 的完整用法
  • 贡献指南 — monorepo 单包开发流程

Keywords

sofagent

FAQs

Package last updated on 01 Oct 2026

Related posts