Wax
活跃·★ 746·Apache-2.0·更新于 2026-05-24
★ 记忆与上下文★ RAG / 知识库
Wax 为 iOS 和 macOS AI 代理提供设备端内存,使其具备持久、可搜索、私密的记忆,全部存储在一个独立的便携文件中,无需服务器或云端。
Wax 为 iOS 和 macOS AI 代理提供持久、可搜索且私密的设备端内存,无需服务器或云服务。它将文档存储、语义搜索(HNSW)、全文搜索(BM25)和 token 预算功能集成到一个独立的、崩溃安全的 .wax 文件中。
#AI 代理#设备端 AI#向量数据库#全文搜索#Swift#iOS 开发#macOS 开发#隐私保护
01
功能特性
01混合检索 (BM25 + HNSW)
02设备端嵌入 (MiniLM)
03Metal GPU 加速
04自动 token 预算
05单一便携 .wax 文件
02
兼容性
Swift
语言
已通过文档验证
iOS
平台
已通过文档验证
macOS
平台
已通过文档验证
Xcode
集成开发环境
已通过文档验证
Apple Silicon
硬件
已通过文档验证
03
快速开始
1
$ Add to Package.swift dependencies: .package(url: "https://github.com/christopherkarani/Wax.git", from: "0.1.8")
04
使用场景
↳记住用户偏好的对话式 AI 代理
↳带有语义搜索的笔记应用
↳私密学习用户习惯的个人助理
↳用于敏感数据的设备端 RAG 管道
05
同类工具
相关搜索
评论
登录后发表评论
- AAspen Brown2026年5月25日
Can this sync back up to a central Cloud database if the user goes online, or is it strictly local-only?
- PPhoenix Wilson2026年5月4日
Implemented this in a Swift project yesterday. Having a single-file DB that supports vector search is genius.
- LLogan Anderson2026年4月18日
This makes offline context preservation so much simpler for iOS apps. No need to manage a massive remote Vector DB.