Agent orchestration platform — hardware-aware routing, MCP server, swarm intelligence, OpenAI-compatible
Project description
NeuralBroker 2.0 — Swarm-Native Orchestration Platform
VRAM-aware LLM routing · Zero-Trust Federation · MCP Server · Agentic Swarms
The Ultimate Agent Orchestration Platform
NeuralBroker 2.0 transforms your machine into a Swarm-Native Orchestration Node. It goes far beyond standard model routing. It automatically evaluates your hardware, runs localized HNSW-vector memory, coordinates multi-agent task pipelines, and securely talks to other machines across the internet via Zero-Trust Federation.
pip install neuralbrok
neuralbrok start
That's it. Point Claude Code, Cursor, or any OpenAI-compatible app at localhost:8000/v1 (or connect via the built-in MCP server), and the Swarm takes over.
🌟 What's New in v2.0
1. Agentic Swarms & Task Coordination
NeuralBroker doesn't just route prompts; it routes objectives. The built-in SwarmCoordinator decomposes complex user requests into Plan → Execute → Review pipelines, automatically picking the best specialized local agent (Coder, Planner, Reviewer, Analyst) for each subtask.
2. NeuralFit Hardware Intelligence
Powered by a native Python implementation of our advanced hardware scoring algorithm, NeuralBroker scores models across Quality, Speed, Fit, and Context based on your exact hardware specifications (NVIDIA, Apple Silicon, AMD, or CPU).
Run neuralbrok fit to see your live VRAM projections and tok/s estimates.
3. AgentDB (Vector Memory) & ReasoningBank
NeuralBroker now features a zero-dependency HNSW-style Vector Store built on NumPy. When your Swarms succeed at a complex task, the execution trajectory is saved into the ReasoningBank. Future agents automatically inject this historical context to solve similar problems faster.
4. Zero-Trust Federation (Agent-to-Agent Comms)
Swarms can now securely communicate across networks. Using our local mTLS/Ed25519-style crypto module, your agents can encrypt and sign payloads and send them to other NeuralBroker nodes. Untrusted nodes are automatically downgraded.
Run neuralbrok federation init to start.
5. Security & AIDefence
Every prompt is now scrubbed.
- PII Redaction: AWS keys, emails, and SSNs are automatically masked before reaching cloud LLMs.
- Injection Shield: Federated incoming requests are heuristically scanned for adversarial jailbreaks ("ignore previous instructions").
6. Background Workers (Autopilot)
When your machine is idle, NeuralBroker wakes up. The internal WorkerDaemon launches background tasks to optimize codebases and run simulated security audits while you sleep.
7. MCP Server & Dynamic Plugins
NeuralBroker is now a native Model Context Protocol (MCP) server via stdio. Connect Claude Code directly to it. Want more agents? You can dynamically load .yaml agent definitions into your ~/.neuralbrok/plugins/ directory and share them with the community.
Run neuralbrok plugins list to view.
🚀 Subscription Inheritance
You already pay for Claude Pro. NeuralBroker lets every app on your machine use it — automatically, for free. It reads the OAuth session your Claude Code CLI holds in ~/.claude/.credentials.json and uses the claude binary as a free inference backend for hard tasks that spill over from your local GPU.
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="any-string")
response = client.chat.completions.create(
model="claude-sonnet-4-6",
messages=[{"role": "user", "content": "Hello"}]
)
# Routed through your Claude Pro subscription. Cost: $0.
💻 Quickstart
1. Install & Start
pip install neuralbrok
neuralbrok start
2. Check Hardware Fit
neuralbrok fit
3. Start the MCP Server (For Claude Code/Cursor)
neuralbrok mcp
4. View Dashboard
Open http://localhost:8000/dashboard to view the live Pink Matrix telemetry UI, complete with routing waterfalls and VRAM gauges.
🔌 API & Integrations
NeuralBroker serves standard endpoints:
POST /v1/chat/completions(OpenAI format)POST /nb/federation/receive(Zero-Trust node comms)GET /nb/hardware(Telemetry)
Auto-Configured Integrations:
Run neuralbrok integrations setup <ide_name> to automatically connect:
- Claude Code
- Cursor
- GitHub Copilot
- Cline
- ...and 15+ more.
🛠️ Development
git clone https://github.com/khan-sha/neuralbroker.git
cd neuralbroker
python3 -m venv .venv && source .venv/bin/activate
pip install -e .
pytest tests/
MIT License — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neuralbrok-2.0.7.tar.gz.
File metadata
- Download URL: neuralbrok-2.0.7.tar.gz
- Upload date:
- Size: 236.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fb24797999397b8c0c117625b22c04b1a8cf87df6ce5373383b53bef235ba52
|
|
| MD5 |
5ca3efb7018b1773ecd79045df925c68
|
|
| BLAKE2b-256 |
16b68c7c0754f0e9379a716926c49636e84be3317d3e4fbf9072687aecbf74cf
|
Provenance
The following attestation bundles were made for neuralbrok-2.0.7.tar.gz:
Publisher:
pypi-publish.yml on khan-sha/neuralbroker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neuralbrok-2.0.7.tar.gz -
Subject digest:
8fb24797999397b8c0c117625b22c04b1a8cf87df6ce5373383b53bef235ba52 - Sigstore transparency entry: 1423354501
- Sigstore integration time:
-
Permalink:
khan-sha/neuralbroker@a89dc31debb1c346849accdf4a20a86e18c885f3 -
Branch / Tag:
refs/tags/v2.0.7 - Owner: https://github.com/khan-sha
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@a89dc31debb1c346849accdf4a20a86e18c885f3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file neuralbrok-2.0.7-py3-none-any.whl.
File metadata
- Download URL: neuralbrok-2.0.7-py3-none-any.whl
- Upload date:
- Size: 176.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b146efd997b51a5b5d0e80e4903e26dcefd61949b1ff25c44126c973b7d14c0e
|
|
| MD5 |
9eb29dce4f8f111eaf0d3acb9495c4d0
|
|
| BLAKE2b-256 |
f33b70bff64255d5048e7a65a80cb51765a52e82032135624d54fd0bf5ac4a4e
|
Provenance
The following attestation bundles were made for neuralbrok-2.0.7-py3-none-any.whl:
Publisher:
pypi-publish.yml on khan-sha/neuralbroker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neuralbrok-2.0.7-py3-none-any.whl -
Subject digest:
b146efd997b51a5b5d0e80e4903e26dcefd61949b1ff25c44126c973b7d14c0e - Sigstore transparency entry: 1423354630
- Sigstore integration time:
-
Permalink:
khan-sha/neuralbroker@a89dc31debb1c346849accdf4a20a86e18c885f3 -
Branch / Tag:
refs/tags/v2.0.7 - Owner: https://github.com/khan-sha
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@a89dc31debb1c346849accdf4a20a86e18c885f3 -
Trigger Event:
push
-
Statement type: