Feast
$ feast 基金会 中风险Feast(feast)用于管理声明式 ML 特征仓库,将特征定义同步至元数据注册表及在线/离线存储(Redis、DynamoDB、Postgres、BigQuery、Snowflake)。支持在执行 feast apply 前通过 feast plan 安全预览注册表与基础设施变更。
pip install feast feast 直接结合 feature_store.yaml 在本地评估 Python 特征定义后再物化至在线存储,天然契合本地编程 Agent 仓库。
Agent 友好度体检单
当前为静态评估(本机尚未安装或尚未运行探针)。可在本地运行 npm run data:probe 并提交 data/probes/ 升级为实测证据。
FCRS-1.0 六维评分拆解
支持通过 -c/-f 指定仓库路径及 --log-level 控制输出,可非交互运行,但检查命令缺少 --json 输出。
- Non-interactive execution with
-c/--chdirand-f/--feature-store-yaml - Outputs human-readable text rather than
--json
内置 feast plan 提供类似 Terraform 的预演差异检查,在 feast apply 前有效保护生产特征注册表不被意外更改。
feast planpreviews registry and table diffs without mutating statefeast teardownis isolated as an explicit destructive subcommand
可通过 PyPI(pip install feast)安装,但对接 GCP、AWS、Snowflake 或 Postgres 等后端需安装对应可选依赖。
- Standard PyPI package with modular store extras
覆盖仓库初始化、变更预演、注册表同步、增量物化与本地特征服务启动(feast serve)。
- Covers
init,plan,apply,materialize, andserve
Linux Foundation AI & Data 托管项目(feast-dev/feast),采用 Apache-2.0 协议并由多方社区持续维护。
- LF AI & Data hosted repository (
feast-dev/feast) under Apache-2.0
docs.feast.dev 提供完善的 CLI 命令参考与清晰的 Click 帮助文本。
- Official CLI reference at docs.feast.dev
安全边界、鉴权与放权指南
读取 feature_store.yaml(通过 -c/--chdir 或 -f/--feature-store-yaml 指定),并将云存储鉴权委托给标准 AWS、GCP 或 Snowflake 环境变量。
Apache-2.0 开源 CLI 免费;底层在线/离线数据存储(BigQuery、Snowflake、Redis、DynamoDB)按对应基础设施计费。
# Feast CLI (feast) Agent Rules - Always run `feast plan` and inspect the diff before executing `feast apply`. - Pass global flags (`-c`, `-f`, `--log-level`) *before* the subcommand name. - Never run `feast teardown` without explicit user confirmation.
Agent 高频安全命令配方
只读查询(安全推荐)
feast -c ./feature_repo plan
计算并打印待应用的注册表与在线存储表变更,不执行实际写入。
feast -c ./feature_repo feature-views list
从当前配置的注册表中列出已声明的特征视图。
受控写入与预演
feast -c ./feature_repo materialize-incremental 2026-12-05T00:00:00
仅回填自上次物化水位线之后新增的特征数据。
核心优势
- + 类似 Terraform 的
feast plan让 Agent 可在feast apply前验证注册表与表结构变更。 - + 显式的
-c/-f全局标志便于安全定位隔离的特征仓库目录。
注意事项与踩坑点
- !
-c与--log-level等全局选项必须放在子命令之前,否则会报错。 - !
feast plan与list命令缺少原生--json输出标志。