Skip to content

Reusable Capabilities ​

TPF gives each kind of reuse one owner so teams can distribute useful capabilities and proven agentic compositions without creating a generic plugin bucket or a second execution engine.

Choose the Right Unit ​

UnitOwnsDoes not own
ConnectorA typed external observation, effect, or object-I/O boundaryApplication credentials, account selection, or hidden business policy
BlockReusable pipeline definitions imported and linked at compile timeRuntime download, an executor, or the consuming application's Connector bindings
ExpansionA coherent versioned package of Blocks, Connectors, types, examples, operations, and documentationA runtime step kind or transferred application authority
PluginDeclared cross-cutting behaviour such as persistence, cache, telemetry, or loggingTyped external business I/O
OperatorReuse or delegation of a stable compute unit with its own model or boundaryA substitute for every helper method or semantic Query/Command boundary

Why This Matters for AI and SaaS ​

A platform team can package a GraphQL-aware agent loop, its Query and Command Blocks, the Connector contract, canonical types, and operational guidance without shipping credentials or deciding which customer account may be used. An application can import selected MCP operations without exposing a server's whole catalogue to a model. An OpenAPI Expansion can adapt selected external operations without making an API description ambient runtime authority.

The result is reuse with explicit authority:

  1. package authors own stable contracts, reusable topology, and implementation;
  2. application authors choose composition, capability exposure, and effect policy;
  3. deployment hosts own connections, credentials, and client lifecycle;
  4. the compiler links everything into one release contract;
  5. the ordinary runtime executes it—there is no Block registry or Expansion engine.

Concrete Expansion Families ​

The GraphQL Expansion is the first complete proof. It combines GraphQL Connector contracts and a provider, persisted Query and Mutation Blocks, and a production graphql-agent Block that packages operation guidance, model tools, trusted effect identity, routing, reduction, bounded recursion, and typed completion. The consuming application still owns documents, connections, bindings, and Command authority.

The OpenAPI Expansion combines a release-time importer, the generic pinned HTTP Connector, an optional mapping Block, and executable proofs. Selected operations become ordinary Query or Command capabilities; a callback-capable Command carries the native await: modifier so its immediate acknowledgement, durable suspension, authenticated callback, and final projected output remain one typed operation. Schema adaptation is direct, expressed as bounded deterministic options, or implemented by a curated DTO/Mapper. The optional LLM Query proposes reviewable options during authoring and never interprets mappings at runtime. Both Expansion families are composed from ordinary TPF artefacts rather than requiring an Expansion runtime or registry.

“Expansion” remains a versioned distribution boundary, not the ONE_TO_MANY cardinality and not a marketing label for an arbitrary collection of modules.

For practical boundary tests, see Connector, Plugin, or step?, connector governance, and customisation without forking.

Go Deeper ​

Diagram