network-ai 4.0.8 → 4.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -20
- package/bin/mcp-server.ts +3 -3
- package/dist/bin/mcp-server.d.ts +1 -1
- package/dist/bin/mcp-server.js +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/mcp-transport-sse.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,35 +1,43 @@
|
|
|
1
|
-
# Network-AI
|
|
1
|
+
# Network-AI
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**TypeScript/Node.js multi-agent orchestrator — shared state, guardrails, budgets, and cross-framework coordination**
|
|
4
4
|
|
|
5
5
|
[](https://github.com/jovanSAPFIONEER/Network-AI/actions/workflows/ci.yml)
|
|
6
6
|
[](https://github.com/jovanSAPFIONEER/Network-AI/actions/workflows/codeql.yml)
|
|
7
|
-
[](https://github.com/jovanSAPFIONEER/Network-AI/releases)
|
|
8
8
|
[](https://www.npmjs.com/package/network-ai)
|
|
9
|
-
[](https://clawhub.ai/skills/network-ai)
|
|
10
|
-
[](https://nodejs.org)
|
|
11
|
-
[](https://typescriptlang.org)
|
|
12
|
-
[](https://python.org)
|
|
13
|
-
[](LICENSE)
|
|
14
|
-
[](https://socket.dev/npm/package/network-ai/overview)
|
|
15
|
-
[](https://agentskills.io)
|
|
16
9
|
[](#testing)
|
|
17
10
|
[](#adapter-system)
|
|
18
|
-
[](LICENSE)
|
|
12
|
+
[](https://socket.dev/npm/package/network-ai/overview)
|
|
13
|
+
[](https://nodejs.org)
|
|
14
|
+
[](https://typescriptlang.org)
|
|
15
|
+
[](https://clawhub.ai/skills/network-ai)
|
|
19
16
|
[](INTEGRATION_GUIDE.md)
|
|
20
17
|
|
|
21
|
-
|
|
18
|
+
Network-AI is a TypeScript/Node.js multi-agent orchestrator for teams that need shared state, guardrails, budgets, and cross-framework coordination.
|
|
19
|
+
|
|
20
|
+
- **Shared blackboard with locking** — atomic commits prevent race conditions and split-brain failures across parallel agents
|
|
21
|
+
- **Guardrails and budgets** — FSM governance, per-agent token ceilings, HMAC audit trails, and permission gating
|
|
22
|
+
- **12 framework adapters** — LangChain, AutoGen, CrewAI, OpenAI Assistants, LlamaIndex, Semantic Kernel, and more in one orchestrator — no glue code, no lock-in
|
|
23
|
+
|
|
24
|
+
If network-ai saves you time, a ⭐ helps others find it. | [**60-second quickstart →**](#hello-world----get-running-in-60-seconds) | [**Architecture →**](#architecture) | [**All adapters →**](#adapter-system)
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Why teams use Network-AI
|
|
22
29
|
|
|
23
|
-
|
|
30
|
+
| Problem | How Network-AI solves it |
|
|
31
|
+
|---|---|
|
|
32
|
+
| Race conditions in parallel agents | Atomic blackboard: `propose → validate → commit` with file-system mutex |
|
|
33
|
+
| Agent overspend / runaway costs | `FederatedBudget` — hard per-agent token ceilings with live spend tracking |
|
|
34
|
+
| No visibility into what agents did | HMAC-signed audit log on every write, permission grant, and FSM transition |
|
|
35
|
+
| Locked into one AI framework | 12 adapters — mix LangChain + AutoGen + CrewAI + custom in one swarm |
|
|
36
|
+
| Agents escalating beyond their scope | `AuthGuardian` — scoped permission tokens required before sensitive operations |
|
|
24
37
|
|
|
25
|
-
|
|
38
|
+
> Validated by **1,216 passing tests** across 9 test suites — [see testing section](#testing)
|
|
26
39
|
|
|
27
|
-
|
|
28
|
-
- **Framework-agnostic** -- LangChain, AutoGen, CrewAI, MCP, OpenAI Assistants, and 7 more in one orchestrator
|
|
29
|
-
- **Governed coordination** -- FSM-controlled agent turns, permission gating, audit trails, budget ceilings
|
|
30
|
-
- **Shared state** -- Atomic blackboard with conflict resolution for safe parallel agent coordination
|
|
31
|
-
- **Production security** -- AES-256 encryption, HMAC audit logs, rate limiting, input sanitization
|
|
32
|
-
- **Zero config** -- Works out of the box with `createSwarmOrchestrator()`
|
|
40
|
+
---
|
|
33
41
|
|
|
34
42
|
## Architecture
|
|
35
43
|
|
package/bin/mcp-server.ts
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
* http://localhost:3001/tools (list all tools)
|
|
30
30
|
*
|
|
31
31
|
* @module bin/mcp-server
|
|
32
|
-
* @version 4.0.
|
|
32
|
+
* @version 4.0.9
|
|
33
33
|
*/
|
|
34
34
|
|
|
35
35
|
import {
|
|
@@ -103,7 +103,7 @@ function parseArgs(argv: string[]): ServerArgs {
|
|
|
103
103
|
|
|
104
104
|
function printHelp(): void {
|
|
105
105
|
console.log(`
|
|
106
|
-
network-ai-server — Network-AI MCP Server v4.0.
|
|
106
|
+
network-ai-server — Network-AI MCP Server v4.0.9
|
|
107
107
|
|
|
108
108
|
Usage: npx ts-node bin/mcp-server.ts [options]
|
|
109
109
|
|
|
@@ -140,7 +140,7 @@ async function main(): Promise<void> {
|
|
|
140
140
|
process.exit(0);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
console.log(`\n[network-ai-server] Starting MCP Server v4.0.
|
|
143
|
+
console.log(`\n[network-ai-server] Starting MCP Server v4.0.9`);
|
|
144
144
|
console.log(`[network-ai-server] Board: ${args.board} | Port: ${args.port}`);
|
|
145
145
|
|
|
146
146
|
// --------------------------------------------------------------------------
|
package/dist/bin/mcp-server.d.ts
CHANGED
package/dist/bin/mcp-server.js
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* http://localhost:3001/tools (list all tools)
|
|
31
31
|
*
|
|
32
32
|
* @module bin/mcp-server
|
|
33
|
-
* @version 4.0.
|
|
33
|
+
* @version 4.0.9
|
|
34
34
|
*/
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
const index_1 = require("../index");
|
|
@@ -102,7 +102,7 @@ function parseArgs(argv) {
|
|
|
102
102
|
}
|
|
103
103
|
function printHelp() {
|
|
104
104
|
console.log(`
|
|
105
|
-
network-ai-server — Network-AI MCP Server v4.0.
|
|
105
|
+
network-ai-server — Network-AI MCP Server v4.0.9
|
|
106
106
|
|
|
107
107
|
Usage: npx ts-node bin/mcp-server.ts [options]
|
|
108
108
|
|
|
@@ -135,7 +135,7 @@ async function main() {
|
|
|
135
135
|
printHelp();
|
|
136
136
|
process.exit(0);
|
|
137
137
|
}
|
|
138
|
-
console.log(`\n[network-ai-server] Starting MCP Server v4.0.
|
|
138
|
+
console.log(`\n[network-ai-server] Starting MCP Server v4.0.9`);
|
|
139
139
|
console.log(`[network-ai-server] Board: ${args.board} | Port: ${args.port}`);
|
|
140
140
|
// --------------------------------------------------------------------------
|
|
141
141
|
// 1. Create orchestrator + blackboard
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -125,7 +125,7 @@ class McpCombinedBridge {
|
|
|
125
125
|
return this._ok(id, {
|
|
126
126
|
protocolVersion: '2024-11-05',
|
|
127
127
|
capabilities: { tools: {} },
|
|
128
|
-
serverInfo: { name: this.name ?? 'network-ai', version: '4.0.
|
|
128
|
+
serverInfo: { name: this.name ?? 'network-ai', version: '4.0.9' },
|
|
129
129
|
});
|
|
130
130
|
// Client signals it's ready — notification (no response needed, but
|
|
131
131
|
// some clients send it as a request with an id)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "network-ai",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.9",
|
|
4
4
|
"description": "AI agent orchestration framework for TypeScript/Node.js - plug-and-play multi-agent coordination with 12 frameworks (LangChain, AutoGen, CrewAI, OpenAI Assistants, LlamaIndex, Semantic Kernel, Haystack, DSPy, Agno, MCP, OpenClaw). Built-in security, swarm intelligence, and agentic workflow patterns.",
|
|
5
5
|
"homepage": "https://github.com/jovanSAPFIONEER/Network-AI#readme",
|
|
6
6
|
"main": "dist/index.js",
|