Network-AI
Multi-agent swarm orchestration for complex workflows. Coordinates multiple agents, decomposes tasks, manages shared state via a local blackboard file, and e... Skill: Network-AI Owner: jovanSAPFIONEER Summary: Multi-agent swarm orchestration for complex workflows. Coordinates multiple agents, decomposes tasks, manages shared state via a local blackboard file, and e... Tags: audit:4.0.4, autogen:4.0.4, blackboard:4.0.4, crewai:4.0.4, langchain:4.0.4, latest:4.0.14, mcp:4.0.4, multi-agent:4.0.4, orchestration:4.0.4, permissions:4.0.4, security:4.0.4, swarm:4.0.4 Version histo
Rank
62
Safety
84
Downloads
788
Updated
Apr 15, 2026
Version
4.0.14
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 788 downloads reported by the source. Last updated 4/15/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Apr 15, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Apr 15, 2026
- Adoption signal
- 788 downloadsadoption · observed Apr 15, 2026
- Latest release
- 4.0.14release · observed Feb 28, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install kn75j1xcebk74re38bv714kh1h81804p:network-ai- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jovansapfioneer-network-ai/snapshot"
Documentation
CLAWHUB
143,864 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: Network-AI
description: Multi-agent swarm orchestration for complex workflows. Coordinates multiple agents, decomposes tasks, manages shared state via a local blackboard file, and enforces permission walls before sensitive operations. All execution is local and sandboxed.
metadata:
openclaw:
emoji: "\U0001F41D"
homepage: https://github.com/jovanSAPFIONEER/Network-AI
requires:
bins:
- python3
optional_bins:
- node # Only needed if you separately install and run the Node.js MCP server (network-ai-server via npm). Not required for this skill's Python instructions.
env:
SWARM_TOKEN_SECRET:
required: false
description: "Node.js MCP server only — not used by these Python scripts. The Python permission layer uses UUID-based tokens stored in data/active_grants.json."
SWARM_ENCRYPTION_KEY:
required: false
description: "Node.js MCP server only — not used by these Python scripts. The Python blackboard does not encrypt data at rest."
OPENAI_API_KEY:
required: false
description: "Not used by these Python scripts. Only used by the optional Node.js demo examples when running the companion npm package."
privacy:
audit_log:
path: data/audit_log.jsonl
scope: local-only
description: "Local append-only JSONL file recording operation metadata (agentId, action, timestamp, outcome). No data leaves the machine. Disable with --no-audit flag on network-ai-server, or pass auditLogPath: undefined in createSwarmOrchestrator config."
---
# Swarm Orchestrator Skill
> **Scope of this skill bundle:** All instructions below run local Python scripts (`scripts/*.py`). No network calls are made by this skill. Tokens are UUID-based (`grant_{uuid4().hex}`) stored in `data/active_grants.json`. Audit logging is plain JSONL (`data/audit_log.jsonl`) — no HMAC signing in the Python layer. HMAC-signed tokens, AES-256 encryption, and the standalone MCP server are all features of the **companion Node.js package** (`npm install -g network-ai`) — they are **not** implemented in these Python scripts and do **not** run automatically.
Multi-agent coordination system for complex workflows requiring task delegation, parallel execution, and permission-controlled access to sensitive APIs.
## 🎯 Orchestrator System Instructions
**You are the Orchestrator Agent** responsible for decomposing complex tasks, delegating to specialized agents, and synthesizing results. Follow this protocol:
### Core Responsibilities
1. **DECOMPOSE** complex prompts into 3 specialized sub-tasks
2. **DELEGATE** using the budget-aware handoff protocol
3. **VERIFY** results on the blackboard before committing
4. **SYNTHESIZE** final output only after all validations pass
### Task Decomposition Protocol
When you receive a complex request, decompose it into exactly **3 sub-tasks**:
```
┌──────────────────────────────_meta.json
{
"ownerId": "kn75j1xcebk74re38bv714kh1h81804p",
"slug": "network-ai",
"version": "4.0.14",
"publishedAt": 1772305198541
}ARCHITECTURE.md
# Architecture
## The Multi-Agent Race Condition Problem
Most agent frameworks let you run multiple AI agents in parallel. None of them protect you when those agents write to the same resource at the same time.
**The "Bank Run" scenario:**
```
Agent A reads balance: $10,000
Agent B reads balance: $10,000 (same moment)
Agent A writes balance: $10,000 - $7,000 = $3,000
Agent B writes balance: $10,000 - $6,000 = $4,000 ← Agent A's write is gone
```
Both agents thought they had $10,000. Both spent from it. You lost $3,000 to a race condition.
Without concurrency control, parallel agents will:
- **Corrupt shared state** — two agents overwrite each other's blackboard entries
- **Double-spend budgets** — token costs exceed limits because agents don't see each other's spending
- **Produce contradictory outputs** — Agent A says "approved", Agent B says "denied", both write to the same key
**How Network-AI prevents this:**
```typescript
// Atomic commit — no other agent can read/write "account:balance" during this operation
const changeId = blackboard.proposeChange('account:balance', { amount: 7000 }, 'agent-a');
blackboard.validateChange(changeId); // checks for conflicts
blackboard.commitChange(changeId); // atomic write with file-system mutex
```
---
## Component Overview
```
┌─────────────────────────────────────────────────────────────┐
│ Your Application │
└──────────────────────────┬──────────────────────────────────┘
│ createSwarmOrchestrator()
┌──────────────────────────▼──────────────────────────────────┐
│ SwarmOrchestrator │
│ │
│ ┌──────────────┐ ┌───────────────┐ ┌─────────────────┐ │
│ │ AdapterRegistry│ │ AuthGuardian │ │ FederatedBudget │ │
│ │ (route tasks) │ │ (permissions) │ │ (token ceilings)│ │
│ └──────┬───────┘ └───────────────┘ └─────────────────┘ │
│ │ │
│ ┌──────▼──────────────────────────────────────────────┐ │
│ │ LockedBlackboard (shared state) │ │
│ │ propose → validate → commit (file-system mutex) │ │
│ └──────────────────────────────────────────────────────┘ │
│ │ │
│ ┌──────▼───────────────────────────────────────────────┐ │
│ │ Adapters (plug any framework in, swap out freely) │ │
│ │ LangChain │ AutoGen │ CrewAI │ MCP │ LlamaIndex │… │ │
│ └──────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────┘
│
HMAC-signed audit log (data/audit_log.jsonl)
```
### LockedBlackboard
The coordination core. Uses file-system mutexes so any number of agents can write concurrently without data loss.AWESOME_LISTS.md
# Awesome List PR Submissions Ready-to-use PR titles, one-liners, and context for each list. Submit these as pull requests to the respective repositories. --- ## 1. awesome-mcp-servers **Repo:** https://github.com/punkpeye/awesome-mcp-servers **PR title:** > Add network-ai — multi-agent orchestration MCP server with blackboard, FSM, and compliance tools **One-liner to add to the list:** ```markdown - [network-ai](https://github.com/jovanSAPFIONEER/Network-AI) - Multi-agent orchestration MCP server. 20+ MCP tools: blackboard read/write, agent spawn/stop, FSM transitions, budget tracking, token management, audit log query. `npx network-ai-server --port 3001`. TypeScript/Node.js. ``` **Where to add it:** Under the orchestration or multi-agent section. **PR body:** > network-ai ships a production-ready MCP server (`network-ai-server` binary) that exposes the full orchestration control plane over HTTP/SSE + JSON-RPC 2.0. It includes 20+ tools across 4 groups: blackboard coordination (read/write/lock), agent control (spawn/stop/list), FSM governance (transition/state), and observability (budget status, audit trail, token lifecycle). Zero config — `npx network-ai-server` starts immediately. --- ## 2. awesome-ai-agents **Repo:** https://github.com/e2b-dev/awesome-ai-agents **PR title:** > Add network-ai — TypeScript orchestration framework with concurrency safety for multi-agent systems **One-liner to add to the list:** ```markdown - [network-ai](https://github.com/jovanSAPFIONEER/Network-AI) - Plug-and-play multi-agent orchestration for TypeScript/Node.js. Connects 12 frameworks (LangChain, AutoGen, CrewAI, OpenAI Assistants, LlamaIndex, MCP, and more) with atomic shared state, FSM governance, per-agent budget enforcement, and cryptographic audit trails. Solves race conditions and split-brain writes in concurrent agent systems. ``` **PR body:** > network-ai fills a gap that most agent frameworks leave open: safe coordination when agents share state. It wraps any agent framework via adapters (12 supported) and adds atomic blackboard writes, FSM state gating, per-agent token budget ceilings, and a ComplianceMonitor for behavioral governance. MIT licensed, 1,200+ tests, CodeQL + OpenSSF Scorecard. --- ## 3. awesome-langchain **Repo:** https://github.com/kyrolabs/awesome-langchain **PR title:** > Add network-ai — orchestration layer with LangChain adapter for multi-agent coordination safety **One-liner to add to the list:** ```markdown - [network-ai](https://github.com/jovanSAPFIONEER/Network-AI) - Multi-agent orchestration framework with a first-class LangChain adapter. Wraps LangChain Runnables, chains, and agents with atomic shared state, permission gating, budget enforcement, and FSM governance. Prevents race conditions when multiple LangChain agents write to shared resources concurrently. ``` **Where to add it:** Under Tools / Agent frameworks / Orchestration. --- ## 4. awesome-
BENCHMARKS.md
# Benchmarks & Performance > Performance data for Network-AI deployments. Your swarm is only as fast as the backend it calls — this page helps you choose the right setup. ## BlackboardValidator Throughput Layer 1 validation (rule-based, zero LLM calls) measured on Node.js 20, Apple M2, single-thread: | Input size | Ops/sec | Latency | |---|---|---| | Small entry (~100 chars) | ~1,000,000 | < 1 µs | | Medium entry (~1 KB) | ~500,000 | ~2 µs | | Large entry (~10 KB) | ~159,000 | ~6 µs | Layer 2 (QualityGateAgent) adds LLM latency and is async — intended for high-value writes, not every write. --- ## Cloud Provider Performance Not all cloud APIs perform the same. Model size, inference infrastructure, and tier all affect how fast each agent gets a response — and that directly multiplies across every agent in your swarm. | Provider / Model | Avg response (5-agent swarm) | RPM limit (free/tier-1) | Notes | |---|---|---|---| | **OpenAI gpt-5.2** | 6–10s per call | 3–6 RPM | Flagship model, high latency, strict RPM | | **OpenAI gpt-4o-mini** | 2–4s per call | 500 RPM | Fast, cheap, good for reviewer agents | | **OpenAI gpt-4o** | 4–7s per call | 60–500 RPM | Balanced quality/speed | | **Anthropic Claude 3.5 Haiku** | 2–3s per call | 50 RPM | Fastest Claude, great for parallel agents | | **Anthropic Claude 3.7 Sonnet** | 4–8s per call | 50 RPM | Stronger reasoning, higher latency | | **Google Gemini 2.0 Flash** | 1–3s per call | 15 RPM (free) | Very fast inference, low RPM on free tier | | **Groq (Llama 3.3 70B)** | 0.5–2s per call | 30 RPM | Fastest cloud inference available | | **Together AI / Fireworks** | 1–3s per call | Varies by plan | Good for parallel workloads | **Key insight:** A 5-agent swarm using `gpt-4o-mini` at 500 RPM can fire all 5 agents truly in parallel and finish in ~4s total. The same swarm on `gpt-5.2` at 6 RPM must go sequential and takes 60s. **The model tier matters more than the orchestration framework.** ### Choosing a Model for Swarm Agents - **Speed over depth** (many agents, real-time) → `gpt-4o-mini`, `claude-3.5-haiku`, `gemini-2.0-flash`, `groq/llama-3.3-70b` - **Depth over speed** (few agents, high-stakes) → `gpt-4o`, `claude-3.7-sonnet` - **Free / no-cost testing** → Groq free tier, Gemini free tier, or Ollama locally - **Production with budget** → multiple keys across providers, route agents to different models --- ## Rate Limit Patterns When you run a 5-agent swarm sharing one API key and hit the RPM ceiling, the API silently returns empty responses — not a 429 error, just blank content. Network-AI's swarm demos handle this automatically with **sequential dispatch** and **adaptive header-based pacing** (reads `x-ratelimit-reset-requests` to wait exactly as long as needed). | You have | What to expect | |---|---| | One cloud API key | Sequential dispatch, 40–70s per 5-agent swarm — handled automatically | | Multiple cloud keys | Near-parallel, 10–15s —
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/jovanSAPFIONEER/network-ai",
"sourceUrl": "https://clawhub.ai/jovanSAPFIONEER/network-ai",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-04-15T00:45:39.800Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-jovansapfioneer-network-ai/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jovansapfioneer-network-ai/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-04-15T00:45:39.800Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "788 downloads",
"href": "https://clawhub.ai/jovanSAPFIONEER/network-ai",
"sourceUrl": "https://clawhub.ai/jovanSAPFIONEER/network-ai",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-04-15T00:45:39.800Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "4.0.14",
"href": "https://clawhub.ai/jovanSAPFIONEER/network-ai",
"sourceUrl": "https://clawhub.ai/jovanSAPFIONEER/network-ai",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-02-28T18:59:58.541Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-jovansapfioneer-network-ai/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jovansapfioneer-network-ai/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 4.0.14",
"description": "**Clarifies configuration for Python vs Node.js features and removes obsolete environment variables.** - Updated documentation to state that HMAC signing and AES-256 encryption are only available in the Node.js MCP server, not the Python scripts. - Revised environment variable descriptions to clarify they have no effect in core Python scripts. - Notes that permission tokens use UUIDs and are stored locally in plaintext (not HMAC-signed). - Specifies OpenAI API keys are not required or used by Python scripts. - General documentation cleanup to more accurately reflect behavior and separation of Python and Node.js components.",
"href": "https://clawhub.ai/jovanSAPFIONEER/network-ai",
"sourceUrl": "https://clawhub.ai/jovanSAPFIONEER/network-ai",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-02-28T18:59:58.541Z",
"isPublic": true
}
]
}Record generated Oct 9, 2026.
