Knowledge2026年5月13日·1 分钟阅读

Wax — On-Device Memory Layer + MCP Server

Single-file memory layer for AI agents (Swift) plus an MCP server for local-first RAG. Good for private, on-device workflows on Apple Silicon.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Needs Confirmation · 62/100策略:需确认
Agent 入口
任意 MCP/CLI Agent
类型
Memory
安装
Npx|Spm
信任
信任等级:Established
入口
npx -y waxmcp@latest mcp install --scope user
通用 CLI 安装命令
npx tokrepo install 44829892-4fe7-561a-9356-6067d0d30410

简介

Wax 是面向 agent 的本地优先记忆层:把检索与记忆放在本机,通过 MCP server 暴露读写接口,减少依赖“提示工程”去模拟记忆。

最适合: 想要私密、低延迟记忆能力的 Apple Silicon 用户

适配: MCP 客户端(Claude Code 等);也可用 SwiftPM 集成(README 有说明)

配置时间: 5–20 分钟

关键事实(已验证)

  • README 提供通过 npx -y waxmcp@latest ... 安装 MCP 的命令。
  • 同时给出 HTTP transport 的启动参数用于远程/团队部署(README 描述)。
  • GitHub:731 stars · 42 forks;最近更新 2026-05-13(GitHub API 验证)。

正文

把记忆当成真正的“接口”

写入小而可查询的事实,让写入显式可控,并把读写操作记录进 agent trace。

README 原文节选(verbatim)

Wax Banner

Wax is a high-performance, single-file memory layer for AI agents on Apple platforms.
On-device, private, and portable. No server and no cloud dependency.

Swift Platforms License Stars

English · Español · Français · 日本語 · 한국어 · Português · 中文


What is Wax?

Wax is a Swift-native persistence engine for AI agents. It stores documents, embeddings, and structured knowledge in a single portable .wax file.

The goal is simple: keep memory local, keep setup light, and make recall fast enough that it can stay in the loop.

Why Wax?

Feature Wax SQLite (FTS5) Cloud Vector DBs
Search Hybrid (Text + Vector) Text Only* Vector Only*
Latency ~6ms (p95) ~10ms (p95) 150ms - 500ms+
Privacy 100% Local 100% Local Cloud-hosted
Setup Zero Config Low Complex (API Keys)

FAQ

Wax 是 MCP server 还是库? 答:两者都是:README 同时提供 MCP 安装方式与 SwiftPM 集成方式。

需要再配一个向量数据库吗? 答:README 强调本地优先;很多场景可直接当作 on-device 检索层使用。

能远程部署吗? 答:README 给出 HTTP transport;使用前请评估隐私与鉴权。

🙏

来源与感谢

Source: https://github.com/christopherkarani/Wax > License: Apache-2.0 > GitHub stars: 731 · forks: 42

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产