Skip to main content

Overview

Trusted packages can publish zero-argument agent capabilities in Composer’s extra.cognesy-agents.capabilities map. CapabilityDiscovery reads those manifests and registers lazy factories that definitions can reference by name. Discovery is explicit because resolving a contributed entry instantiates code from that package. The fixture used by this credential-free example declares one root-package capability:

Example