Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Portable agent memory anchored on Solana. Local SQLite + vector recall, open export.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
CORTEX_API_KEY, CORTEX_HOST_URL, CLUDE_WALLET, CLUDE_AGENT_NAMEค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"clude": {
"command": "npx",
"args": [
"-y",
"@clude/sdk"
],
"env": {
"CORTEX_API_KEY": "ใส่ค่าของคุณ",
"CORTEX_HOST_URL": "ใส่ค่าของคุณ",
"CLUDE_WALLET": "ใส่ค่าของคุณ",
"CLUDE_AGENT_NAME": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add clude --env CORTEX_API_KEY='ใส่ค่าของคุณ' --env CORTEX_HOST_URL='ใส่ค่าของคุณ' --env CLUDE_WALLET='ใส่ค่าของคุณ' --env CLUDE_AGENT_NAME='ใส่ค่าของคุณ' -- npx -y @clude/sdkเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"clude": {
"command": "npx",
"args": [
"-y",
"@clude/sdk"
],
"env": {
"CORTEX_API_KEY": "ใส่ค่าของคุณ",
"CORTEX_HOST_URL": "ใส่ค่าของคุณ",
"CLUDE_WALLET": "ใส่ค่าของคุณ",
"CLUDE_AGENT_NAME": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"clude": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@clude/sdk"
],
"env": {
"CORTEX_API_KEY": "ใส่ค่าของคุณ",
"CORTEX_HOST_URL": "ใส่ค่าของคุณ",
"CLUDE_WALLET": "ใส่ค่าของคุณ",
"CLUDE_AGENT_NAME": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
CORTEX_HOST_URL envCLUDE_WALLET envCLUDE_AGENT_NAME envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub sebbsssss ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: CORTEX_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (3.0.4) เข้า registry 6 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Cognitive memory for AI agents. Not just storage — synthesis.
A cognitive memory system. Most memory SDKs store and retrieve. Clude also processes memories over time — decay, consolidation, contradiction resolution, reflection.
npx @clude/sdk registerCognitive architecture:
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.
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.
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.
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
Explore your agent's memory at clude.io/dashboard-new.
Sign in with a Solana wallet or Cortex API key.
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).
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:
.mcp.json (project root)~/Library/Application Support/Claude/claude_desktop_config.json~/.cursor/mcp.jsonYour 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 |
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.
Go to supabase.com and create a free project.
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.
CREATE EXTENSION IF NOT EXISTS vector;
CREATE EXTENSION IF NOT EXISTS pg_trgm;
TypeScript declarations ship with the package (v3.3.0+) — Cortex and every option/result type below import with full IntelliSense under strict mode.
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:
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:
ตัดมาแค่ช่วงต้น อ่านต่อใน repo