AgentStack
MCP verified Apache-2.0 Self-run

Negentropy

mcp-threefish-ai-negentropy · by ThreeFish-AI

An agentic system built on a "One Root, Five Wings" architecture, dedicated to combating the entropy production of infomation and forging a continuously self-evolving cognitive framework.

No reviews yet
0 installs
21 views
0.0% view→install

Install

$ agentstack add mcp-threefish-ai-negentropy

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README — it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-threefish-ai-negentropy)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Negentropy? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

[English](./README.md) | [简体中文](./docs/i18n/zh-CN/README.md)

🔮 Negentropy

An agentic system built on a "One Root, Five Wings" architecture, dedicated to combating the entropy production of infomation and forging a continuously self-evolving cognitive framework.

[](https://www.python.org/) [](./LICENSE) [](https://docs.astral.sh/uv/) [](https://google.github.io/adk-docs/) [](https://nextjs.org/)

🔮 The Self · Scheduling Core | Bypasses atomic task execution. Strictly adhering to Orthogonal Decomposition, it acts as the master conductor, assigning intents to the most capable faculties. 👁️ The Eye · Perception | 💎 The Soul · Internalization | 🧠 The Mind · Contemplation | ✋ The Hand · Action | 🗣️ The Voice · Influence


Disclaimer · All tools and methodologies provided by this project are for reference only. The project team bears no direct or indirect responsibility for the outcomes of using this system. The term "cultivation/practice" herein refers purely to the self-evolution and optimization of the system, free of any religious connotations.


🤔 Why Negentropy Engine?

You've probably test-driven your fair share of agentic systems by now, and inevitably stepped into these classic pitfalls:

  • 🌀 Information Overload —— Agents devour oceans of data, but signal and noise fly together. You're left with a pile of "truthful nonsense."
  • 🕳️ Goldfish Memory —— The hard-won conclusions from your last dialogue are tossed out the window by the next. It's like rebooting life every five minutes.
  • 🏄 Surface-Level Skimming —— Agents give you textbook answers but never dig into second-order problems. Nobody's ever asking "But why?" on your behalf.
  • 💬 Armchair Strategists —— The analysis is flawless, but the moment real work (executing code, touching files) is required, you hit the dreaded "I suggest you do this manually."
  • 🌫️ Impenetrable Jargon —— What should be a professional insight reads like an ancient scroll. The value degradation in transmission approaches a solid 80%.

Negentropy's Answer: We engage these entropic forms head-on. The goal isn't just to build another Agent, but to forge a continuously self-evolving cognitive system.

graph TB
    Root["🔮 NegentropyEngine(The Self · Scheduling Core)"]

    Root -->|"transfer_to_agent"| P["👁️ The Eye · Perception Faculty"]
    Root -->|"transfer_to_agent"| I["💎 The Soul · Internalization Faculty"]
    Root -->|"transfer_to_agent"| C["🧠 The Mind · Contemplation Faculty"]
    Root -->|"transfer_to_agent"| A["✋ The Hand · Action Faculty"]
    Root -->|"transfer_to_agent"| Inf["🗣️ The Voice · Influence Faculty"]

    P -->|Combats| O["Information OverloadNoise Drowning Signal"]
    I -->|Combats| F["AmnesiaKnowledge Fragmentation"]
    C -->|Combats| S["SuperficialitySurface-Level Responses"]
    A -->|Combats| E["All TalkCognitive-Action Disconnect"]
    Inf -->|Combats| Obs["ObscurityValue Degradation"]

✨ Core Features

  • 🏗️ "One Root, Five Wings" Orchestration —— A master orchestrator teaming up with five orthogonal faculties. The root agent handles the dispatching, while the five wings systematically obliterate information overload, amnesia, superficiality, inaction, and obscurity.
  • 🔄 Three Standardized Pipelines —— Pre-packaged pipelines for Knowledge Acquisition, Problem Solving, and Value Delivery. Say goodbye to the tedious chore of manually wiring multi-step tasks. It works out of the box.
  • 🧠 Dynamic Memory System —— A memory decay mechanism modeled on the Ebbinghaus Forgetting Curve, paired with structured factual storage and memory governance. This ensures the Agent actually remembers instead of merely repeating.
  • 📚 Knowledge Management Engine —— From document ingestion, semantic chunking, and vector retrieval to knowledge graphs and semantic search—a full-lifecycle knowledge management suite.
  • 🐱 Sandboxed Code Execution —— Dual-channel isolated execution via MCP Protocol + MicroSandbox. Safely allows the Agent to get its hands dirty, graduating from "all talk" to "taking action."
  • 🔧 Pluggable Backends —— Sessions, Memories, Artifacts, and Credentials fully support seamless switching between in-memory / PostgreSQL / VertexAI / GCS. Use in-memory for dev, Postgres for prod. Zero-code smooth migration.
  • 📡 Full-Stack Observability —— Structured logging via structlog + Distributed tracing with OpenTelemetry + Trace analysis via Langfuse. Every "thought" the Agent has is fully documented and auditable.

✨ Quick Start

> One command brings up the full stack (postgres + perceives + backend + ui + wiki) with zero cloud credentials required to boot. LLM chat is activated by one of OpenAI / Anthropic / Gemini API keys; for a fully local, zero-key setup, see [Local LLM (Ollama)](./docs/concepts/local-llm-ollama.md).

Prerequisites

| Dependency | Minimum Version | Purpose | | :--- | :--- | :--- | | Docker Engine + Compose v2 | Engine 24+ · Compose 2.24+ | One-click launch (includes the database) | | or (native path) Python · uv · Node.js · pnpm | 3.13 · latest · 22+ · latest | Hot-reload without Docker |

> The Docker path needs no local PostgreSQL. The native path needs a pgvector-enabled Postgres (see [Development Guide](./docs/concepts/development.md)). mise / asdf users get the right Python & Node automatically via the root .tool-versions.

A. One-click (Docker, recommended)

git clone https://github.com/ThreeFish-AI/negentropy.git
cd negentropy
./dev            # = setup + build & start the full stack + health self-check

./dev automatically: creates .env.docker.local, layers local-safe config, builds & starts 5 containers, polls backend /health, and runs negentropy doctor.

Drop in one LLM key in .env.docker.local (gitignored) to enable chat:

OPENAI_API_KEY=sk-...        # or ANTHROPIC_API_KEY / GEMINI_API_KEY

Then open http://localhost:3192.

| Service | URL | | :--- | :--- | | backend | http://localhost:3292 (+ /docs, /health) | | ui (chat) | http://localhost:3192 | | wiki (knowledge base) | http://localhost:3092 | | perceives (content extraction) | http://localhost:2992 |

B. Native path (hot-reload, no Docker)

git clone https://github.com/ThreeFish-AI/negentropy.git
cd negentropy
./dev native     # delegates to scripts/cli.sh: deps + migrations + frontend build + all services

> Requires a local pgvector Postgres. pg_cron is no longer needed — since migration 0042, scheduling runs in-process.

C. More

  • First-run demo content: ./dev seed-demo
  • Preflight self-check: ./dev doctor
  • All subcommands: ./dev help
  • Contributors: uv tool install pre-commit && pre-commit install
  • Env setup, migrations, integrations, troubleshooting: [Development Guide](./docs/concepts/development.md)
  • Zero-key local LLM: [Local LLM (Ollama)](./docs/concepts/local-llm-ollama.md)
  • Docker operations (production deploy): [Docker Operations](./docs/concepts/docker-operations.md)

> Note: apps/cognizes is a separate project; ./dev and docker compose do not start it.


🏛️ Architecture Overview

Design Philosophy | The system's namesake draws from Erwin Schrödinger's concept in What is Life?—life feeds on negative entropy (Negentropy)1.

One Root, Five Wings

The NegentropyEngine refrains from executing atomic tasks directly; it exists solely for scheduling and dispatching. The five faculties operate purely in their element, while three pipelines encapsulate common multi-faculty collaboration patterns. The architecture rigidly adheres to Orthogonal Decomposition, ensuring decoupled responsibilities and strictly localized mutations.

| Totem | Faculty | Agent Name | Combats | Core Responsibility | Exclusive Tools | | :---: | :------------------------- | :----------------------- | :------------------- | :-------------------------------------------------------------------------- | :----------------------------------------- | | 👁️ | The Eye · Perception | PerceptionFaculty | Information Overload | Wide-area scanning, noise filtering, multi-source cross-validation | search_knowledge_base, search_web | | 💎 | The Soul · Internalization | InternalizationFaculty | Amnesia | Knowledge structuring, long-term memory governance, consistency maintenance | save_to_memory, update_knowledge_graph | | 🧠 | The Mind · Contemplation | ContemplationFaculty | Superficiality | Second-order thinking, strategic planning, root cause analysis | analyze_context, create_plan | | ✋ | The Hand · Action | ActionFaculty | All Talk | Precision execution, code generation, safe mutation | execute_code, read_file, write_file | | 🗣️ | The Voice · Influence | InfluenceFaculty | Obscurity | Value delivery, format adaptation, persuasion and education | publish_content, send_notification |

> Dive into the complete architectural blueprint, pipeline orchestration mechanics, and design pattern registry in [docs/framework.md](./docs/concepts/framework.md).

Three-Tier Architecture

graph TB
    subgraph Presentation["🖥️ Presentation Layer"]
        UI["negentropy-uiNext.js 16 · React 19 · Tailwind"]
        Wiki["negentropy-wikiNext.js"]
    end

    subgraph Engine["⚙️ Engine Layer"]
        Root["🔮 NegentropyEngineRoot Agent (The Self)"]
        Faculties["Five Faculties👁️ Perception  💎 Internalization  🧠 Contemplation  ✋ Action  🗣️ Influence"]
        Pipelines["Three PipelinesKnowledge Acquisition  Problem Solving  Value Delivery"]
    end

    subgraph Infra["🏗️ Infrastructure Layer"]
        DB[("PostgreSQL 16+pgvector")]
        LLM["LiteLLM100+ LLMs Unified API"]
        OTel["OpenTelemetry · Langfuse"]
        Sandbox["MCP · MicroSandbox"]
    end

    UI -->|"AG-UI Protocol"| Root
    Wiki -->|"HTTP/JSON"| Root
    Root --> Faculties
    Root --> Pipelines
    Pipelines --> Faculties
    Faculties --> DB
    Faculties --> Sandbox
    Root --> LLM
    Root -.-> OTel

    classDef pres fill:#60A5FA,stroke:#1E3A8A,color:#000
    classDef eng fill:#F59E0B,stroke:#92400E,color:#000
    classDef infra fill:#10B981,stroke:#065F46,color:#FFF

    class UI,Wiki pres
    class Root,Faculties,Pipelines eng
    class DB,LLM,OTel,Sandbox infra

📚 Document Navigator

| Document | Description | | :---------------------------------------------------------- | :---------------------------------------------------------------------------------------------- | | [User Guide](./docs/user-guide.md) | End-user guide covering all features: chat, knowledge, memory, plugins, admin, and wiki | | [Development Guide](./docs/concepts/development.md) | Environment setup, daily workflows, db migrations, integrations, troubleshooting | | [Docker Operations](./docs/concepts/docker-operations.md) | Compose service topology, local one-click path, production deploy, ops runbook | | [Local LLM (Ollama)](./docs/concepts/local-llm-ollama.md) | Optional zero-key local LLM via Ollama (install, register, caveats) | | [Architecture Design](./docs/concepts/framework.md) | Deep dive into the One Root/Five Wings, pipeline choreography, design patterns, engine workings | | [Knowledge System](docs/concepts/035-the-knowledge-base.md) | Detailed design and usage of the knowledge management module | | [Memory System](docs/concepts/025-the-memory-system.md) | Memory lifecycle, forgetting curves, and governance mechanics | | [Knowledge Graph](docs/concepts/036-the-knowledge-graph.md) | Graph modeling and query implementation | | [QA Pipeline](./docs/concepts/design/qa-delivery-pipeline.md) | Quality gates and release workflows | | [SSO Integration](./docs/concepts/design/sso.md) | Google OAuth authentication config | | [Engineering Changelog](./docs/concepts/engineering-changelog.md) | Milestones and baseline mutation records | | [AI Collaboration Protocol](./AGENTS.md) | Agent cooperation guidelines and engineering codebase |


🤝 Community & Contributions

If you're holding onto an inspiration that pulls chaos back into order, or if you bump into any snags while navigating the system, please don't hesitate to share your wisdom:

  1. Before hitting the keyboard, kindly take a detour through the [Development Guide](./docs/concepts/development.md).
  2. Sling your game-changing ideas into our Issues or directly submit a Pull Request packing some serious paradigm-shifting power.

Please hold "Entropy Reduction," "Context-Driven," and "Evidence-Based Engineering" as your core principles, ensuring every mutation aligns perfectly with Systemic Integrity.


[1] E. Schrödinger, "What is Life? The Physical Aspect of the Living Cell," Cambridge University Press, 1944.


Apache License 2.0, © 2026 ThreeFish-AI

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.