Stele
What it does
Governed agent memory: lessons stay out of search until another actor promotes them with evidence.
- Connects 在你的电脑上运行
- Account or key No key needed
- Category 搜索与 AI 记忆
安装
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
打开电脑版 Claude 应用的设置文件
SettingsDeveloperEdit Config
粘贴这些设置并保存文件
{ "mcpServers": { "stele": { "command": "uvx", "args": [ "stele-mcp" ] } } }退出 Claude 再重新打开
试一试
用 Stele 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Stele,或回答中出现 Stele 的工具名称,就表示连接成功
1 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
STELE_STOREPath to the ledger store. Default ./.stele-store
说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Stele
Stele 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
你可以改用这些方式
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add --scope user stele -- uvx stele-mcp在 Claude Code 中输入 /mcp
应能看到 Stele 在列表中并显示已连接
试一试
用 Stele 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Stele,或回答中出现 Stele 的工具名称,就表示连接成功
1 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
STELE_STOREPath to the ledger store. Default ./.stele-store
说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Stele 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Stele,或回答中出现 Stele 的工具名称,就表示连接成功
1 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
STELE_STOREPath to the ledger store. Default ./.stele-store
说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Stele 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Stele,或回答中出现 Stele 的工具名称,就表示连接成功
1 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
STELE_STOREPath to the ledger store. Default ./.stele-store
说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
开发者专用:终端命令和 JSON 设置
安装在电脑上
Claude Code
claude mcp add --scope user stele -- uvx stele-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"stele": {
"command": "uvx",
"args": [
"stele-mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"stele": {
"command": "uvx",
"args": [
"stele-mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"stele": {
"type": "stdio",
"command": "uvx",
"args": [
"stele-mcp"
]
}
}
}需要你填写的值
STELE_STOREenvPath to the ledger store. Default ./.stele-store
说明仍为英文原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月14日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 leocelis 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于8天前
- ✓ 通过
有许可证
使用 MIT
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 6102 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 6102 个服务器的 83% 更新
- 基础检查结果等于或优于此分类中其他 6102 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Stele 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于8天前,最新版本(18.16.4)于8天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, OpenSEO
同类别的其他选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
OpenSEO
Keyword research, site audits, rank tracking and AI visibility for your AI agent.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Stele
The governed experiential-memory ledger for AI agents: log what worked and what failed, promote a lesson only through another named actor with evidence, and let any agent build solid context from real experience.
What is Stele?
A stele is a stone raised to record what happened — deeds, laws, warnings — for those who come after. Stele is the same idea for AI agents: a centralized ledger of task experience. Agents log what worked and what failed on each task; a governance gate keeps each lesson out of search until another named actor promotes it with evidence; and any agent — today's or a future one — retrieves the distilled experience through one protocol before its next task.
Status: v18.16.4. Design locked in stele_system_intent.yaml. Packages: stele-core (zero runtime deps; optional [mysql]) + stele-mcp (stdio + hosted HTTP) + stele CLI.
In short: agent memory where a lesson stays out of search until another named actor promotes it with evidence. Not related to the hosted Stele at stele-ai.dev or other projects named Stele.
Why Stele (research-backed)
| Problem | Evidence | Stele answer |
|---|---|---|
| Recall wins ≠ better actions | MemoryArena (arXiv:2602.16313) | Task-outcome harnesses, not recall@k marketing |
| Self-reflection can entrench errors | Survey (arXiv:2603.07670) | Quarantine until another named actor promotes it with supporting evidence |
| Every framework is a silo | memorywire (arXiv:2606.01138) | JSON Schema + projection helpers |
| Facts change over time | LongMemEval (arXiv:2410.10813) | Bi-temporal supersede + stale_policy |
Full research: docs/research/ · patterns: docs/patterns/.
Install
pip install stele-core stele-mcp
From git (contributors):
python3.11 -m venv .venv
source .venv/bin/activate pip install -r requirements-dev.txt pip install -e packages/stele-core -e packages/stele-mcp make check # ruff + mypy + pytest make proof # end-to-end PASS/FAIL proof
Quick path: docs/QUICKSTART.md · comparison: docs/COMPARISON.md.
Quick start (library)
from pathlib import Path
from stele_core import Stele
s = Stele.open(Path(".stele-store"), store_id="demo", now="2026-08-20T12:00:00Z") added = s.add({ "layer": "failure_lesson", "title": "Pin cache keys to calendar buckets", "body": "Day-scoped keys prevent stale cross-day reads.", "scope": "project:demo", "temporal": {"valid_from": "2026-08-20T12:00:00Z", "last_verified": "2026-08-20T12:00:00Z"}, "provenance": { "agent": "agent-a", "task": "cache-fix", "environment": "local", "subject_id": "subj-1", "source": "session:abc", "written_at": "2026-08-20T12:00:00Z", }, })
→ {"id": "se_…", "state": "quarantined"} — not searchable yet
s.promote(added["id"], [{ "type": "test_result", "issuer": "ci", "ref": "tests/test_cache.py", "observed_at": "2026-08-20T12:00:00Z", "verdict": "supports", "command": "pytest -q", "exit_status": 0, }], actor="ci", ts="2026-08-20T12:00:00Z")
print(s.search("cache buckets", consumer_scope="project:demo")) print(s.doctor(now="2026-08-20T12:00:00Z")["ok"])
CLI
stele init ./.stele-store --store-id demo
stele doctor ./.stele-store --now 2026-08-20T12:00:00Z stele hygiene ./.stele-store --now 2026-08-20T12:00:00Z stele entangled ./.stele-store --source web_page --now 2026-08-20T12:00:00Z stele forget-check ./.stele-store --scope project:demo --subject-id subj-x --probe-query secret --now 2026-08-20T12:00:00Z stele schema --out docs/schemas/entry.schema.json stele snapshot ./.stele-store /tmp/stele-backup --now 2026-08-20T12:00:00Z --actor ops
MCP (stdio)
Requires the Model Context Protocol Python SDK 1.x (mcp>=1.0,<2). mcp 2.x removed mcp.server.fastmcp and will not boot this server.
Default (`stele-mcp`): 35 governed-ledger tools — add, promote, search, doctor, export, …
export STELE_STORE=./.stele-store
stele-mcp
{
"mcpServers": { "stele": { "command": "uvx", "args": ["stele-mcp"], "env": { "STELE_STORE": "/absolute/path/to/.stele-store" } } } }
Pass ts on every write; the store never reads the clock.
Full research library (~2000 PEFT/agent-pattern tools): stele-mcp-full.
MCP (hosted HTTP)
Same tools over HTTPS (SSE + streamable HTTP). Two independent tool surfaces, same process, same auth, same store:
| Surface | SSE | Streamable HTTP | Tools |
|---|---|---|---|
| Full | /sse | /mcp | 2003 (ledger + PEFT/pattern research library) |
| Core (governed ledger only) | /core/sse | /core/mcp | 35 — see list below |
Production:
- URL:
https://stele.leocelis.com/sse· core:https://stele.leocelis.com/core/sse(Bearer required, no self-serve keys; to host your own seedeploy/README.md) - Client setup:
docs/integrations/CURSOR.md·CLAUDE_CODE.md·CLAUDE_DESKTOP.md - Agent rule:
docs/cursor-rules/stele-hosted-mcp.mdc
Local run (dev):
bash deploy/build.sh
STELE_API_KEYS=stl_local_dev STELE_AUTH_DISABLED=false \ STELE_STORE=./.stele-store \ python deploy/wsgi.py --port 8080
GET /health— unauthenticated; reportstool_counts: {full, core}/sse+/mcp(full) and/core/sse+/core/mcp(ledger-only) — both Bearer viaSTELE_API_KEYS- Hosted durable SoT:
STELE_STORE_DSN+ TLS CA (DSN wins over file path) - Never commit API keys, DSNs, or PEMs
{
"mcpServers": { "stele": { "url": "https://stele.leocelis.com/core/sse", "headers": { "Authorization": "Bearer YOUR_KEY_HERE" } } } }
35 governed-ledger tools (TECH_SPEC §7.1-7.9 — everything create_core_app() exposes): add · update · promote · supersede · delete · search · reflect · link · list_contested · resolve_contested · verify · reviewer_corrections · hydrate · export · record_outcome · pin · stale_report · reverify · related · stats · timeline · verify_pack · attach · snapshot · doctor · entry_schema · purge_by_provenance · diff_stores · add_batch · entangled_suspects · hygiene_candidates · forget_compliance · lineage · belief_at · conflict_surface
Architecture
See docs/ARCHITECTURE.md. Planes: Contract · Tools · Governance · Retrieval · Export · Living ledger · Ops.
| Doc | Link |
|---|---|
| OSS guide (start here) | docs/OSS_GUIDE.md |
| Quickstart | docs/QUICKSTART.md |
| PRD | docs/PRD.md |
| TECH_SPEC v1.1 | docs/TECH_SPEC.md |
| Entry JSON Schema | docs/schemas/entry.schema.json |
| Intent (C1–C8) | stele_system_intent.yaml |
License
MIT · Copyright (c) 2026 Stele contributors