Torment Nexus

Torment Nexus

Open-source AI control plane with persistent memory and multi-agent orchestration

Open Source

Gallery

About Torment Nexus

Torment Nexus is an open-source control plane that gives your LLM agents persistent memory, tool orchestration, and autonomous code execution, all running locally on your own machine. It takes the ephemeral nature of most AI agent setups and replaces it with infrastructure designed for continuity. Agents remember context across sessions, coordinate as a swarm with specialized roles, and work through codebases with structural understanding rather than raw text matching. The system operates without cloud dependencies, keeping all data on your hardware.

The core feature is a three-tier memory engine that handles both short-term working memory and long-term retention. The first layer is a hundred-entry in-RAM scratchpad that uses heat-score eviction to keep frequently accessed items immediately available. Hot items stay in fast memory while cooler items get pushed down. The second layer is a SQLite vault with 384-dimensional embeddings and vector search for semantic retrieval. When an agent needs to recall something from earlier sessions, it queries this layer by meaning rather than exact text match. The third layer is a gzip cold archive with ninety-day retention before automatic deletion. An hourly sleep cycle runs consolidation and reflection processes, which means the system actively manages what it remembers rather than just accumulating tokens until something breaks. Memory gets compressed, reorganized, and pruned on a schedule.

For orchestration, Torment Nexus supports multi-agent swarms with defined roles including Planner, Implementer, Tester, and Critic. These agents communicate through type-safe message brokering with heartbeat monitoring. When a task requires multiple perspectives, like writing code, testing it, and reviewing the result, the swarm coordinates without you manually managing handoffs. Audit logging tracks high-stakes consensus decisions so you can see what happened and why. If you have used other agent frameworks and wished they could coordinate multiple specialists instead of running one model end to end, this is the architecture for that.

A four-layer MCP tool router handles over eleven thousand tools pulled from multiple catalogs. Vector search with cosine similarity and BM25 ranking selects which tools to surface for a given task, preventing context bloat from dumping the entire tool registry into every prompt. The code indexing is AST-aware, using LanceDB and TypeScript parsing to understand projects structurally rather than just textually. Function-level indexing means the system can locate specific code with precision and assess blast radius before making changes. That structural understanding matters when agents need to modify real codebases rather than generate code in isolation.

The LLM provider cascade handles model selection and failover automatically. It falls through Google, Anthropic, OpenAI, DeepSeek, OpenRouter, and local Ollama in order based on adaptive ranking driven by latency metrics. You can set preferred providers or let the system route dynamically. When one provider fails or slows down, traffic shifts to the next in the cascade. Session import lets you pull history from other AI tools if you want to migrate context from previous workflows. A real-time dashboard visualizes memory state, shows active tools in the registry, and displays the swarm coordination status.

Deployment is local-first with a one-command setup that handles PM2 process management and optional SSL for Linux VMs. The code lives on GitHub under the HyperNexusSoft organization, licensed for personal and self-hosted use under the Community Edition. Commercial deployments get directed to the separate HyperNexus site for enterprise licensing, though specific pricing is not published. Because everything runs on your infrastructure, you retain complete control over data, logs, and configuration.

The target audience is developers who want agent infrastructure they control completely. If you have been stitching together memory solutions, tool routers, and orchestration layers yourself, Torment Nexus bundles those into a single open-source stack. If you have been frustrated by hosted agent platforms that limit what you can customize or charge per-seat fees that scale poorly, this is the self-hosted alternative. Developers building internal tools, researchers experimenting with agent architectures, and teams that need to keep all inference on-premise for compliance reasons all fit the use case.

Limitations are typical for a self-hosted tool. Setup requires comfort with Docker, PM2, and command-line configuration. The community is smaller compared to commercial agent platforms, and documentation is still catching up to the feature set. You will spend more time on setup and maintenance than you would with a managed service. But for the technically inclined who prioritize control over convenience, Torment Nexus offers infrastructure that hosted alternatives cannot match.

Key Features

  • Three-tier persistent memory engine
  • Multi-agent swarm coordination
  • 11,000+ tool MCP router
  • AST-aware TypeScript code indexing
  • LLM provider cascade with fallback
  • Real-time memory and tool dashboard

Pros & Cons

What we like

  • Runs entirely on your own hardware
  • Agents retain memory across sessions
  • Coordinates multiple agent roles in a swarm
  • Falls back through multiple LLM providers automatically

Room for improvement

  • Requires technical setup and server knowledge
  • Community edition is personal use only
  • Documentation lags behind the feature set
  • No managed hosting option

Frequently Asked Questions

What is Torment Nexus?
Torment Nexus is an open-source control plane for LLM agents that provides persistent memory, tool orchestration, and multi-agent coordination. It runs locally on your machine and is designed for developers who want full control over their AI infrastructure.
Is Torment Nexus free?
The community edition is free for personal and self-hosted use. Commercial deployments require a separate license through the HyperNexus site, though pricing is not published publicly.
How does the memory system work?
It uses three tiers: an in-RAM scratchpad for hot items, a SQLite vault with vector embeddings for semantic search, and a gzip cold archive for long-term storage. An hourly consolidation cycle manages what gets kept and what gets evicted.
What LLM providers does Torment Nexus support?
It cascades through Google, Anthropic, OpenAI, DeepSeek, OpenRouter, and Ollama. You can set preferences or let it fall back automatically if a provider is unavailable.

Best For

Building agent systems that remember context long-termOrchestrating specialist agents for complex tasksRunning local AI infrastructure without cloud dependenciesImporting and continuing sessions from other AI tools

Featured in

Alternatives to Torment Nexus

View all

Reviews (0)

No reviews yet

Be the first to share your experience with Torment Nexus

Sign in to write a review

Badge builder

Add Torment Nexus to your website

Choose a badge style and size, preview it here, then copy the generated HTML. Badge images are self-contained SVGs and do not require an external script.

Torment Nexus badge preview
<a href="https://toolindex.net/tools/torment-nexus?ref=badge" target="_blank" rel="noopener">
  <img src="https://toolindex.net/badge/torment-nexus/medium.svg" alt="Torment Nexus - Listed on Tool Index" width="180" height="50" />
</a>

How to use the badge

  1. 1. Pick the style, size, and theme that fit your layout.
  2. 2. Copy the generated HTML from the code block.
  3. 3. Paste it into your footer, homepage, or press page.

Standard badge available

The standard listing badge is available now. Score and circle badges are limited to tools currently ranked in the top 10 of a category.

Badge clicks return visitors to this profile with a referral tag so the source remains identifiable.