BrewFSBrewFS
BrewFSBrewFS
快速上手
开发者示例后端适配指南元数据后端指南参与贡献代码结构
开发者

示例

挂载配方与 agent 工作区模式。

本地开发挂载

mkdir -p /tmp/brewfs-mnt /tmp/brewfs-data

cargo run -p brewfs -- mount /tmp/brewfs-mnt \
  --data-backend local-fs \
  --data-dir     /tmp/brewfs-data \
  --meta-backend sqlx \
  --meta-url     sqlite:///tmp/brewfs-meta.db

S3 + Redis 挂载

cargo run -p brewfs -- mount /mnt/brewfs \
  --data-backend s3 \
  --s3-bucket  brewfs-data \
  --s3-endpoint http://127.0.0.1:9000 \
  --meta-backend redis \
  --meta-url     redis://127.0.0.1:6379/0

一个共享的 agent 工作区

/workspace
├── context/          # 共享的、以读为主的上下文
├── agents/
│   ├── planner/      # plan.md
│   ├── executor/     # result.json、logs.txt
│   ├── reviewer/     # review.md
│   └── reporter/     # final.md
├── artifacts/        # patch.diff、benchmark.csv、output.png
└── memory/           # task-state.json、index-cache.bin

每个 agent 写入自己阶段的输出,下游 agent 通过文件系统消费 — 不需要专门的 agent 存储协议。

开发者

SDK、示例、扩展指南与参与贡献。

后端适配指南

添加新的对象存储后端。

On this page

本地开发挂载S3 + Redis 挂载一个共享的 agent 工作区