# l33tdawg/sage [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/l33tdawg/sage  
**GitHub Stars:** 268  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/l33tdawg-sage

## Description
Institutional memory for AI agents with real BFT consensus. 4 application validators vote on every memory before it's committed — no more storing garbage. 13 MCP tools, runs locally, works with any MCP-compatible model. Backed by 4 published research papers.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "sage": {
    "command": "uvx",
    "args": ["sage-agent-sdk"],
    "env": {
      "SAGE_PROVIDER": "",
      "SAGE_PROJECT": "",
      "SAGE_IDENTITY_PATH": ""
    }
  }
}
```

**Requires environment variables:** `SAGE_PROVIDER`, `SAGE_PROJECT`, `SAGE_IDENTITY_PATH` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What l33tdawg/sage does

l33tdawg/sage gives AI agents a local memory and messaging layer accessed through MCP. It is designed for work that continues across sessions, such as retaining design decisions, recording failed approaches, or carrying lessons into a later task. The server exposes 13 MCP tools and can also be used through a Python SDK or signed REST API.

Memory entries are associated with the agent that created them. Before an entry becomes part of normal recall, it passes through a validation and admission process. Access is governed by agent enrollment, domain permissions, and classification. Operators can inspect memory status and confidence, apply decay, deprecate entries, and preserve their audit history.

SAGE is local by default. Optional federation, connectors, and remote model providers can send data to configured destinations. A vault can be enabled to encrypt memory content at rest. The CEREBRUM dashboard provides a local interface for setup, access review, and inspection of stored experience.

## How it works

An agent connects through MCP to a running SAGE node. The `sage_inception` tool provides the initial memory mode and is intended to be called after the client connects. Agents can then record experience and retrieve relevant context during later sessions. Retrieval depends on what has been recorded, the node configuration, and whether the agent uses its tools during a workflow.

Each memory begins in a governed lifecycle rather than appearing immediately as committed knowledge. A personal installation uses one validator that casts its own signed admission vote. A deployment with multiple validators requires a Byzantine fault-tolerant quorum before a memory is committed. These checks govern admission and provenance; they do not establish that every remembered claim is factually true or modify a model’s weights.

The node can serve MCP over a local stdio bridge or over authenticated HTTP endpoints. The REST base is separate from the MCP endpoints. HTTP MCP connections at `/v1/mcp/sse` and `/v1/mcp/streamable` require a bearer token or OAuth.

## Setup and configuration

Desktop packages are available for macOS, Windows, and Linux. Developers can build from source with Go 1.26.10 or newer, run `sage-gui setup` to select an AI client and generate MCP configuration, then start the node with `sage-gui serve`. The default local service listens on port 8080; its health endpoint is `http://127.0.0.1:8080/health`.

Docker users can run the published image with port 8080 exposed and the complete SAGE data directory mounted at `/root/.sage`. A local MCP client uses a stdio bridge started inside the already-running container. That bridge requires `SAGE_PROVIDER`, `SAGE_PROJECT`, and `SAGE_IDENTITY_PATH`; the identity path points to the enrolled agent key inside the mounted data directory. Starting the bridge in a separate container will isolate it from the SAGE node’s localhost address.

SAGE works with Claude Code, Codex, Cursor, and other MCP-capable clients. Python integrations require Python 3.10 or newer, a running node, and an enrolled agent identity. Access to a domain also depends on that agent’s permissions.

_Full upstream README: https://allmcps.com/mcp/l33tdawg-sage/readme_

