Agent Primitives

Purpose

Agent Primitives (APM) provides foundational building blocks for constructing AI agents and automated workflows at Calab.ai. The APM registry defines reusable packages and primitives — agents, instructions, prompts, skills, and hooks — that can be installed into any consumer repository via gh calab apm.

Onboarding

New to APM? Start with the APM Onboarding hub — it covers the consumer quick start, primitive and package authoring, publishing, install/upgrade flows, and troubleshooting.

PageUse it when…
Onboarding overviewYou want the 5-minute tour and a quick start.
ConceptsYou need the shared vocabulary (primitives, packages, lockfile, provenance).
Authoring primitivesYou are creating an agent, instructions, prompt, skill, hook, or init primitive.
Authoring packagesYou are bundling primitives into a versioned package.
PublishingYou are releasing a primitive or package into calab-ai/apm-registry.
InstallingYou are adding APM dependencies to a consumer repo.
UpgradingYou need to bump versions, resolve drift, or sync a workspace.
TroubleshootingA gh calab command failed and you need the exit-code map.
MarketplaceYou want to browse the live portal or in-handbook snapshot.

Marketplace

The APM Marketplace is the staff-facing portal for all released packages and primitives. It is generated from catalog data published by calab-ai/apm-registry — the handbook is a consumer, not the source of truth.

SectionDescription
All packages & primitivesIndex of everything in the current catalog
calab-workspace-baseBase workspace package for consumer repos
calab-org-agentsOrg-level Copilot agent package

Architecture

The APM architecture is documented in:

Key Decisions

DecisionTopic
Decision 10Rename agent-primitives → apm-registry
Decision 11CLI direction — gh calab owns gh calab apm
Decision 12Manifest and lockfile tag-ref model
Decision 13Handbook as consumer of generated catalog data
Decision 14.github-private as generated distribution
Decision 15Defer separate APM registry service

Current Status

  • Status: Active
  • Owner: [Name/TBD]
  • GitHub Review Team: @calab-ai/guild-delivery
  • Entra Group: sg-guild-delivery

Version: 1.2 Last Updated: 2026-04-27 Maintained By: Delivery Guild

3 items under this folder.