关于这个工具
什么是 Network-AI?
Network-AI 是一个 TypeScript/Node.js 多智能体编排层,旨在协调多个 AI 智能体。它提供共享状态锁定、权限门控、审计追踪、FSM 治理以及 32 个框架适配器。
核心能力
- 共享状态协调:通过共享状态锁定机制,让多个智能体安全地读写共享数据。
- 权限门控:控制智能体对工具和资源的访问权限。
- 审计追踪:记录智能体操作,支持审计日志。
- FSM 治理:使用有限状态机管理智能体行为。
- 框架适配器:支持 32 个框架适配器,包括 LlamaIndex、DSPy 等。
- MCP 服务器:通过
.mcp.json注册为 stdio MCP 服务器。
使用场景
- 智能体集群的共享状态协调
- 跨智能体矛盾检测
- 跨多个智能体框架的任务路由
- 跨 LLM 智能体的联邦预算执行
- 多智能体代码审查流水线
安装
通过 npm 安装:npm install network-ai。该包包含 TypeScript 库模块和 CLI。
功能与使用场景
.mcp.json — registers npx -y -p network-ai network-ai-server --stdio as a stdio MCP server (the -p network-ai selector resolves the binary because the bin name differs from the package name)." } }, { "agentType": "strategy_advisor", "taskPayload": { "instruction": "" metadata: openclaw: emoji: "\U0001F41D" homepage: https://network-ai" npm_full_package: "The npm package (npm install network-ai) adds: TypeScript library modules, CLI (bin/cli" Project Context (Layer 3 — Persistent Memory) Long-lived project state that every agent inherits, regardless of session: # Initialise once python scripts/context_manager" sessions_ops: "platform-provided — outside this skill's control" requires: bins: python3 optional_bins: [] env: {} privacy: audit_log: path: data/audit_log" shell_exec: "optional — AgentRuntime (lib/agent-runtime"Multi-agent code review pipeline", "Federated budget enforcement across 5 LLM agents") Since: version or month you started (e} async executeAgent( agentId: string, payload: AgentPayload, context: AgentContext ): Promise<AgentResult> { this}, "agent": "data_analyst"} ### cache:revenue_summary {"q4_total": 1250000, "growth": 0// Create a simple agent const adapter = new CustomAdapter()// Detect cross-agent contradictions const contradictions = qa