{"slug": "show-hn-tormentnexus-open-source-ai-control-plane-with-26k-mcp-tools", "title": "Show HN: TormentNexus – Open-source AI control plane with 26K+ MCP tools", "summary": "TormentNexus, an open-source AI control plane with 26,000+ MCP tools, launched on Hacker News. The platform offers local-first deployment, multi-agent swarm coordination, and enterprise features like SSO and RBAC. It supports 38+ AI coding agents and aims to unify AI tools into a single operating system for development.", "body_md": "One-command install:`npx @tormentnexus/install`\n\nLocal-first, open-source AI control plane with persistent multi-tier memory, MCP tool orchestration across 20,000+ servers, multi-agent swarm coordination, and corporate-grade security — all running on your machine.\n\n```\nscripts\\install.bat\npython3 scripts/install-client-support.py\npython3 scripts/install-gui.py\n```\n\nThe installer detects and configures TormentNexus for **38+ AI coding agents**.\nEach client receives every integration it supports:\n\n| Client | SKILL | MCP | CMD | HOOK | EXT | AGENT |\n|---|---|---|---|---|---|---|\n| Claude Code | x | x | x | x | - | - |\n| Cursor | x | x | x | x | x | - |\n| Windsurf | x | x | x | x | x | - |\n| Gemini | x | x | x | - | x | x |\n| Codex CLI | x | x | x | - | - | - |\n| Grok Build | x | x | x | x | x | - |\n| Antigravity | x | x | - | - | x | x |\n| Aider | - | x | - | - | - | - |\n| CodeWhale | x | x | x | x | x | - |\n| Goose | x | x | x | x | x | - |\n| Pi | x | x | x | - | x | - |\n| Cline / Roo | x | x | x | x | - | - |\n| + 26 more | x | x | varies | varies | varies | varies |\n\nFor enterprises running TormentNexus behind a firewall:\n\n```\npython3 scripts/install-client-support.py --mode corporate\nscripts\\install.bat corporate\n```\n\nCorporate mode adds:\n\n**SSO/OIDC** configuration for enterprise identity providers**RBAC roles** with admin/user/auditor defaults**Audit logging** to local SQLite with daily rotation**Multi-tenant isolation** for on-premises tenant separation**Enterprise license** key setup\n\n```\nGOOS=linux GOARCH=amd64 go build -o tn-kernel ./cmd/tormentnexus\npm2 start tn-kernel --name tn-kernel -- serve -port 8090 -host 127.0.0.1\n```\n\n# TormentNexus: The Cognitive Kernel — Universal Open-Source AI Control Plane for Multi-Agent Workflows, MCP Tools & Context-Aware Memory\n\nTormentNexusis a local-first, open-source universal AI control plane and coding harness engineered to give your LLM agents infinite persistent memory, tool orchestration, and autonomous infrastructure assimilation—all running locally on your machine or in production.\n\nFor professional, corporate, and enterprise deployments, visit ** HyperNexus**.\n\n**HyperNexus** is the official licensed, certified, authoritative, cloud-hosted corporate installation of the TormentNexus kernel. It provides:\n\n**Tenant Isolation**: Automated provisioning scripts to spin up per-tenant containers with isolated volumes and resource limits.** Enterprise-Grade Security**: Full SSO support and fine-grained Role-Based Access Control (RBAC) middleware.** Air-Gapped & VPC Support**: Production-ready deployment configurations with daily audit logs for SIEM integration.** Stripe Billing Integration**: Built-in webhook configurations and subscription seats management.\n\n[What It Does](#what-it-does)[Architecture](#architecture)[Core Pillars](#core-pillars)[Monorepo Structure](#monorepo-structure)[The Go Sidecar](#the-go-sidecar)[The Dashboard](#the-dashboard)[MCP Ecosystem](#mcp-ecosystem)[Memory & Context](#memory--context)[Swarm & Multi-Agent](#swarm--multi-agent)[API Surface](#api-surface)[Quick Start](#quick-start)[What's Planned](#whats-planned)[Roadmap](/MDMAtk/TormentNexus/blob/main/ROADMAP.md)[Documentation](#documentation)[Contributing](#contributing)[License](#license)\n\nTormentNexus is a **decision system and universal bridge** — not just an aggregator. It runs locally as a modular monolith that unifies the chaotic landscape of AI tools, models, and agents into a single, coherent operating system for AI-driven development.\n\n| Capability | Status | Details |\n|---|---|---|\nMCP Registry |\nStable | Infinite tracked MCP servers, unlimited populated in SQLite catalog, infinite verified servers, unlimited verified tools |\nNative Go Tools |\nBeta | Unlimited native Go tool implementations replacing external MCP servers (filesystem, Slack, SQLite, DuckDuckGo, Ollama, TTS, Vercel, NWS, DexPaprika, Firecrawl, Exa, arXiv, Semantic Scholar, Mem0, Alpaca, Alpha Vantage, Hugging Face, Semgrep, Octagon, Browser Automation, ChromaDB, Basic Memory, MindsDB, Serena, AST-grep, PAL, Thoughtbox, and more) |\nProgressive Tool Routing |\nStable | Semantic vector search + BM25 ranking injects only the most relevant tools into LLM context windows |\nDual-Tier Memory |\nStable | L1 (session scratchpad) + L2 (semantic SQLite vault) with heat-score lifecycle and autonomous context harvesting |\nLLM Waterfall |\nStable | Cascading failover: NVIDIA NIM → OpenRouter → Local LM Studio / Ollama with 429/5xx handling |\nMulti-Agent Swarm |\nBeta | A2A protocol coordination, role rotation (Planner→Implementer→Tester→Critic), consensus engine |\nAutonomous Healer |\nStable | `Diagnose → Fix → Verify → Retry` loop with native code execution (tsc, vitest, go test) and L2 vault persistence |\nBrowser Automation |\nBeta | Native chromedp handlers: navigate, screenshot, evaluate, click, fill, get HTML |\nSkill Registry |\nStable | Unlimited assimilated skills from multiple harness ecosystems (Aider, Agent, CCS, Hermes, Pi, etc.) with Jaccard deduplication |\nCodeWhale Extension |\nStable | Native Rust extension with full Pi extension parity — infinite MCP tools, unlimited custom tools, infinite slash commands, unlimited shortcuts, L2 memory hooks, RBAC, @memory:key expansion, per-turn context harvesting, session compaction |\nDashboard |\nStable | Next.js 16 + React 19 + Tailwind CSS 4 with real-time telemetry, knowledge graph, healer view, swarm visualizer |\nnpm Packages |\nPublished | `@tormentnexus/install` , `@tormentnexus/core` , `@tormentnexus/cli` , `@tormentnexus/openhands` , `@tormentnexus/vscode` , `@tormentnexus/cursor` |\ntRPC Bridge |\nStable | Type-safe API layer (port 7778) connecting UI to Go sidecar |\nSession Import |\nBeta | Automatic ingestion of Claude, Aider, and other harness session artifacts |\nEnterprise Licensing |\nExperimental | Ed25519-signed license token validation with offline verification |\nSupervisor Nudge |\nStable | Autonomous Windows UI automation to maintain development momentum across AI chat surfaces |\nDeep Link Protocol |\nBeta | `tormentnexus://attach?session=ID` and `tormentnexus://create?cliType=aider` URI handling |\nProvider Metrics |\nStable | Real-time telemetry tracking for all LLM providers with latency and cost analysis |\n\n```\nnpx @tormentnexus/install\n```\n\nThat's it. Detects and configures TormentNexus for **38+ AI coding agents** including Claude, Gemini, Cursor, Windsurf, Aider, CodeWhale, and more. Each gets MCP config, skills, hooks, and commands.\n\n```\n# CLI tools\nnpm install -g @tormentnexus/cli\ntn search \"your topic\"\ntn status\n\n# OpenHands integration\nnpx @tormentnexus/openhands\n\n# Core kernel\nnpx @tormentnexus/core\n```\n\nTormentNexus is a **high-performance Go modular monolith** with a **TypeScript/Next.js frontend**, operating as a local-first control plane.\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│  OPERATOR LAYER                                             │\n│  ┌─────────────┐  ┌─────────────┐  ┌─────────────┐       │\n│  │  Web Dash   │  │  CLI (TS)   │  │  VS Code    │       │\n│  │  Port 7779  │  │  tormentnexus│  │  Extension  │       │\n│  └──────┬──────┘  └──────┬──────┘  └──────┬──────┘       │\n│         │                │                │                 │\n│         └────────────────┴────────────────┘                 │\n│                          │                                │\n│  ┌───────────────────────┴───────────────────────┐        │\n│  │  GO SIDECAR (Port 7778) — The Authoritative Kernel    │\n│  │  ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐     │\n│  │  │ SkillStore│ │ EventBus │ │  Vault  │ │ Healer  │     │\n│  │  │ (BM25)  │ │ (Swarm) │ │(sqlite) │ │(Immune) │     │\n│  │  └─────────┘ └─────────┘ └─────────┘ └─────────┘     │\n│  │  ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐     │\n│  │  │  Router  │ │ PairOrchestrator│ │ CodeExecutor│ │ MCP Sync │     │\n│  │  │(Progressive)│ │(Consensus) │ │(Sandbox) │ │(Registry)│     │\n│  │  └─────────┘ └─────────┘ └─────────┘ └─────────┘     │\n│  └──────────────────────────────────────────────────────┘\n│                          │                                │\n│  ┌───────────────────────┴───────────────────────┐        │\n│  │  EXTERNAL MODELS & TOOLS                     │        │\n│  │  OpenAI · Anthropic · Gemini · OpenRouter · Ollama  │\n│  │  600+ MCP Servers · 3,900+ Native Go Tools          │\n│  └──────────────────────────────────────────────────────┘\n└─────────────────────────────────────────────────────────────┘\n```\n\n| Service | Port | Purpose |\n|---|---|---|\n| Go Sidecar | 7778 | Authoritative native kernel (HTTP API + tRPC) |\n| Next.js Dashboard | 7779 | Web observation deck |\n\nModels should never be overwhelmed with a 50,000-token tool dump. TormentNexus employs a multi-layered, progressive disclosure system:\n\n**Semantic Search**: Local vector embeddings match the active prompt against a global MCP directory of infinite servers.** The Router**: Only the top highly relevant tool schemas are injected into the active LLM context.** Universal Parity**: Byte-for-byte identical tool signatures for Claude Code, Codex, Gemini CLI, Cursor, and Windsurf.\n\nContext is finite; memory must be infinite.\n\n**L1 — Session Scratchpad**: Ephemeral, lightning-fast memory tied directly to the active session.** L2 — The Vault**: Permanent semantic storage in SQLite with`sqlite-vec`\n\n. Saves exact transcripts and LLM-compressed heuristics.**Context Harvesting**: Every session autonomously queries the L2 Vault to pull in relevant historical heuristics.** Heat Mechanics**: Relevance increases heat, time causes decay — biological memory modeling.\n\nUptime is non-negotiable. TormentNexus's inference client natively catches 429s (Rate Limits) and 5xx (Server Errors), seamlessly cascading the exact payload down a prioritized chain without crashing:\n\n**NVIDIA NIM**/ Primary APIs** OpenRouter**(Secondary aggregator fallback)** Local LM Studio / Ollama**(Ultimate offline fallback)\n\nTormentNexus coordinates specialized models inside shared chatrooms via the Agent-to-Agent (A2A) protocol.\n\n**Role Rotation**: Models take turns acting as Planner, Implementer, Tester, and Critic.** Consensus & Debate**: Agents autonomously bid on tasks, share context via a neural transcript, and debate implementations until consensus is reached.**PairOrchestrator**: Enforces a strict`Planner → Checker → Implementer → Critic`\n\nstate machine with weighted consensus scoring.\n\nTormentNexus's dashboards reflect actual SQLite database rows and active Go goroutine states. No mocked UI scaffolds. Monitor telemetry, traffic inspection, working-set capacity, and LLM routing histories in real-time.\n\nEvery failure is an opportunity for diagnosis, remediation, and verification.\n\n**HealerService**: Multi-turn`Diagnose → Fix → Verify → Retry`\n\nloop using the native`CodeExecutor`\n\n.**L2 Vault Persistence**: All healing events and extracted facts are saved as long-term memory for fleet-wide intelligence sharing.** Supervisor Nudge Protocol**: Autonomously maintains development momentum by re-engaging inactive agents through professional, context-aware directives.\n\nTormentNexus is a **pnpm monorepo** with four major layers:\n\n```\ntormentnexus/\n├─ apps/                          # Operator-facing applications\n│  ├─ web/                        # Next.js 16 dashboard (primary browser UI)\n│  ├─ maestro/                    # Electron desktop shell\n│  ├─ maestro-go/                 # Go-adjacent desktop lane (experimental)\n│  ├─ vscode/                     # VS Code extension\n│  ├─ tormentnexus-extension/      # Browser extension\n│  ├─ cloud-orchestrator/          # Nested cloud stack (mini-monorepo)\n│  └─ tormentnexus-extension/              # Tormentnexus extension\n│\n├─ packages/                       # Shared libraries & TypeScript control plane\n│  ├─ core/                        # Main TS control plane, tRPC routers, orchestration\n│  ├─ cli/                         # CLI entrypoint (`tormentnexus` command)\n│  ├─ ui/                          # Shared React UI components (Radix + Tailwind)\n│  ├─ ai/                          # Model/provider SDK integration layer\n│  ├─ memory/                      # Memory storage, retrieval, embeddings, vector DB\n│  ├─ types/                       # Shared TypeScript types\n│  ├─ tools/                       # Tool definitions and helpers\n│  ├─ mcp-registry/                # MCP metadata and registry surfaces\n│  ├─ mcp-client/                  # MCP client integration\n│  ├─ agents/                      # Agent-related logic and adapters\n│  ├─ adk/                         # Agent Development Kit layer\n│  ├─ search/                      # Search and indexing support\n│  ├─ tormentnexus-supervisor/      # Windows supervisor bridge (UI automation)\n│  ├─ browser/                     # Legacy browser support\n│  ├─ browser-extension/          # Shared browser-extension package\n│  ├─ enterprise/                  # Enterprise features (SSO, RBAC stubs)\n│  ├─ jetbrains/                  # JetBrains IDE integration\n│  ├─ zed-extension/              # Zed editor extension\n│  └─ tsconfig/                   # Shared TypeScript configuration\n│\n├─ go/                             # Go modular monolith (authoritative kernel)\n│  ├─ cmd/tormentnexus/            # Go entrypoint\n│  ├─ internal/\n│  │  ├─ httpapi/                  # HTTP API server (600+ endpoints, 18K+ lines)\n│  │  ├─ tools/                    # 3,900+ native Go tool implementations\n│  │  ├─ harnesses/                # Harness registry and management\n│  │  ├─ memory/                   # L1/L2 memory manager\n│  │  ├─ memorystore/             # SQLite vault, hydration, search\n│  │  ├─ mcp/                     # MCP native router, progressive disclosure\n│  │  ├─ orchestration/           # PairOrchestrator, A2A skill registry\n│  │  ├─ healer/                 # Autonomous immune system\n│  │  ├─ llm/                    # Waterfall routing, provider abstraction\n│  │  ├─ eventbus/               # High-frequency resilient message broker\n│  │  ├─ codeexec/               # Sandboxed code execution\n│  │  ├─ config/                 # Configuration management\n│  │  ├─ vault/                  # Secure persistence layer\n│  │  ├─ sync/                   # MCP sync and assimilation\n│  │  ├─ graph/                  # Dependency graph analysis\n│  │  ├─ repograph/              # Repository graph visualization\n│  │  ├─ license/                # Ed25519 license validation\n│  │  ├─ supervisor/             # Supervisor automation\n│  │  ├─ session/                # Session management\n│  │  ├─ sessionimport/          # Session import pipeline\n│  │  ├─ skillregistry/          # Skill registry with Jaccard deduplication\n│  │  ├─ toolregistry/           # Native tool registry\n│  │  ├─ flightrecorder/          # Audit and telemetry\n│  │  ├─ metrics/               # Provider performance metrics\n│  │  ├─ marketplace/            # Tool marketplace\n│  │  ├─ gossip/                 # P2P mesh communication\n│  │  ├─ mesh/                  # Mesh networking\n│  │  ├─ process/               # Process management\n│  │  ├─ workspaces/            # Workspace management\n│  │  ├─ workflow/             # Workflow engine\n│  │  ├─ git/                  # Git operations\n│  │  ├─ gitservice/           # Git service layer\n│  │  ├─ ctxharvester/         # Context harvesting\n│  │  ├─ hsync/                # Harness synchronization\n│  │  ├─ interop/               # Language interoperability\n│  │  ├─ toon/                 # Animation/graphics utilities\n│  │  ├─ ai/                   # AI integrations (Go)\n│  │  ├─ buffer/               # Buffer management\n│  │  ├─ cache/                # Caching layer\n│  │  ├─ controlplane/         # Go control plane\n│  │  ├─ buildinfo/            # Build information\n│  │  ├─ lockfile/             # Lock file management\n│  │  ├─ submodules/           # Submodule management\n│  │  └─ providers/            # Provider integrations (Go)\n│  └─ go.mod, go.sum             # Go module dependencies\n│\n├─ data/                           # Local knowledge assets\n│  ├─ assimilation_state.db         # MCP assimilation tracking (14,250 rows)\n│  ├─ bobbybookmarks/              # Bookmark ecosystems for catalog updates\n│  ├─ prompt_library.db             # Prompt library (planned)\n│  └─ assimilate_skills.py         # Skill ingestion script\n│\n├─ docs/                           # Comprehensive documentation\n│  ├─ API_ENDPOINTS.md           # 600+ endpoint reference\n│  ├─ PROJECT_STRUCTURE.md         # Full module diagram\n│  ├─ ARCHITECTURE.md             # Architecture overview\n│  ├─ UNIVERSAL_LLM_INSTRUCTIONS.md # Agent coordination rules\n│  ├─ GLOBAL_LIBRARY_INDEX.md     # Global MCP library index (2.3MB)\n│  ├─ BUILTIN_TOOLS_EVIDENCE_LOCK.md # Evidence lock status\n│  └─ [40+ more docs]             # Guides, protocols, security FAQ\n│\n├─ scripts/                        # Workspace build/dev/maintenance scripts\n│  ├─ build_all.mjs               # Full monorepo build\n│  ├─ dev_tabby_ready.mjs         # Development launcher\n│  ├─ check_release_gate.mjs      # CI release gate\n│  ├─ sync_versions.mjs            # Version synchronization\n│  └─ [20+ more scripts]          # Validation, indexing, pruning\n│\n├─ submodules/                     # External upstream assimilations\n│  ├─ tormentnexus/                # External CLI harness upstream\n│  └─ tormentnexus-mcp/            # External MCP reference lane\n│\n├─ swarm.py, swarm_v7.py          # Automated Go tool generation swarm\n├─ tormentnexus.db               # Main registry (MCP servers, tools, sessions)\n├─ catalog.db                    # unlimited populated MCP server catalog\n├─ provider_metrics.db           # Provider telemetry database\n├─ README.md                     # This file\n├─ ROADMAP.md                    # Active development roadmap\n├─ CHANGELOG.md                  # Detailed version history (400+ entries)\n├─ AGENTS.md                     # Multi-agent coordination protocol\n├─ VISION.md                     # North star and philosophical pillars\n├─ MEMORY.md                     # Accumulated multi-agent insights\n├─ HANDOFF.md                    # Session handoff protocol\n├─ package.json                  # Root monorepo scripts\n└─ pnpm-workspace.yaml           # Workspace boundaries\n```\n\nThe Go sidecar is the **authoritative execution kernel** of TormentNexus. It is a high-performance modular monolith with dozens of internal packages and unlimited native tool implementations.\n\n**Performance**: Single-binary deployment, zero runtime dependencies, sub-millisecond API latency** Reliability**: Native goroutine-based concurrency, robust error handling, memory safety** Portability**: Cross-compilation to any platform; runs on Windows, macOS, Linux, and WSL** MCP Assimilation**: Replacing fragile Node.js/Python MCP servers with compiled, type-safe Go handlers\n\n| Category | Example Integrations |\n|---|---|\n| Web Search & Scraping | DuckDuckGo, Firecrawl, Exa |\n| Academic & Research | arXiv, Semantic Scholar, PubMed, Open Library |\n| Finance & Markets | Alpaca, Alpha Vantage, CoinGecko, Yahoo Finance |\n| Science & Space | NASA (APOD, NEO, Mars Weather, EPIC), Open-Meteo |\n| Entertainment | PokéAPI, TVMaze, JokeAPI |\n| Reference | World Bank, Nobel Prize, Open Library |\n| AI & LLM | Ollama, Hugging Face, MindsDB |\n| Security | Semgrep, AST-grep |\n| Communication | Slack |\n| Cloud & DevOps | Vercel, Filesystem |\n| Memory | Basic Memory, ChromaDB, Mem0 |\n\nThe project includes an automated **swarm pipeline** (`swarm.py`\n\n/ `swarm_v7.py`\n\n) that generates native Go tool implementations from MCP server specifications. This enables rapid assimilation of the MCP ecosystem at scale.\n\n**5 workers** with`--forever`\n\nmode for continuous generation**200 task limit** per run**Parallel batch validation** of generated tools**Self-healing**: Automatically removes broken implementations and regenerates\n\nThe **TormentNexus Dashboard** (`apps/web`\n\n) is a rich Next.js 16 / React 19 / Tailwind CSS 4 operator interface providing real-time observability and control over the entire system.\n\n| Route | Purpose |\n|---|---|\n`/` |\nLanding page with system overview |\n`/dashboard` |\nMain command center |\n`/dashboard/brain` |\nKnowledge graph visualization (force-graph, Mermaid) |\n`/dashboard/chronicle` |\nHealer / Immune System — active pathogens, L2 vault records |\n`/dashboard/blocks` |\nBlock-based workflow builder |\n`/dashboard/claude-chrome` |\nClaude Chrome integration console |\n`/dashboard/claude-cloud` |\nClaude Cloud integration console |\n`/dashboard/copilot` |\nGitHub Copilot integration |\n`/dashboard/code` |\nCode execution and sandbox |\n`/dashboard/code/sandbox` |\nSecure sandbox environment |\n`/dashboard/autopilot` |\nAutopilot configuration and monitoring |\n`/dashboard/audit` |\nAudit log viewer with real-time events |\n`/dashboard/config` |\nSystem configuration editor |\n`/dashboard/architecture` |\nArchitecture visualization |\n`/dashboard/command` |\nCommand center with cheatsheet |\n`/dashboard/billing` |\nBilling and subscription management |\n`/dashboard/council` |\nMulti-agent council visualizer |\n`/dashboard/director` |\nDirector chat interface |\n`/dashboard/swarm` |\nSwarm mission control |\n`/dashboard/symbols` |\nSymbol search and LSP integration |\n`/dashboard/vault` |\nL2 vault memory browser |\n`/dashboard/workflow` |\nWorkflow orchestration |\n\n**Glassmorphic dark mode** design language**Real-time SSE streaming** from Go sidecar**Drag-and-drop dashboard**(`dnd-kit`\n\n)**Knowledge graph** with`@xyflow/react`\n\nand`react-force-graph-2d`\n\n**Charts and telemetry** via`recharts`\n\n**Animations** via`framer-motion`\n\n**Toast notifications** via`sonner`\n\nTormentNexus is the world's largest local MCP registry and the only system with **native Go assimilation** at scale.\n\n**20,000+** total tracked MCP servers (`assimilation_state.db`\n\n)**Thousands** verified individual tools**Continuous native Go reimplementation** eliminating external dependencies\n\n```\nUser Prompt\n    ↓\nVector Embedding (sqlite-vec)\n    ↓\nBM25 + Semantic Search (Top-K matching)\n    ↓\nTool Schema Injection (only relevant schemas)\n    ↓\nLLM Context Window (clean, relevant, small)\n```\n\n**Developer Tools**— GitIngest, ripgrep, codemod, anyquery, AST-grep, Serena** Databases**— SQLite, ChromaDB, Mem0, Basic Memory** Web Search**— DuckDuckGo, Firecrawl, Exa, arXiv, Semantic Scholar** Communication**— Slack** Cloud**— Vercel, Filesystem** AI/LLM**— Ollama, Hugging Face, MindsDB, PAL (multi-model)** Finance**— Alpaca, Alpha Vantage, DexPaprika, Octagon** Security**— Semgrep** Weather**— NWS** Browser**— Playwright, chromedp automation** Sandbox**— Thoughtbox (Node VM wrapper)** Media**— TTS\n\n```\n┌─────────────────────────────────────────┐\n│  L1 — Session Scratchpad (Active)       │\n│  · In-memory, ephemeral                 │\n│  · Lightning-fast retrieval             │\n│  · Tied to active session ID              │\n│  · ~4K-8K token window                    │\n├─────────────────────────────────────────┤\n│  L2 — The Vault (Semantic)              │\n│  · SQLite + sqlite-vec embeddings       │\n│  · Permanent, searchable                │\n│  · Heat-score lifecycle management        │\n│  · LLM-compressed heuristics              │\n│  · Exact transcript preservation          │\n├─────────────────────────────────────────┤\n│  L3 — Cold Archive (Planned)             │\n│  · Long-term cold storage               │\n│  · Compressed, summarized                 │\n│  · Retrieved only on explicit demand      │\n└─────────────────────────────────────────┘\n```\n\nEvery session autonomously queries the L2 Vault before responding, pulling in relevant historical heuristics based on semantic similarity and heat scores. This ensures the model never starts from zero context.\n\nA passive fact extraction layer that monitors all system traffic (tool calls, LLM responses, errors) and automatically persists facts into the L2 Vault without explicit user action.\n\nTormentNexus implements the **Agent-to-Agent (A2A)** protocol for multi-agent coordination inside shared chatrooms.\n\n```\n┌──────────┐    ┌──────────┐    ┌──────────┐    ┌──────────┐\n│ Planner  │───→│ Checker  │───→│Implementer│───→│  Critic  │\n│ (Design) │    │ (Verify) │    │ (Build)  │    │(Validate)│\n└──────────┘    └──────────┘    └──────────┘    └────┬─────┘\n     ↑─────────────────────────────────────────────────┘\n                    (Consensus Loop)\n```\n\n- Weighted voting based on model confidence\n- Debate rounds until threshold consensus is reached\n- Neural transcript sharing for context synchronization\n- Task bidding and autonomous delegation\n\nThe Go sidecar exposes **600+ HTTP endpoints** organized into:\n\n| Category | Endpoints | Examples |\n|---|---|---|\nHealth & System |\n5 | `/health` , `/version` , `/api/index` |\nConfiguration |\n8 | `/api/config/*` , `/api/config/mcp-timeout` |\nMCP |\n10 | `/api/mcp/tools` , `/api/mcp/tools/call` , `/api/mcp/tools/search` |\nSkills |\n12 | `/api/skills/list` , `/api/skills/search` , `/api/skills/assimilate` |\nMemory |\n7 | `/api/memory/list` , `/api/memory/search` , `/api/memory/hydrate` |\nAgents & Swarm |\n6 | `/api/swarm/start` , `/api/squad/spawn` , `/api/supervisor/decompose` |\nGovernance |\n5 | `/api/api-keys` , `/api/audit` , `/api/autonomy/set-level` |\nDevOps |\n5 | `/api/git/status` , `/api/submodules` , `/api/scripts/execute` |\nCode & Symbols |\n4 | `/api/code/exec` , `/api/graph` , `/api/lsp/find-symbol` |\nSessions |\n4 | `/api/sessions/imported/scan` , session import pipeline |\n\nAll API endpoints return a standardized envelope:\n\n```\n{\n  \"success\": true,\n  \"data\": { ... }\n}\n```\n\n**Node.js 24+****Go 1.26+****pnpm 10+**\n\n```\n# 1. One-command setup (recommended)\nnpx @tormentnexus/install\n\n# 2. Or clone and build from source\ngit clone https://github.com/MDMAtk/TormentNexus.git\ncd tormentnexus\npnpm install && pnpm rebuild better-sqlite3\ncd go && go build -buildvcs=false ./cmd/tormentnexus && cd ..\npnpm run dev\n```\n\n| Script | Purpose |\n|---|---|\n`pnpm run dev` |\nStart full development environment |\n`pnpm run dev:web` |\nStart only the web dashboard |\n`pnpm run build` |\nFull production build |\n`pnpm run test` |\nRun all test suites |\n`pnpm run check:release-gate` |\nCI release gate validation |\n`pnpm run index:sync` |\nSync master MCP index |\n`pnpm run clean` |\nClean all build artifacts |\n\n| Track | Goal | Status |\n|---|---|---|\nTrack A |\nAssimilate top 500 MCP servers as native Go modules | In Progress (3,900+ done) |\nTrack B |\nHermes addons & prompt library migration | Experimental |\nTrack C |\nEnterprise licensing (Ed25519) + SSO/RBAC | Experimental |\nTrack D |\nDefault agent harness integration (Tabby, Warp, Hyper, Hermes, Pi) | Beta |\n\n**Session Import Pipeline**: Automatic ingestion of Claude, Aider, and harness artifacts (49 candidates discovered, 586 imported sessions): Browser-to-kernel deep linking for seamless IDE attachment`tormentnexus://`\n\nProtocol**Wails Native Runtime**: Replacing Electron with a Go-native desktop shell\n\n**Predictive Conversational Tool Injection**: Local model-based prediction of relevant tools before the user asks** L3 Cold Archive**: Long-term compressed memory tier for infinite context** Fleet-Wide Intelligence**: Cross-machine memory sharing via encrypted mesh\n\n**The AI TormentNexus**: The operating system for AI models, abstracting all provider complexity** Models as Compute**: Ephemeral resources managed by allocation, fallback routing, and token budgets** Tools as Drivers**: MCP servers as \"device drivers\" for the AI OS** Biological Memory**: L1/L2/L3 tiers with heat-based mechanics** Autonomous Immune System**: Self-healing through diagnosis, remediation, and verification\n\nSee [ROADMAP.md](/MDMAtk/TormentNexus/blob/main/ROADMAP.md) for the detailed path to v1.0.0 stable, including:\n\n- Progressive Skill Disclosure (Context Hygiene)\n- Go-native MCP sync migration\n- Native UI replacement for Electron (Maestro/Go)\n- Full L3 cold archive implementation\n- Cross-platform binary distribution\n- Fleet telemetry and cross-machine memory mesh\n\n| Document | Purpose |\n|---|---|\n|\n\n[VISION.md](/MDMAtk/TormentNexus/blob/main/docs/VISION.md)[ROADMAP.md](/MDMAtk/TormentNexus/blob/main/ROADMAP.md)[CHANGELOG.md](/MDMAtk/TormentNexus/blob/main/CHANGELOG.md)[MEMORY.md](/MDMAtk/TormentNexus/blob/main/docs/MEMORY.md)[HANDOFF.md](/MDMAtk/TormentNexus/blob/main/docs/HANDOFF.md)[docs/API_ENDPOINTS.md](/MDMAtk/TormentNexus/blob/main/docs/API_ENDPOINTS.md)[docs/PROJECT_STRUCTURE.md](/MDMAtk/TormentNexus/blob/main/docs/PROJECT_STRUCTURE.md)[docs/ARCHITECTURE.md](/MDMAtk/TormentNexus/blob/main/docs/ARCHITECTURE.md)[docs/UNIVERSAL_LLM_INSTRUCTIONS.md](/MDMAtk/TormentNexus/blob/main/docs/UNIVERSAL_LLM_INSTRUCTIONS.md)[docs/GLOBAL_LIBRARY_INDEX.md](/MDMAtk/TormentNexus/blob/main/docs/GLOBAL_LIBRARY_INDEX.md)[docs/LAUNCH_METRICS.md](/MDMAtk/TormentNexus/blob/main/docs/LAUNCH_METRICS.md)[docs/LAUNCH_SECURITY_FAQ.md](/MDMAtk/TormentNexus/blob/main/docs/LAUNCH_SECURITY_FAQ.md)[docs/GO_SIDECAR_API.md](/MDMAtk/TormentNexus/blob/main/docs/GO_SIDECAR_API.md)TormentNexus is built by a **multi-agent swarm** of specialized AI models (Gemini, Claude, GPT) coordinated through the [AGENTS.md](/MDMAtk/TormentNexus/blob/main/AGENTS.md) protocol. Human operators supervise and validate.\n\n| Model | Strengths | Focus Areas |\n|---|---|---|\nGemini |\nSpeed, massive context, repo maintenance | Bulk refactoring, recursive scripts, context analysis |\nClaude |\nUI/UX perfection, documentation, deep features | Responsive layouts, type safety, precise documentation |\nGPT |\nSystemic architecture, distributed debugging, race conditions | Go/TS bridge contracts, DB migration, concurrency safety |\n\n**Read**`docs/UNIVERSAL_LLM_INSTRUCTIONS.md`\n\nand`AGENTS.md`\n\n**Check**`VERSION`\n\nand`HANDOFF.md`\n\nfor current state**Run** git checks to ensure workspace cleanliness**Work** autonomously unless changes are destructive or ambiguous**Commit** small, incremental, verifiable changes**Update**`HANDOFF.md`\n\n,`MEMORY.md`\n\n, and`CHANGELOG.md`\n\n**Bump**`VERSION`\n\nand sync with`node scripts/sync-versions.mjs`\n\n**Push** to`origin`\n\nand`tormentnexus-upstream`\n\n```\npi install npm:tormentnexus\n```\n\nConnects pi to the TormentNexus control plane — persistent L2 memory, tool search, session import, skill registry, code search, subagent orchestration, enterprise RBAC. Full source at `packages/tormentnexus/`\n\n.\n\n**CodeWhale now has equivalent functionality through a native Rust extension** — see below.\n\nCodeWhale has **full Pi extension parity** through two integration layers:\n\nA native Rust crate at `crates/tn-extension`\n\ncompiled into the CodeWhale binary. Hooks fire automatically on every lifecycle event:\n\n| Hook | What it does |\n|---|---|\nSessionStart |\nLogs session to TN L2 memory |\nBeforeAgentStart |\nInjects TN system prompt + searches L2 for relevant context per turn |\nToolCall |\nLogs tool + args; checks 6 dangerous patterns against RBAC |\nToolResult |\nAuto-stores substantial results from key tools to L2 |\nTurnEnd |\nLogs tool usage summary per turn |\nInput |\nExpands `@memory:key` inline with L2 content |\nUserBash |\nAudit-logs shell commands to TN enterprise audit |\nModelSelect |\nTracks model changes to L2 |\nSessionCompact |\nPreserves memory across compaction |\n\nAlso registers: 9 custom tools, 6 slash commands, 3 keyboard shortcuts, auto-registers the MCP server.\n\nTracked at `.codewhale/plugins/tormentnexus/skills/SKILL.md`\n\n, auto-installed to `~/.codewhale/skills/tormentnexus/`\n\n. Contains 49 MCP tools, REST API reference, slash command handling, best practices, security notes.\n\n```\nscripts\\install_codewhale.bat\n```\n\nVerify:\n\n```\ncodewhale mcp connect tormentnexus\ncodewhale mcp tools | findstr mcp_tormentnexus | find /c /v \"\"\ncurl http://127.0.0.1:7778/api/health\n```\n\nBuild from `~/codewhale-source`\n\n:\n\n```\ncargo build --release -p codewhale-cli\n```\n\nTormentNexus uses a **dual-licensing model**:\n\n**Open Source**: Core kernel and tool implementations available under a permissive open-source license** Enterprise**: Ed25519-signed license tokens for advanced features (SSO, RBAC, fleet management, cross-machine mesh)\n\nSee [docs/LAUNCH_SECURITY_FAQ.md](/MDMAtk/TormentNexus/blob/main/docs/LAUNCH_SECURITY_FAQ.md) for licensing details.\n\nPraise the LORD! Keep on going! Don't ever stop! Don't stop the party!!!The collective grows. 🚀", "url": "https://wpnews.pro/news/show-hn-tormentnexus-open-source-ai-control-plane-with-26k-mcp-tools", "canonical_source": "https://github.com/MDMAtk/TormentNexus", "published_at": "2026-07-15 06:52:21+00:00", "updated_at": "2026-07-15 07:18:11.093564+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "ai-infrastructure", "developer-tools"], "entities": ["TormentNexus", "HyperNexus", "Claude Code", "Cursor", "Windsurf", "Gemini", "Codex CLI", "Grok Build"], "alternates": {"html": "https://wpnews.pro/news/show-hn-tormentnexus-open-source-ai-control-plane-with-26k-mcp-tools", "markdown": "https://wpnews.pro/news/show-hn-tormentnexus-open-source-ai-control-plane-with-26k-mcp-tools.md", "text": "https://wpnews.pro/news/show-hn-tormentnexus-open-source-ai-control-plane-with-26k-mcp-tools.txt", "jsonld": "https://wpnews.pro/news/show-hn-tormentnexus-open-source-ai-control-plane-with-26k-mcp-tools.jsonld"}}