
Waggle Mcp
io.github.Abhigyan-Shekhar由 GitHub 帳號 Abhigyan-Shekhar 發布v0.1.8更新於 Oct 25, 2026
Persistent graph-backed conversational memory for AI agents.
發布方自己的服務:Fenlight
概覽
本地優先的記憶層,以圖結構保存專案決策與脈絡,讓 AI 助理能跨工作階段回想。
- 可以做什麼
- 載入專案脈絡並檢索相關記憶歷史,包括決策、限制條件與待解決問題,並附上佐證與來源(prime_context、query_graph)。為特定任務組裝精簡的脈絡包(build_context)。把對話中值得保留的結論寫回記憶圖(observe_conversation)。在瀏覽器工作區取得專案簡報、檢索權威記憶、提出待人工核准的更正、依提案 ID 套用已核准的變更,並為本次工作階段載入可攜的 .abhi 圖。
- 適用情境
- 適合與助理在多個工作階段持續處理同一專案,希望決策、需求與偏好能延續而不必反覆貼上脈絡的情況。也適合希望以圖的形式檢視並修正所存記憶的團隊。
- 執行需求
- 需在 Python 3.11 以上以 pipx 安裝本機 Python 套件,接著執行 setup 與 doctor 並重新啟動用戶端。透過環境變數設定:WAGGLE_BACKEND(預設 sqlite,服務部署可用 neo4j)、WAGGLE_DB_PATH、WAGGLE_DEFAULT_TENANT_ID、WAGGLE_MODEL 與 WAGGLE_TRANSPORT。本機使用不需帳號或外部資料庫,預設 SQLite 儲存位於本機。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Waggle Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Project memory for humans and AI agents.
Keep decisions, context, and the reasons behind them across conversations.
[PyPI] [Python 3.11+] [MCP compatible] [Apache-2.0]
Install Waggle · Try the browser workspace · Documentation
Keep the context, not just the conversation
Waggle is an open-source, local-first memory layer for AI agents. It stores project knowledge as a graph: what you decided, why it matters, what it depends on, and what has changed. Your next conversation can pick up from that context instead of starting over.
Use Waggle with your MCP client, inspect and edit memory in Graph Studio, or bring a portable memory graph into the browser workspace.
- Continue across sessions. Recall project decisions, requirements, preferences, and open questions without repeatedly pasting context.
- Understand the reasoning. Explore relationships, supporting evidence, contradictions, and the history behind a decision.
- Keep control of corrections. In the WebMCP workspace, agents propose changes; humans approve the exact content before it becomes authoritative.
- Take memory with you. Export and import
.abhifiles across supported workflows without tying your graph to one client. - Start locally. The default SQLite store lives on your machine. Local use does not require a Waggle account or an external database.
Quick Start
The Python package requires Python 3.11+ and pipx. On macOS, you can install
pipx with brew install pipx; see the installation guide
for client-specific options.
Restart your terminal after the first pipx ensurepath, then run:
Restart your MCP client to load Waggle. Setup detects supported clients and writes their configuration; automatic memory behavior uses the client's installed hooks, skills, or project instructions.
To check continuity, ask your agent to remember a project decision, then open a fresh session in the same project and ask what was decided. Keep the same project identifier across sessions.
Choose your client
For clients that accept an mcpServers configuration:
If the command is not found, run pipx ensurepath and reopen your terminal.
Use the troubleshooting guide for installation,
startup, and client connection issues.
How memory works
Waggle separates durable project knowledge from the model's context window. An agent retrieves relevant memory when needed and records meaningful outcomes for later conversations.
- Capture: record decisions, constraints, preferences, and supporting context.
- Connect: link related memories and preserve contradictions and updates.
- Recall: retrieve scoped context with evidence and provenance.
- Continue: use that context in another session or supported client.
The core MCP workflow uses prime_context to load project context,
query_graph to retrieve relevant history, and observe_conversation to
record durable outcomes. build_context assembles a compact context pack for
a specific task. Tool availability alone does not make an agent use memory
automatically; its hooks, skills, or instructions must call these tools.
See the tool reference and configuration reference for the full API and retrieval settings.
Graph Studio
Graph Studio makes project memory inspectable and editable. Browse nodes and relationships, add or remove graph content, inspect source evidence, and review how a memory changed over time.
The browser workspace provides focused views for project context, memories, proposals, and activity. Graph Studio provides the graph-level view of that server-backed memory; private browser imports remain in the workspace tab.
WebMCP — memory in your browser
The Waggle workspace lets a human and a
compatible browser agent work with the same project memory. Its WebMCP adapter
registers page-level Site tools through document.modelContext.registerTool.
This is separate from installing Waggle's MCP server or configuring a remote
MCP connector.
Connect and use the workspace
- Open the workspace in ChatGPT's built-in browser using a model and account configuration that supports Site tools.
- In the address bar, check Site tools → Available site tools and confirm the five Waggle tools are available. Keep this workspace tab open while working with its memory.
- Explore the sample project or select Load private .abhi to work with your own graph.
- Ask for a project brief or recall a specific decision. On the hosted workspace,
use
project_id: waggle-webmcp, including after importing your own graph. - To correct a memory, ask the agent to propose a replacement. Review it in Proposals, edit it if needed, and approve the exact value.
- Ask the agent to apply the approved proposal using only its actual proposal ID. Recall the decision again to confirm the result and inspect its history.
For example:
If Site tools are unavailable, check the browser's permissions and configuration. If the browser blocks an apply call, you can use Apply approved change on the approved proposal and confirm the action yourself. This uses the same approval and freshness checks; it does not bypass browser safeguards.
Browser tools
Corrections you can review
Approved content cannot be changed by the applying agent. If the target memory
has changed since the proposal was created, the proposal is marked stale
instead of overwriting newer information. Application preserves the previous
memory and links it to the replacement with an updates edge.
These approval rules govern the WebMCP correction workflow. They are not a claim that every direct graph-editing or local MCP operation requires approval.
Bring your own memory
A .abhi file is Waggle's portable memory graph. The browser importer reads
existing memories; it does not ingest a source repository to invent a project
brief.
- Select Load private .abhi in the workspace.
- Choose an unencrypted schema 2.x file, up to 700 KiB compressed and 4 MiB expanded.
- Confirm the Private session graph indicator appears. Briefs, recall, proposals, and approvals now use that imported copy.
The import replaces this tab's active workspace; it does not merge with the sample graph, modify your original file, or affect another visitor.
You can also attach the file to a compatible chat and ask:
The agent must be able to read the attachment and provide its bytes as base64. The tool does not accept a local file path or download URL. Use the page's file picker if the chat cannot access the attachment.
See the portable memory format for archive structure and supported operations.
Your data and deployment options
Browser lifetime. Private imports survive page reloads, and browser session restoration can preserve them. Use the workspace's Reset Demo control to explicitly clear the private copy and return to the sample project. Closing a chat conversation alone is not a guaranteed deletion signal. Browser storage is not encrypted by the importer.
AI services. Attaching a file in chat shares it with that chat provider. Memory returned through tool calls is also shared with the requesting AI service. Local storage does not mean that model inputs stay on your device.
Hosted preview. The public workspace is for trying the browser experience,
not durable production storage. Its free hosting can pause when idle, take time
to wake, and lose sample state on restart or redeployment. Opening it does not
connect to your local Waggle database. The included SQLite preview configuration
stores disposable state under /tmp, caps admission at 128 sessions per database,
and rejects new sessions at capacity without evicting existing ones.
Self-hosting. The browser preview's governance backend currently requires SQLite. Remote MCP hosting with Neo4j is a separate configuration, not a drop-in replacement for that browser workflow. For remote deployment, configure HTTPS, authentication, persistent storage, and backups. Read the production deployment guide, security model, and hardening checklist before exposing a server publicly.
Development
Waggle uses Python for the memory engine and MCP server, and React/Vite for Graph Studio and the browser workspace.
On PowerShell, set $env:WAGGLE_MODEL="deterministic" before running pytest -q.
Deterministic embeddings keep tests offline; use the normal embedding model
when evaluating semantic retrieval.
For frontend changes:
Documentation and contributing
- Installation guides
- Tool reference
- Configuration
- Portable memory format
- Deployment and security
- Contributing
- Repository map
- Report an issue
License
Waggle is open source under the Apache License 2.0.
來源:README.md,提交 dc39a8b
工具
0版本歷史
1- v0.1.8最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分