sayou
io.github.pixell-global由 GitHub 帳號 pixell-global 發布v0.2.2更新於 Oct 24, 2026
Persistent knowledge workspace for AI agents. Versioned files, search, and MCP tools.
概覽
面向 AI 代理的本地檔案式知識工作區,透過 MCP 工具提供具版本的文件、搜尋、鍵值儲存與連結管理。
- 可以做什麼
- 寫入、讀取、列出與軟刪除帶 YAML frontmatter 的版本化檔案,支援二進位內容與行範圍。依全文查詢、frontmatter 篩選或分塊搜尋檔案,並用 glob 模式或 grep 式內容搜尋尋找檔案。檢視版本歷史、比較兩個版本的差異並讀取舊版本。存取帶選用 TTL 的鍵值對。管理檔案連結與知識圖譜,讀取分塊大綱或指定分塊。設定嵌入提供者後可選用向量相似度搜尋。
- 適用情境
- 適合需要讓助理跨工作階段保留研究、筆記、決策或專案文件,而不是隨對話結束而遺失的情境;也適合希望保留代理寫入內容可稽核版本紀錄的情況。多代理共用同一工作區時同樣適用。
- 執行需求
- 以本機程序從 PyPI 用 pip 安裝執行,需要 Python。預設使用 SQLite 加本機磁碟,無需設定,工作區預設為本機目錄。選用附加元件提供 REST API、S3 儲存或參考代理。透過 Sayou Drive 雲端同步需執行驗證指令並輸入 API 金鑰。正式環境 MySQL 加 S3 需在環境變數中提供資料庫與 S3 憑證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 sayou,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
sayou
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.
- Files that hold what databases can't — Frontmatter for structure. Markdown for context. Versioned. Auditable.
- One read. Full context. — Every read accepts a
token_budget. Returns summaries with section pointers when content exceeds the budget. - Knowledge that compounds — Append-only version history. Every change is a new version. Full audit trail and time-travel reads.
- Any agent can connect — MCP server, Python library, or CLI. Optional REST API with
pip install sayou[api].
Quick Start
Claude Code (recommended)
From within Claude Code:
Or from the terminal:
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
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.
Try It
Open Claude Code and paste any of these prompts. Each one triggers a different MCP tool — no setup beyond the Quick Start above.
Every write creates a new version. Nothing is overwritten. You can always go back.
What It Looks Like
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]
The key insight: Claude Code remembered the research across sessions because sayou persisted it as a versioned file — not a chat message that disappears.
Setup for Other Editors
Cursor
This adds sayou to .cursor/mcp.json in your current working directory.
Windsurf
This adds sayou to ~/.codeium/windsurf/mcp_config.json.
Any MCP-compatible client
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".
MCP Tools
The agent gets 11 tools (12 with embeddings enabled):
Python API
See examples/quickstart.py for a runnable version.
CLI
Examples
Reference Agent
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.
Quick start
The agent runs on http://localhost:9008 with a streaming SSE endpoint at POST /chat/stream.
What the agent can do
Evaluate the agent
Architecture
SAMB: Structured Agent Memory Benchmark
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.
What SAMB measures
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.
Run the benchmark
Results are saved to benchmarks/results/ as JSON with full per-question breakdowns.
Available adapters
Methodology
Each adapter uses agentic retrieval — an LLM generates multiple search queries rather than a single-shot lookup. This gives every system a fair chance at finding relevant information.
Scoring: LLM-judged (gpt-4o-mini) on a 0–3 scale, normalized to percentage. Task-type questions add holistic scoring (1–5) and evidence coverage (per-item FOUND/MISSING). Statistical significance via bootstrap confidence intervals with Bonferroni correction.
Full methodology: benchmarks/dataset/METHODOLOGY.md
Dataset card: benchmarks/dataset/DATASET_CARD.md
Installation Options
Production Deployment
For team/production use with MySQL + S3:
Install with all backends: pip install sayou[all]
Storage Backends
Troubleshooting
Verify your setup
This shows your workspace path, database location, storage backend, and tool count. If everything is working, you'll see 11 tools registered.
Common issues
Get help
- GitHub Issues — bug reports and feature requests
- CONTRIBUTING.md — development setup and contribution guide
What sayou is NOT
- Not a vector database. Pinecone, Weaviate, and Chroma store embeddings for similarity search. sayou stores structured files that agents read, write, and reason over.
- Not a memory layer. Mem0 and similar tools store conversation snippets. sayou stores work product — research, client records, project documentation — that compounds over time.
- Not a sandbox. E2B provides ephemeral execution environments. sayou provides persistent storage that outlives any single execution.
- Not a filesystem. AgentFS intercepts syscalls to virtualize file operations. A knowledge workspace with versioning and indexing.
Philosophy
Read PHILOSOPHY.md for the founding vision and design principles.
Contributing
See CONTRIBUTING.md.
License
Apache 2.0 — See LICENSE
來源:README.md,提交 7fc503b
工具
0版本歷史
1- v0.2.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
