Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

farm_memory-0.1.1.tar.gz (177.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

farm_memory-0.1.1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

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

Hashes for farm_memory-0.1.1.tar.gz
Algorithm Hash digest
SHA256 de4d4494f62e30e16f197df78abbe96a1e2c8efb7e7da4138377a920b8bcd850
MD5 85651ef9f261207ba41e7226ca303d7c
BLAKE2b-256 a8f85dedfe6f211b22ed0fd1735a0b45537d11aecd0d34d9d8da6c02934682ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for farm_memory-0.1.1.tar.gz:

Publisher: release.yml on mmga-lab/farm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for farm_memory-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 86bdf145cebd750657280d8b9261e05486ee18dcfbcb142976c8d78e819a5126
MD5 e5c149d26d8f061616d58dc2362b27c0
BLAKE2b-256 545dc8233308c110d49462f24dccbf1da14658ae116f458d933bbe3b6cb6618e

See more details on using hashes here.

Provenance

The following attestation bundles were made for farm_memory-0.1.1-py3-none-any.whl:

Publisher: release.yml on mmga-lab/farm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page