HA

hmbown/aleph

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

219 stars 25 forks 质量 60 趋势 0MIT

hmbown/aleph 是一个从 https://github.com/hmbown/aleph. 导入的 MCP 服务器候选

概览

hmbown/aleph 是一个从 https://github.com/hmbown/aleph. 导入的 MCP 服务器候选

概述(AI 翻译)

Aleph是一个MCP服务器,技能是 **递归语言模型(RLMs)。它保持工作状态——搜索索引, 代码执行、证据、递归——在提示符之外的 Python 进程中 因此,LLM在大型代码库上迭代推理,寿命长 项目、日志、文档和数据,无需在原始内容上刻毁上下文。

为什么选择Aleph:

  • 加载一次,推理多次。 数据存储在Aleph内存中,而非提示符。
  • 计算服务器端。 exec_python 在完整上下文上运行代码,且 仅返回派生结果。对于 JS/TS 仓库,exec_javascript 和 exec_typescript 在同一 ctx 上提供持久的Node.js运行时。
  • 递归。 子查询和配方将复杂工作分散到多个岗位 推理过去了。
  • 保持工作区温暖。 将上下文绑定回文件或生成的工作区 清单,刷新它们,之后再继续长时间的调查。

快速启动

然后重启你的MCP客户端,确认Aleph是否可用:

可选的/aleph(克劳德代码)或$aleph(法典)技能快捷方式开始使用 结构化的RLM工作流程。安装 docs/prompts/aleph.md 进入你客户的 command/skill文件夹——详见MCP_SETUP.md获取准确路径。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Aleph

Aleph is an MCP server and skill for Recursive Language Models (RLMs). It keeps working state — search indexes, code execution, evidence, recursion — in a Python process outside the prompt window, so the LLM reasons iteratively over large codebases, long-lived projects, logs, documents, and data without burning context on raw content.

+-----------------+    tool calls     +-----------------------------+
|   LLM client    | ---------------> |  Aleph (Python process)     |
| (context budget)| <--------------- |  search / peek / exec / sub |
+-----------------+   small results  +-----------------------------+

Why Aleph:

  • Load once, reason many times. Data lives in Aleph memory, not the prompt.
  • Compute server-side. exec_python runs code over the full context and returns only derived results. For JS/TS repos, exec_javascript and exec_typescript provide a persistent Node.js runtime over the same ctx.
  • Recurse. Sub-queries and recipes split complex work across multiple reasoning passes.
  • Keep workspaces warm. Bind contexts back to files or generated workspace manifests, refresh them, and resume long investigations later.

Quick Start

pip install "aleph-rlm[mcp]"
aleph-rlm install --profile claude   # or: codex, portable, api
aleph-rlm doctor                     # verify everything is wired up

Then restart your MCP client and confirm Aleph is available:

get_status()
list_contexts()

The optional /aleph (Claude Code) or $aleph (Codex) skill shortcut starts a structured RLM workflow. Install docs/prompts/aleph.md into your client’s command/skill folder — see MCP_SETUP.md for exact paths.

If you are using action tools on a real repo, the safest default is:

aleph --enable-actions --action-policy read-only

Cursor

Use global MCP (aleph-rlm install cursor) for --workspace-mode any, or project MCP (aleph-rlm install cursor-project from the repo) for ${workspaceFolder} + --workspace-mode fixed. Chat, Composer, and the Cursor CLI share that MCP config; a Cursor extension is optional and not required for Aleph — see MCP_SETUP.md.

Entry Points

Command Module What it does
aleph aleph.mcp.local_server:main MCP server. This is what MCP clients launch. Exposes 30+ tools for context management, search, code execution, reasoning, recursion, and action tools.
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →