Braindump
An ergonomic, opinionated memory interface for AI agents
Install / Use
/learn @joshua-mo-143/BraindumpREADME
braindump
This library primarily aims to provide a reliable, competent memory engine for AI agents in Rust.
What is memory?
Memory can be defined as the ability of an AI agent to store, recall and use information from past interactions to personalise interactions with users, adapt its behaviour over time and increase its accuracy over time by reviewing conversations, summarizing them and storing facts about them.
In programming terms, this means creating an abstraction that can do the following:
- Inject context into system/user prompts based on previous interactions with a user
- Summarize past and current conversations, and then store them somewhere
- Manage aforementioned memories, carrying out operations like memory compaction, consolidation, and more
The idea is primarily backed by context engineering (the practice of engineering the agent's environment rather than the prompt) becoming a very crucial aspect of agent development currently.
Features
- Comes with an in-mem impl for 100% in-process memory storage
- Generic interfaces for vector stores, embedding and memory generation
- Core lib is WASM compatible (see
wasmsection) - Integration with Rig (
rig-core) for hassle-free memory generation
WASM/WebAssembly compatibility
To enable WASM, you need to enable the wasm feature then compile to any kind of wasm32 target.
The following braindumpfeatures are also compatible with WASM:
rig-wasm(rig-corecompiled with theworkerfeature)
WASM is incompatible with the fastembed feature due to it using some not-WASM friendly components.
Roadmap
- Memory compaction/consolidation
- More integrations for vector stores
- Improving in-memory impl for better hot caching performance without a third party provider
- More examples!
Related Skills
node-connect
348.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
