Discover and explore top open-source AI tools and projects—updated daily.
christopherkaraniOn-device RAG and memory for Swift AI agents
Top 56.3% on SourcePulse
<2-3 sentences summarising what the project addresses and solves, the target audience, and the benefit.> Wax provides an on-device memory layer for AI agents, simplifying the integration of complex RAG pipelines into Swift applications. It replaces multi-service architectures with a serverless, single-file solution, enabling private, portable, and deterministic memory management for iOS and macOS developers.
How It Works
Wax consolidates documents, embeddings, BM25 full-text search, HNSW vector indexes, and crash-recovery logs into a single .mv2s file. This file format is append-only, checksum-verified, and uses a dual-header for atomic updates, ensuring durability and portability without external dependencies or network calls. It leverages Metal GPU acceleration for vector search on Apple Silicon, offering significant performance gains.
Quick Start & Requirements
Package.swift using .package(url: "https://github.com/christopherkarani/Wax.git", from: "0.1.6").https://github.com/christopherkarani/Wax.git.Highlighted Details
Maintenance & Community
Developed by Christopher Karani. The README does not specify community channels (e.g., Discord, Slack) or sponsorship details.
Licensing & Compatibility
The README does not explicitly state the project's license. This requires clarification for commercial use or integration into closed-source projects.
Limitations & Caveats
Stress recall performance is currently blocked by a harness issue (signal 11). Advanced WAL maintenance features, such as proactive pressure commits and scheduled live-set rewrites, are guarded by default due to workload sensitivity and require explicit configuration.
8 hours ago
Inactive
activeloopai