Releases: yxpil/MemoryPool
Releases · yxpil/MemoryPool
Release list
v0.2.0
MemoryPool v0.1.0
MemoryPool v0.1.0
First release of the shared, persistent memory pool for AI agents around the
BIT ecosystem.
What's included / 包含内容
EN
- CLI (
memorypool):add / search / list / get / delete / tag / stats / serve,
all subcommands support--json; piped stdin JSON overrides CLI args
(BIT exec-mode contract). - Scored keyword search: text-term hits, exact tag hits, importance weighting,
exponential time decay (30-day half-life). - JSONL storage at
~/.memorypool/memories.jsonl(MEMORYPOOL_DATA_DIRto
override), append writes + atomic temp-file/rename mutations. - HTTP server on
127.0.0.1:8751: REST API (/health,/mem,
/mem/search,/mem/list,/mem/{id}), BIT Remote-tool/invoke
(params.action= add/search/list/delete/stats), optional--tokenBearer auth.
中文
- CLI(二进制名
memorypool):add / search / list / get / delete / tag / stats / serve,
全部子命令支持--json;stdin 管道 JSON 优先于命令行参数(BIT exec 模式契约)。 - 关键词评分检索:正文命中、标签精确命中、重要度加权、指数时间衰减(半衰期 30 天)。
- JSONL 存储(默认
~/.memorypool/memories.jsonl,可用MEMORYPOOL_DATA_DIR
覆盖目录),追加写 + 临时文件/rename 原子落盘。 - HTTP 服务(默认
127.0.0.1:8751):REST API(/health、/mem、/mem/search、
/mem/list、/mem/{id})、BIT Remote 工具/invoke(params.action=
add/search/list/delete/stats)、可选--tokenBearer 鉴权。
Install / 安装
Download the archive for your platform, unpack, and put memorypool on your
PATH (checksums are produced by the release CI):
| Platform | Asset |
|---|---|
| Linux x64 | memorypool-v0.1.0-x86_64-unknown-linux-gnu.tar.gz |
| macOS Apple Silicon | memorypool-v0.1.0-aarch64-apple-darwin.tar.gz |
| macOS Intel | memorypool-v0.1.0-x86_64-apple-darwin.tar.gz |
| Windows x64 | memorypool-v0.1.0-x86_64-pc-windows-msvc.zip |
Or build from source: cargo install --git https://github.com/yxpil/MemoryPool
或源码安装:cargo install --git https://github.com/yxpil/MemoryPool。
Quick start / 快速上手
memorypool add "Deploy redis on Friday" --tags ops,infra --importance 0.9
memorypool search "redis deploy"
memorypool serve # http://127.0.0.1:8751BIT integration (exec runtime / Remote tool / HTTP API) is documented in the
README. BIT 集成(exec 运行时 / Remote 工具 / HTTP API)见 README。
Full API reference: wiki Protocol.