Sage logo

Sage

by l33tdawg

Governed local memory and messaging for AI agents, with signed writes, access controls, audit history, and BFT admission.

Install Sage

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "l33tdawg-sage": {
      "command": "uvx",
      "args": [
        "sage-agent-sdk"
      ],
      "env": {
        "SAGE_PROVIDER": "YOUR_VALUE_HERE",
        "SAGE_PROJECT": "YOUR_VALUE_HERE",
        "SAGE_IDENTITY_PATH": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env SAGE_PROVIDER=YOUR_VALUE_HERE --env SAGE_PROJECT=YOUR_VALUE_HERE --env SAGE_IDENTITY_PATH=YOUR_VALUE_HERE --transport stdio l33tdawg-sage -- uvx sage-agent-sdk

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

uvx sage-agent-sdk

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

l33tdawg/sage provides governed memory and messaging for AI agents through MCP, with 13 tools for recording experience, recalling context, and coordinating agent work. Memories are signed by agents, reviewed through an admission lifecycle, scoped by permissions, and retained with an inspectable audit trail. A personal node can run locally with one validator, while multi-validator deployments use BFT quorum checks. Reach for it when agents need persistent project experience with attribution and review rather than ungoverned context storage.

Use cases

  • Record design decisions for later sessions
  • Recall lessons from failed implementation approaches
  • Review agent-authored memories before admission
  • Restrict memory access by domain and classification
  • Inspect and deprecate stored agent experience

Key features

  • 13 MCP tools for memory and agent coordination
  • Signed, attributed memory writes
  • Review and admission lifecycle
  • BFT quorum validation for multi-validator deployments
  • Domain, enrollment, and classification access controls
  • Local dashboard with audit and memory inspection

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

33/33 checks healthy over the last 115d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · sage-agent-sdk (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars268Stargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Sage works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Sage

l33tdawg/sage is an MCP server that connects AI clients to a local governed memory and messaging node. Its 13 MCP tools let agents record experience, recall relevant context, and coordinate work, while signed writes, admission review, permissions, and audit history control what becomes usable memory.

Install it from a desktop release, build it with Go 1.26.10 or newer, or run the published Docker image. From source, run `sage-gui setup` to generate client configuration and `sage-gui serve` to start the node on port 8080.

Yes, l33tdawg/sage works with Cursor through MCP. The repository also names Claude Code and Codex as supported clients. Use the connection setup to configure the client against the running SAGE node or its stdio bridge.

Start the SAGE container with port 8080 exposed and mount `/root/.sage`, then launch the stdio bridge inside that same running container. Pass `SAGE_PROVIDER`, `SAGE_PROJECT`, and `SAGE_IDENTITY_PATH` through `docker exec -e` or `docker compose exec -e`.

Yes, HTTP MCP is available at `/v1/mcp/sse` and `/v1/mcp/streamable`, but both endpoints require a bearer token or OAuth. The bare `http://localhost:8080` address is the REST base, not an unauthenticated MCP endpoint.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSage AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/l33tdawg-sage?style=directory)](https://allmcps.com/mcp/l33tdawg-sage)
HTML Embed
<a href="https://allmcps.com/mcp/l33tdawg-sage"><img src="https://allmcps.com/api/badge/l33tdawg-sage?style=directory" alt="Sage on AllMCPs" /></a>