@agenticprimitives/fabric

中文文档
0.0.0-alpha.39发布于 2026/10/26MITTypeScriptES Module近 30 天下载 4737

The Agentic Interaction Fabric (spec 316): one canonical ExchangeRecordV1 + two-level exec/case FSM that absorbs messaging (envelope/inbox) and interactions (case/run) into an A2A-native, decentralized, low-latency substrate. Transport-agnostic core; the

原始使用文档

@agenticprimitives/fabric

Part of Agentic Primitives — the open-source trust substrate for agentic applications: identity that can sign, authority checked at act time, evidence the owner carries. Developer kit · All packages

Ring-0 operational realization of Agentic Interaction. Semantics live under apix: (ADR-0058 · spec 340); this package owns wire types, reducers, and the Cloudflare gateway adapter — not the ontology namespace (apfab: retired).

Runtime doctrine still spec 316 / ADR-0047: A2A-native substrate absorbing messaging + interactions into one exchange object over a two-level exec/case FSM.

  • Exchange: ExchangeRecordV1 — ExecState + optional CaseState, fail-closed coupling.
  • Interaction (spec 340): InteractionRecordV1 + profiles + context snapshots on PrincipalGatewayDO — in package; apps still use demo-a2a InteractionsDO + vault board.
  • Subpaths: @agenticprimitives/fabric/messaging + /interactions.

Authority is never satisfied by the exchange (ADR-0041).

Start here for app wiring + adoption matrix: docs/architecture.md.
Also: CLAUDE.md · target architecture · commercial comparison · gaps.

版本与发布记录

@agenticprimitives/fabric 共发布 36 个版本,首次发布于 2026/07/14;过去 12 个月发布了 36 个版本。

版本发布日期距今
0.0.0-alpha.39latest2026/10/2610 天前
0.0.0-alpha.382026/10/2611 天前
0.0.0-alpha.372026/10/1720 天前
0.0.0-alpha.362026/10/1720 天前
0.0.0-alpha.352026/10/1620 天前
0.0.0-alpha.342026/10/1620 天前

关于 @agenticprimitives/fabric 的常见问题

@agenticprimitives/fabric 是什么?

The Agentic Interaction Fabric (spec 316): one canonical ExchangeRecordV1 + two-level exec/case FSM that absorbs messaging (envelope/inbox) and interactions (case/run) into an A2A-native, decentralized, low-latency substrate. Transport-agnostic core; the

如何安装 @agenticprimitives/fabric?

在项目目录运行 npm install @agenticprimitives/fabric,或使用 pnpm add / yarn add / bun add。

@agenticprimitives/fabric 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@agenticprimitives/fabric 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@agenticprimitives/fabric 可以商用吗?

@agenticprimitives/fabric 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@agenticprimitives/fabric 的下载量有多少?

根据 npm 官方下载统计,@agenticprimitives/fabric 在 2026/10/05 – 2026/11/03 这 30 天内被下载 4,737 次,日均约 158 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@agenticprimitives/fabric 还在维护吗?

最新版本 0.0.0-alpha.39 发布于 2026/10/26(10 天前);至今共发布 36 个版本,其中过去 12 个月发布了 36 个;首次发布于 2026/07/14。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。