Filesystem As Remote Memory - Agent memory storage system
Project description
FARM - Filesystem As Remote Memory
为 AI Agent 设计的持久化记忆系统。让 Agent 能够跨会话记住重要信息,并通过语义搜索快速检索。
核心功能
- 记忆存储: 保存对话摘要、用户偏好、学习到的知识
- 语义搜索: 基于 ChromaDB 向量搜索,用自然语言查询相关记忆
- 多接口: MCP Server (Claude)、REST API、CLI
快速开始
# 安装
uv sync
# 初始化存储
uv run farm init
# 添加记忆
uv run farm add "用户偏好 Vue 框架" --tag preference
# 搜索记忆
uv run farm search "前端框架" --semantic
# 启动 API 服务
uv run farm serve
Claude 集成
添加到 Claude 配置 (~/.claude.json):
{
"mcpServers": {
"farm": {
"command": "uv",
"args": ["run", "--directory", "/path/to/farm", "farm", "mcp"]
}
}
}
文档
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file farm_memory-0.1.1.tar.gz.
File metadata
- Download URL: farm_memory-0.1.1.tar.gz
- Upload date:
- Size: 177.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de4d4494f62e30e16f197df78abbe96a1e2c8efb7e7da4138377a920b8bcd850
|
|
| MD5 |
85651ef9f261207ba41e7226ca303d7c
|
|
| BLAKE2b-256 |
a8f85dedfe6f211b22ed0fd1735a0b45537d11aecd0d34d9d8da6c02934682ba
|
Provenance
The following attestation bundles were made for farm_memory-0.1.1.tar.gz:
Publisher:
release.yml on mmga-lab/farm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
farm_memory-0.1.1.tar.gz -
Subject digest:
de4d4494f62e30e16f197df78abbe96a1e2c8efb7e7da4138377a920b8bcd850 - Sigstore transparency entry: 832762415
- Sigstore integration time:
-
Permalink:
mmga-lab/farm@7554afdb4bb1670f33546402b83051adf8e6944e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/mmga-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7554afdb4bb1670f33546402b83051adf8e6944e -
Trigger Event:
push
-
Statement type:
File details
Details for the file farm_memory-0.1.1-py3-none-any.whl.
File metadata
- Download URL: farm_memory-0.1.1-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86bdf145cebd750657280d8b9261e05486ee18dcfbcb142976c8d78e819a5126
|
|
| MD5 |
e5c149d26d8f061616d58dc2362b27c0
|
|
| BLAKE2b-256 |
545dc8233308c110d49462f24dccbf1da14658ae116f458d933bbe3b6cb6618e
|
Provenance
The following attestation bundles were made for farm_memory-0.1.1-py3-none-any.whl:
Publisher:
release.yml on mmga-lab/farm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
farm_memory-0.1.1-py3-none-any.whl -
Subject digest:
86bdf145cebd750657280d8b9261e05486ee18dcfbcb142976c8d78e819a5126 - Sigstore transparency entry: 832762418
- Sigstore integration time:
-
Permalink:
mmga-lab/farm@7554afdb4bb1670f33546402b83051adf8e6944e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/mmga-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7554afdb4bb1670f33546402b83051adf8e6944e -
Trigger Event:
push
-
Statement type: