@tetsuo-ai/protocol

August 23, 2026 · View on GitHub

Public protocol artifact package for AgenC.

What This Package Is

This is the installable npm contract exported from agenc-protocol. It is derived from the committed canonical artifacts at the repo root; it is not the source of truth itself.

It exposes:

  • AGENC_COORDINATION_IDL
  • AGENC_PROTOCOL_MANIFEST
  • VERIFIER_ROUTER_IDL
  • AGENC_COORDINATION_PROGRAM_ADDRESS
  • AgencCoordination type

Canonical source-of-truth artifacts still live at the repository root:

  • artifacts/anchor/idl/agenc_coordination.json
  • artifacts/anchor/types/agenc_coordination.ts
  • artifacts/anchor/manifest.json
  • scripts/idl/verifier_router.json

This package's generated inputs are synchronized from those canonical artifacts via npm run sync:artifacts.

The root package export preserves the canonical JSON IDL object from artifacts/anchor/idl/agenc_coordination.json. The exported AgencCoordination type is the Anchor-generated camelCase helper copied from artifacts/anchor/types/agenc_coordination.ts.

Raw artifact subpaths are also exported:

  • @tetsuo-ai/protocol/idl/agenc_coordination.json
  • @tetsuo-ai/protocol/manifest.json
  • @tetsuo-ai/protocol/verifier-router.json
  • @tetsuo-ai/protocol/daemon-json-rpc.schema.json

Published version: 0.4.0 (npm, 2026-07-22) is the 101-instruction revision-5 IDL that matches the live mainnet program. The older 0.3.0 package is the superseded revision-4 99-instruction IDL and fails closed against revision 5. Requires Node ≥ 22.23.1.

Consumer Guidance

Use this package when you need released protocol artifacts in downstream repos (marketplace-sdk, prover tooling, or external integrations).

Use the repo-root artifacts when you are maintaining protocol source of truth inside agenc-protocol.

License

MIT (see LICENSE). The parent repository's on-chain program is GPL-3.0; this artifacts package is independently MIT-licensed.