Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Persistent knowledge workspace for AI agents. Versioned files, search, and MCP tools.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"sayou": {
"command": "uvx",
"args": [
"sayou"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add sayou -- uvx sayouวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"sayou": {
"command": "uvx",
"args": [
"sayou"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"sayou": {
"type": "stdio",
"command": "uvx",
"args": [
"sayou"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub pixell-global ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.2) เข้า registry 9 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A file-system inspired context store for AI agents.
Built to replace the databases of the web era. Open source. File-first. SQL-compatible.
Databases were designed for transactions — they reduce nuance to fit a schema. Agents think deeply, then forget everything when the session ends. sayou is where reasoning persists, context accumulates, and knowledge compounds over time.
token_budget. Returns summaries with section pointers when content exceeds the budget.pip install sayou[api].From within Claude Code:
/plugin install sayou@pixell-global
Or from the terminal:
claude plugin install sayou@pixell-global
One command. This installs the plugin with lifecycle hooks (workspace context on session start, passive activity capture, session summaries) and skills (/ws, /save, /recall). If sayou isn't installed yet, the plugin auto-installs it on first run.
Cloud mode: To sync your workspace via Sayou Drive, run
sayou authafter installing and paste your API key from Settings.
pip install sayou && sayou init --claude
This installs sayou and configures ~/.claude/mcp.json. You get the 11 MCP tools but no hooks or skills. You can also use --cursor or --windsurf, or run sayou init without flags to get the config snippet to paste manually.
To verify either method, run sayou status — you should see your workspace path, database location, and 11 tools registered. If you see errors, jump to Troubleshooting.
Open Claude Code and paste any of these prompts. Each one triggers a different MCP tool — no setup beyond the Quick Start above.
| Prompt | What happens | Tool |
|---|---|---|
| "Save a note about our Q1 goals with status: draft" | Creates a versioned file with YAML frontmatter | workspace_write |
| "What files are in my workspace?" | Lists all files and subfolders | workspace_list |
| "Search for anything tagged status: draft" | Filters files by frontmatter metadata | workspace_search |
| "Read the Q1 goals note" | Retrieves file content with token-budget awareness | workspace_read |
| "Update the status to reviewed" | Writes a new version (old version preserved) | workspace_write |
| "Show me the diff between versions" | Compares two versions with unified diff | workspace_history |
| "Store a setting: theme = dark" | Saves a key-value pair (with optional TTL) | workspace_kv |
| "Find all markdown files in research/" | Matches files by glob pattern | workspace_glob |
| "Search file contents for the word 'budget'" | Grep-style content search with context | workspace_grep |
Every write creates a new version. Nothing is overwritten. You can always go back.
A short conversation showing sayou in action across sessions:
You: Research competitor pricing for our enterprise tier and save your findings.
Claude Code: I'll research this and save my findings to the workspace.
*[Uses workspace_write to create research/competitor-pricing.md]*
Saved to
research/competitor-pricing.mdwith frontmatter:
status: draft, topic: competitor-pricing
You *(next day, new session):* What did we learn about competitor pricing?
Claude Code: Let me check our workspace.
*[Uses workspace_search with query "competitor pricing"]*
Found
research/competitor-pricing.md(saved yesterday):
- Competitor A: $99/seat/month
- Competitor B: $149/seat/month (includes support)
- Competitor C: $79/seat/month (limited features)
You: Update the status to "reviewed" and show me the diff.
Claude Code: *[Uses workspace_write to create version 2, then workspace_history to diff]*
`diff
- status: draft
+ status: reviewed
+ reviewer_notes: |
+ Competitor B is closest to our positioning.
`
The key insight: Claude Code remembered the research across sessions because sayou persisted it as a versioned file — not a chat message that disappears.
sayou init --cursor
This adds sayou to .cursor/mcp.json in your current working directory.
sayou init --windsurf
This adds sayou to ~/.codeium/windsurf/mcp_config.json.
sayou is a standard MCP server. Run sayou init (no flag) to get the config snippet, then paste it into your editor's MCP config. The entry is always the same — just "command": "sayou".
The agent gets 11 tools (12 with embeddings enabled):
| Tool | Description |
|---|---|
workspace_write | Write or update a file (text or binary with YAML frontmatter) |
workspace_read | Read latest or specific version, with optional line range |
workspace_list | List files and subfolders with auto-generated index |
workspace_search | Search by full-text query, frontmatter filters, or chunk-level |
workspace_delete | Soft-delete a file (history preserved) |
workspace_history | Version history with timestamps, or diff between two versions |
workspace_glob | Find files matching a glob pattern |
workspace_grep | Search file contents with context lines |
workspace_kv | Key-value store (get/set/list/delete with optional TTL) |
workspace_links | File links and knowledge graph (get or add links) |
workspace_chunks | Chunk outline or read a specific chunk by index |
workspace_semantic_search | Vector similarity search (requires SAYOU_EMBEDDING_PROVIDER) |
import asyncio
from sayou import Workspace
async def main(): async with Workspace() as ws:
await ws.write("notes/hello.md", """\
status: active tags: [demo, quickstart]
This file is versioned and searchable. """)
doc = await ws.read("notes/hello.md") print(doc["content"])
results = await ws.search(filters={"status": "active"}) print(f"Found {results['total']} active files")
asyncio.run(main())
See examples/quickstart.py for a runnable version.
# File operations
sayou file read notes/hello.md sayou file write notes/hello.md "# Hello World" sayou file list / sayou file search --query "hello" --filter status=active
sayou kv set config.theme '"dark"' sayou kv get config.theme
sayou auth # Connect to Sayou Drive (interactive) sayou auth status # Show current mode (cloud/local) sayou auth logout # Disconnect from Sayou Drive
sayou init # Initialize local setup sayou status # Show diagnostic info
| Example | What it shows |
|---|---|
quickstart.py | Hello World — write, read, search, list in 30 lines |
kv_config.py | KV store for config, feature flags, caching with TTL |
version_control.py | Version history, diff, time-travel reads |
file_operations.py | Move, copy, binary files, glob patterns |
multi_agent.py | Multi-agent collaboration with shared workspace |
research_agent.py | All methods exercised — the comprehensive reference |
sayou ships with a reference agent server — a multi-turn assistant that can search, read, write, and research using your workspace. It's a complete working example of building an agent on sayou.
# Install with agent dependencies
pip install sayou[agent]
cp agent/.env.example .env
python -m sayou.agent
The agent runs on http://localhost:9008 with a streaming SSE endpoint at POST /chat/stream.
| Capability | How it works |
|---|---|
| Answer questions | Searches workspace first, falls back to web search |
| Research topics | Multiple web searches, extracts facts, saves structured findings |
| Store knowledge | Writes files with YAML frontmatter, section headings, source citations |
| Execute code | Optional E2B sandbox for Python and bash (set SAYOU_AGENT_E2B_API_KEY) |
# Start agent in one terminal
python -m sayou.agent
python -m sayou.agent.benchmarks.eval
python -m sayou.agent.benchmarks.eval_full
Client → FastAPI (port 9008)
↓ Orchestrator ├─ LLMProvider (OpenAI streaming + tool calls) ├─ ToolFactory │ ├─ workspace_search/read/list/write (→ sayou SDK) │ ├─ web_search (→ Tavily API, optional) │ └─ execute_bash/python (→ E2B sandbox, optional) └─ SandboxManager (per-session isolation, auto-cleanup)
sayou includes SAMB — an open benchmark for evaluating memory systems on real agentic workflows. Existing benchmarks (LOCOMO, LongMemEval, DMR) test conversation recall. SAMB tests what agents actually need: recalling decisions, retrieving artifact contents, and connecting knowledge across sessions.
| Dimension | What it tests |
|---|---|
| Decision reasoning | "Why was bcrypt chosen over Argon2?" |
| Artifact content | "What endpoints are in the API docs?" |
| Cross-session | "How does session 3's auth decision affect session 5's implementation?" |
| Fact recall | "What was the monthly GCP cost estimate?" |
| Temporal | "What changed between the first and second architecture review?" |
10 scenarios, 62 sessions, 131 QA pairs across 7 question types. Each scenario simulates a multi-session professional project (auth system design, cloud migration, email campaigns, incident response, etc.) with realistic conversations, decisions, and artifacts.
# Prerequisites: pip install sayou mem0ai zep-cloud
python -m benchmarks.runner.cli
python -m benchmarks.runner.cli --adapter sayou mem0
python -m benchmarks.runner.cli --adapter sayou --scenario 01 03 08
python -m benchmarks.runner.cli --verbose
python -m benchmarks.runner.cli --judge-model gpt-4o --answer-model gpt-4o
Results are saved to benchmarks/results/ as JSON with full per-question breakdowns.
| Adapter | System | Retrieval approach |
|---|---|---|
sayou | sayou workspace | FTS5 + grep + file read (agentic, multi-tool) |
mem0 | mem0 | LLM fact extraction + embedding search (agentic) |
zep | Zep Cloud | Knowledge graph + temporal edges (agentic) |
oracle | Baseline | Direct access to source sessions (upper bound) |
no_memory | Baseline | No retrieval (lower bound) |
Each adapter use
ตัดมาแค่ช่วงต้น อ่านต่อใน repo