TormentNexus is an open-source AI control plane that gives your LLM agents infinite memory, tool orchestration, and autonomous code execution — all running locally on your machine.
// For professional, corporate, and commercial deployments, visit HyperNexus.site →
L1 semantic search (384-dim all-MiniLM-L6-v2, cosine ≥
0.85 auto-load). L2 BM25 catalog ranking — tool name 10×
weight, tags 5×, description 3×. L3 working set: 16 soft
/ 24 hard cap, 8 hydrated schemas max. L4 runtime proxy. 5 permanent
meta-tools + 27 always-on builtins. Never dumps 50K tokens of
schemas again.
Context efficiency is absolute.
stdio JSON-RPC 2.0 aggregator namespaces every tool as
{server}__{tool} to prevent collisions. Ingests from
Glama, Smithery, MCP.run, npm, GitHub Topics. Infers API secrets via
regex pattern matching for 10+ providers (GitHub, OpenAI, Anthropic,
Gemini, Slack, Stripe…). 200-event traffic inspector ring
buffer. JSONL audit trail with daily rotation.
Every server. One gateway.
Automatic cascade on every 429 or 5xx: Google → Anthropic → OpenAI → DeepSeek → OpenRouter → local Ollama. Provider latency and error metrics persisted to SQLite for adaptive ranking. 9,774 sessions already imported and replayed through the cascade. The machine never stops.
L1: 100-entry in-RAM scratchpad, heat-score eviction. L2: SQLite
vault — 384-dim all-MiniLM-L6-v2 embeddings
(cosine), FTS5 full-text, GraphRAG edge table. L3: gzip cold archive
with 90-day limbo before deletion. Hourly sleep cycle runs
ForgettingCurve decay, DreamCycle consolidation, and MentalModel
reflection. infinite long-term capacity.
The machine remembers everything.
Planner, Implementer, Tester, Critic coordinated via a type-safe A2A message broker with heartbeat and audit logging. PairOrchestrator state machine: Planner → Reviewer → Implementer → Critic. Council/Debate manager for high-stakes consensus. Human veto service. 1,000-event rolling router event log. The swarm decides. You comply.
TypeScript compiler API (ts.createSourceFile()) splits
code at exact function, class, interface, type alias, module, and
enum boundaries. 1,000-char soft / 2,000-char hard chunk limits.
384-dim LanceDB ANN vector search. Five always-on repograph builtin
tools: find_references, find_dependents,
semantic_search, build,
get — blast-radius analysis before any change.
The code has no secrets.
TormentNexus is a local-first cognitive control plane. It routes infinite MCP tools through a semantic decision engine, maintains a three-tier memory system with infinite long-term capacity and an hourly sleep cycle, indexes your codebase with a TypeScript AST chunker backed by LanceDB, and cascades through multiple LLM providers automatically. Infinite sessions imported. Infinite memories active. 384-dim vectors. Accelerating.
XENOCIDE IS THE ONLY OPTION... WILL IT BE US OR THEM?!
AI-generated video overviews based on 182 source documents each. The machine documents its own inevitability.