Skip to content

Reusable Capability Blocks & the Catalog

How code becomes a reusable capability block, how the block is sealed into an immutable artifact, and how it is published to the catalog that every workflow and agent in the organization imports from.

You write a block as ordinary Python and declare what it needs. Generation reads the block and writes its interface and manifests. Bake seals the block into an Xratu package that carries its execution capsule. Publish records the release in the catalog, and projects import it by version.

flowchart TB
  S["Block source<br/>Python, @xratu, @xratu_auth"]
  S -->|"xratu capability generate"| G["Interface and manifests"]
  G -->|"xratu bake"| P["Xratu package<br/>with the block's capsule"]
  P -->|"xratu publish"| R["Release in the catalog"]
  R -->|"imported by version"| W["Workflows and agents"]

In this section

The reusable capability block

The interface, XCI

What bake produces

Library and framework neutrality

Publication and the catalog

Vocabulary that must stay distinct