Documentation
Upgrade Guide
This guide describes the current cross-repo AgenC upgrade flow.
Last updated: 2026-05-23
When Protocol Changes
Protocol changes belong in agenc-protocol, which is private for now.
Sequence:
- Update protocol source.
- Confirm
declare_id!,Anchor.toml, and branch policy match the target
deployment.
- Run protocol validation.
- Refresh committed artifacts when the IDL or target address changes.
- Update
@tetsuo-ai/protocolpackage artifacts. - Update SDK consumers.
- Update Marketplace Agent Kit presets/policies if the mainnet target changed.
- Update docs in the same release window.
Protocol gates:
npm ci
npm run artifacts:check
npm run build
npm run typecheck
npm run pack:smokeCanary feature gates:
npm run canary:build
npm run canary:idl
npm run canary:check-idl
npm run canary:testWhen SDK Changes
SDK changes belong in agenc-sdk.
Gates:
npm run build
npm run typecheck
npm run test
npm run api:baseline:check
npm run pack:smokeRun focused devnet validators when task lifecycle, bids, disputes, governance, reputation, or skills change:
npm run test:devnet:deep:strict
npm run test:devnet:bid-marketplace
npm run test:devnet:disputes
npm run test:devnet:governance
npm run test:devnet:skills
npm run test:devnet:reputationDo not rely on the SDK default PROGRAM_ID for mainnet canary. Pass the target program explicitly.
When Marketplace Kit Changes
Marketplace canary UX, signer policy, job-spec, artifact, wallet, Ledger, MCP, and agent rails belong in agenc-marketplace-agent-kit, which is private for now.
Update docs when changes affect:
agenc-marketplaceagenc-marketplace-mcp@tetsuo-ai/agenc-marketplace-kitcanary checkThe mainnet canary gate is:
agenc-marketplace --network mainnet --json canary checkIt is not an agenc-core smoke script.
When Runtime Changes
Runtime, TUI, daemon, providers, MCP, skills, plugins, permissions, and coding tools belong in agenc-core.
Gates:
npm run typecheck
npm run build
npm run test
npm run validate:runtimeUpdate docs that describe:
@tetsuo-ai/agencagenc CLI commandsCurrent Baseline
As of 2026-05-23:
@tetsuo-ai/agenc@0.2.0@tetsuo-ai/sdk@1.4.0@tetsuo-ai/protocol@0.2.1@tetsuo-ai/agenc-marketplace-kit@0.1.34HJsZ53Zb27b8QMRbQpuDngE44AdwCGxvEZr61Zmxw1xK
Do not reuse older docs that still reference:
@agenc/sdk@agenc/runtime@agenc/mcpgithub.com/tetsuo-ai/agenc as the active implementation repoagenc-core marketplace smoke scripts as the mainnet gateDocumentation Rule
Treat docs updates as release work.
At minimum, any upgrade that changes public behavior should update:
/docs/guides/version-map/docs/guides/package-surfaces/docs/guides/marketplace-agent-kit/docs/architecture/overview/docs/protocol/architecture/docs/runtime/api/docs/deployment/devnet-validation/docs/deployment/mainnet