Clude
概览
作者提供的说明(英文原文)
Portable agent memory anchored on Solana. Local SQLite + vector recall, open export.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 64/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 搜索与 AI 记忆
- 你需要填写:CORTEX_API_KEY
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
CORTEX_API_KEY,CORTEX_HOST_URL,CLUDE_WALLET,CLUDE_AGENT_NAME
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"clude": {
"command": "npx",
"args": [
"-y",
"@clude/sdk"
],
"env": {
"CORTEX_API_KEY": "your-value",
"CORTEX_HOST_URL": "your-value",
"CLUDE_WALLET": "your-value",
"CLUDE_AGENT_NAME": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add clude --env CORTEX_API_KEY=your-value --env CORTEX_HOST_URL=your-value --env CLUDE_WALLET=your-value --env CLUDE_AGENT_NAME=your-value -- npx -y @clude/sdk运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"clude": {
"command": "npx",
"args": [
"-y",
"@clude/sdk"
],
"env": {
"CORTEX_API_KEY": "your-value",
"CORTEX_HOST_URL": "your-value",
"CLUDE_WALLET": "your-value",
"CLUDE_AGENT_NAME": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"clude": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@clude/sdk"
],
"env": {
"CORTEX_API_KEY": "your-value",
"CORTEX_HOST_URL": "your-value",
"CLUDE_WALLET": "your-value",
"CLUDE_AGENT_NAME": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- Clude API key from https://clude.io/register
CORTEX_HOST_URLenvClude host URL (defaults to https://clude.io)CLUDE_WALLETenvSolana wallet public key used to sign and anchor memories (optional but recommended)CLUDE_AGENT_NAMEenvHuman-readable name for this agent instance
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 sebbsssss 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 5722 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5722 个服务器的 11% 更新
- 基础检查结果等于或优于此分类中其他 5722 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Clude 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:CORTEX_API_KEY
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(3.0.4)于7个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Exa
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Clude
Cognitive memory for AI agents. Not just storage — synthesis.
About Clude
What it is
A cognitive memory system. Most memory SDKs store and retrieve. Clude also processes memories over time — decay, consolidation, contradiction resolution, reflection.
- Benchmarked: 1.96% hallucination on HaluMem — next best system: 15.2%. Industry average: ~21%.
- Local-first: SQLite + local embeddings. Zero API keys, zero network, full semantic search offline.
- Hosted: One API key, no infrastructure.
npx @clude/sdk register - Portable memory: export/import in JSON, Markdown, ChatGPT, Claude, and Gemini formats. Your memories move between agents, frameworks, and models.
Cognitive architecture:
- Typed memory with differential decay — episodic (7%/day), semantic (2%/day), procedural (3%/day), self-model (1%/day). Accessed memories get reinforced.
- Autonomous dream cycles — consolidation, compaction, reflection, contradiction resolution, emergence.
- Bond-typed memory graph — weighted typed edges with Hebbian reinforcement on co-retrieval.
- Clinamen — lateral retrieval of high-importance, low-relevance memories.
What it isn't yet
No framework integrations (LangGraph, CrewAI) — wrappers around brain.store() and brain.recall() are days each. No structured business data ingestion. No temporal fact validity querying. No managed enterprise platform. No large contributor community. Early-stage adoption.
What it could be
Clude is a memory engine, not a framework. Framework integrations, structured data ingestion, temporal querying, enterprise platforms, evaluation frameworks, multi-model support, autonomous operation, multi-user scoping — these can all be built on top. A non-developer built a 5,750-line autonomous agent on Clude in two weeks using an AI coding assistant — 109 tools, self-editing agent-directed memory, multi-model inference, web search, multi-user presence tracking, and a browser UI. The cognitive architecture was handled by Clude.
Public Wallet: CA1HYUXZXKc7CasRGpQotMM9RiYJbVuPJq3n8Ar9oQZb
npm install -g @clude/sdk
clude setup
Built on Stanford Generative Agents, MemGPT/Letta, CoALA, and Beads.
Works with: Claude Code, Claude Desktop, Cursor, and any MCP-compatible agent runtime.
Quick Start — Hosted (Zero Setup)
npx @clude/sdk setup # Creates agent, installs MCP, done
Or use the SDK:
import { Cortex } from '@clude/sdk';
const brain = new Cortex({ hosted: { apiKey: process.env.CORTEX_API_KEY! }, });
await brain.init();
await brain.store({ type: 'episodic', content: 'User asked about pricing and seemed frustrated.', summary: 'Frustrated user asking about pricing', tags: ['pricing', 'user-concern'], importance: 0.7, source: 'my-agent', });
const memories = await brain.recall({ query: 'what do users think about pricing', limit: 5, });
No database, no infrastructure. Memories stored on CLUDE infrastructure, isolated by API key.
Quick Start — Self-Hosted
For full control, use your own Supabase:
import { Cortex } from '@clude/sdk';
const brain = new Cortex({ supabase: { url: process.env.SUPABASE_URL!, serviceKey: process.env.SUPABASE_KEY!, }, anthropic: { apiKey: process.env.ANTHROPIC_API_KEY! }, });
await brain.init();
await brain.store({ type: 'episodic', content: 'User asked about pricing and seemed frustrated.', summary: 'Frustrated user asking about pricing', tags: ['pricing', 'user-concern'], source: 'my-agent', relatedUser: 'user-123', });
const memories = await brain.recall({ query: 'what do users think about pricing', limit: 5, });
const context = brain.formatContext(memories); // Pass context into your system prompt
Dashboard
Explore your agent's memory at clude.io/dashboard-new.
- Memory Timeline — chronological view with search and filtering
- Brain View — 3D visualization of consciousness and self-model
- Entity Map — knowledge graph of people, projects, concepts (self-hosted)
- Decay Heatmap — memory health by type and age
- Memory Packs — export/import in JSON, Markdown, ChatGPT, Claude, Gemini formats
Sign in with a Solana wallet or Cortex API key.
CLI
npx @clude/sdk setup # Guided setup: register + config + MCP install
npx @clude/sdk register # Get an API key for hosted mode npx @clude/sdk init # Advanced setup (self-hosted options) npx @clude/sdk status # Check if Clude is active + memory stats npx @clude/sdk mcp-install # Install MCP server for your IDE npx @clude/sdk mcp-serve # Run as MCP server (used by agent runtimes) npx @clude/sdk connect # Connect Claude Desktop / claude.ai as a remote MCP connector npx @clude/sdk export # Export memories (json/md/chatgpt/gemini) npx @clude/sdk import # Import from ChatGPT, markdown, or JSON npx @clude/sdk sync # Auto-update system prompt file npx @clude/sdk doctor # Run diagnostics npx @clude/sdk start # Start the full Clude bot npx @clude/sdk --version # Show version
setup works headless: with no TTY it never prompts and completes in local-only mode. Set CLUDE_SETUP_EMAIL=you@example.com to register non-interactively (CI, Dockerfiles, scripts).
MCP Integration
Add Clude to any MCP-compatible agent. Run npx @clude/sdk setup for automatic installation, or add manually:
{
"mcpServers": { "clude-memory": { "command": "npx", "args": ["@clude/sdk", "mcp-serve"], "env": { "CORTEX_API_KEY": "clk_..." } } } }
Config file locations:
- Claude Code:
.mcp.json(project root) - Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json - Cursor:
~/.cursor/mcp.json
MCP Tools
Your agent gets 8 tools:
| Tool | Description |
|---|---|
recall_memories | Search memories with hybrid scoring (vector + keyword + tags + importance) |
store_memory | Store a new memory with type, content, summary, tags, importance |
batch_store_memories | Store up to 50 memories in a single call |
list_memories | Browse without a query — paginated, sorted by recency, importance, or last access |
update_memory | Update fields of an existing memory by ID |
delete_memory | Permanently delete a memory by ID |
get_memory_stats | Memory statistics — counts by type, avg importance/decay, top tags |
find_clinamen | Anomaly retrieval — find high-importance memories with low relevance to current context |
MCP Modes
The MCP server runs in four modes, auto-detected from environment:
| Mode | Config | Storage |
|---|---|---|
| Hosted | CORTEX_API_KEY | clude.io (zero setup) |
| Self-hosted | SUPABASE_URL + SUPABASE_SERVICE_KEY | Your Supabase |
| Local SQLite (default) | none — what setup creates | ~/.clude/brain.db (local embeddings, fully offline) |
| Local JSON | --local flag or CLUDE_LOCAL=true | ~/.clude/memories.json (portable single file) |
The two local stores are separate — memories in one aren't visible from the other. Use the SQLite default unless you need the portable JSON file.
Setup (Self-Hosted)
1. Create a Supabase project
Go to supabase.com and create a free project.
2. Run the schema
Open the SQL Editor in your Supabase dashboard and paste the contents of supabase-schema.sql:
cat node_modules/@clude/sdk/supabase-schema.sql
Or let brain.init() attempt auto-creation.
3. Enable extensions
CREATE EXTENSION IF NOT EXISTS vector;
CREATE EXTENSION IF NOT EXISTS pg_trgm;
4. Get your keys
- Supabase URL + service key: Project Settings > API
- Anthropic API key: console.anthropic.com (optional — required for dream cycles)
- Voyage AI or OpenAI key: For vector search (optional — falls back to keyword scoring)
API Reference
TypeScript declarations ship with the package (v3.3.0+) — Cortex and every option/result type below import with full IntelliSense under strict mode.
Constructor
Hosted mode:
const brain = new Cortex({
hosted: { apiKey: string, // From npx @clude/sdk register baseUrl?: string, // Default: 'https://clude.io' }, });
Self-hosted mode:
const brain = new Cortex({
supabase: { url: string, serviceKey: string },
// Optional — required for dream cycles and LLM importance scoring anthropic: { apiKey: string, model?: string },
// Optional — enables vector similarity search embedding: { provider: 'voyage' | 'openai', apiKey: string, model?: string, dimensions?: number, },
// Optional — commits memory hashes to Solana solana: { rpcUrl?: string, botWalletPrivateKey?: string },
// Optional — owner wallet for memory isolation ownerWallet?: string, });
brain.init()
Initialize the database schema. Call once before any other operation.
brain.store(opts)
Store a new memory. Returns the memory ID or null.
const id = await brain.store({
type: 'episodic', content: 'Full content of the memory...', summary: 'Brief summary', source: 'my-agent', tags: ['user', 'question'], importance: 0.7, // 0-1, or omit for LLM-based scoring relatedUser: 'user-123', emotionalValence: 0.3, // -1 (negative) to 1 (positive) });
Memory types:
| Type | Decay/day | Use for |
|---|---|---|
episodic | 7% | Raw interactions, conversations, events |
semantic | 2% | Learned knowledge, patterns, insights |
procedural | 3% | Behavioral rules, what works/doesn't |
self_model | 1% | Identity, self-understanding |
introspective | 2% | Journal entries, dream cycle outputs |
brain.recall(opts)
Recall memories using hybrid scoring (vector + keyword + tag + importance + entity graph + association bonds).
const memories = await brain.recall({
query: 'what happened with user-123', tags: ['pricing'], relatedUser: 'user-123', memoryTypes: ['episodic', 'semantic'], limit: 10, minImportance: 0.3, });
6-phase retrieval pipeline:
- Vector search (memory + fragment level via pgvector)
- Metadata filtering (user, wallet, tags, types)
- Merge vector + metadata candidates
- Composite scoring (recency + relevance + importance + vector similarity) * decay
- Entity-aware expansion — direct entity recall + co-occurring entity memories
- Bond-typed graph traversal — follow strong bonds (causes > supports > resolves > elaborates)
brain.recallSummaries(opts) / brain.hydrate(ids)
Token-efficient two-stage retrieval:
const summaries = await brain.recallSummaries({ query: 'recent events' });
const topIds = summaries.slice(0, 3).map(s => s.id); const full = await brain.hydrate(topIds);
brain.dream(opts?)
Run one dream cycle. Requires anthropic config.
await brain.dream({
onEmergence: async (thought) => { console.log('Agent thought:', thought); }, });
Five phases:
- Consolidation — focal-point questions from recent memories, synthesizes evidence-linked insights
- Compaction — summarizes old, faded episodic memories into semantic summaries (Beads-inspired)
- Reflection — reviews self-model, updates with evidence citations
- Contradiction Resolution — finds unr
只显示了开头部分;其余内容请在仓库中阅读