Skip to content

Build with AI.Run with guarantees.

Write typed business logic in Java, Spring Boot, TypeScript, Python, or PHP. Compose model decisions, authorised SaaS capabilities, and long-running work while TPF handles retries, streaming, waits, replay, and recovery.

The Pipeline Framework

Start with your coding agent ​

Install the repository's tpf-authoring Agent Skill so your agent can choose the right TPF primitive, follow the current contracts, and verify generated applications against compiler diagnostics and working examples.

shell
gh skill install The-Pipeline-Framework/pipelineframework tpf-authoring --allow-hidden-dirs

A model answer is not enough

See the execution behind it

TPF records the typed path from accepted input through external observations, effects, waits, retries, and completion. The replay viewer turns an AI-assisted or distributed run into evidence you can inspect rather than a story you have to trust.

Write in Your Language ​

Alongside native Quarkus Java, TPF lets each team author plain typed business logic in the language, idioms, and test runner they already use—even mixing languages in a single pipeline. Non-JVM teams run and crash-test full pipelines locally with the standalone tpf CLI, with no JDK, Maven, or Docker required.

Why TPF Now ​

AI decisions are typed Queries

Ask a model for one schema-checked decision. TPF exposes only the release-pinned capabilities you authorise and validates the result before application code sees it.

Agentic loops follow the business

Compose model decisions with different read, effect, policy, approval, Await, and nested-pipeline paths—or import a proven specialised loop from an Expansion.

MCP catalogues become governed capabilities

Discover broadly, import deliberately, and expose narrowly. Selected MCP tools become pinned Query or Command operations rather than ambient model authority.

GraphQL includes a packaged agent loop

Reuse persisted Query and Mutation Blocks or a complete GraphQL-aware loop while the application retains documents, connections, effects, and policy.

OAuth stays behind the host boundary

Experimental host connections resolve logical references to authenticated Google, Microsoft, LLM, or MCP clients without placing tokens or account selection in business data.

Capabilities travel as Blocks and Expansions

Package reusable typed computation as Blocks, external boundaries as Connectors, and coherent capability sets as Expansions while each application retains binding and effect authority.

Reads, effects, and waits mean different things

Query captures an observation, Command owns a logical effect, and Await suspends for external completion. Retry and replay follow those semantics instead of guessing from HTTP verbs.

Replay, lineage, and model cost are visible

Trace each managed execution, inspect replay data, and export provider-reported LLM token usage without charging a replay as a new model call.

One Model from AI Decision to Business Composition ​

TPF does not bolt an Agent abstraction onto an unrelated workflow engine. It uses the same typed application model from model input to external effect: imported capabilities are pinned at build time, live access is resolved by the host, and the pipeline says where observation, authority, iteration, and completion belong.

The functional core remains ordinary typed application logic. TPF owns the imperative shell around it: catalogue binding, generated adapters, connection resolution, durable effects, waiting, replay, telemetry, retries, and deployment integration.

What TPF Helps You Build Now ​

AI-assisted business decisions

Classify, extract, enrich, or propose a next action through one schema-checked model Query, with trusted context carried outside the model-authored fields.

Business-shaped agentic applications

Combine model decisions with different read, write, policy, approval, wait, delegation, and completion paths. Package a proven loop or compose another shape from the same typed primitives.

Connected business applications

Turn selected MCP tools, GraphQL documents, and OpenAPI operations into typed capabilities for systems such as QuickBooks Online, Google, and Microsoft.

Long-running coordination

Combine Commands with Await for provider callbacks, human clarification, approvals, and other work that cannot finish inside one request.

Reusable internal platforms

Distribute approved flows as Blocks, stable I/O contracts as Connectors, and coherent capability families as Expansions instead of copying service glue between teams.

Applications that can change shape and language

Keep the typed core stable across Quarkus Java, Spring Boot, TypeScript, Python, and PHP—even mixed in one pipeline—while local, REST, gRPC, queue-backed, container, and function shells evolve around it.

Integration Capability Families ​

MCP catalogue import

Discover a server broadly, then pin selected tools as typed Query or Command operations and expose only an application-approved subset to a model.

GraphQL Expansion

Combine Connector contracts, persisted operation Blocks, and a packaged GraphQL-aware agent loop while the application keeps document, connection, and effect authority.

OpenAPI Expansion

Compile selected operations into pinned Query or Command capabilities. Callback-capable Commands use native await: deferred completion. Missing mappings fail the build unless you provide deterministic options, a curated Mapper, or explicitly accept a costly runtime LLM call per item.

OAuth-backed host connections keep account and credential authority outside pipeline values. Their host APIs and lifecycle remain explicitly experimental; that concern is independent of whether an application capability came from MCP, GraphQL, or OpenAPI. See SaaS Integration for the complete model.

The Core Makes the Headline Credible ​

“Build with AI” is the new value proposition. “Run with guarantees” comes from the architecture: explicit business types, a functional core, compiler-owned topology, generated boundaries, semantic Query/Command/Await effects, durable identity, captured observations, and replayable execution.

The Functional Core, Imperative Shell page explains the model. For the skeptical version, take a coffee break with Is Java now part of the architecture contract?, AI and boundary safety, AI and machine-readable contracts, or hiding I/O without hiding reality.

Working Proofs ​

  • Polyglot Cross-Language Proof — byte-identical contracts, exact int64/decimal fidelity, 1:1/1:N/N:1/full-duplex N:N streaming, Tier-2 Connectors with secret isolation, Await, SIGKILL recovery, and DynamoDB equivalence across TypeScript, Python, and PHP 8.2+.
  • Spring Foreign Host Proof — ordinary Spring Boot @Service beans running behind TPF's single execution engine via pipelineframework-spring-host-starter.
  • Callable Loop Proof — a reusable Block owning typed decision, dynamic Query/Command routing, trusted context, reduction, completion, and bounded recursion while the application supplies authority.
  • QuickBooks Collections Briefing — a read-only QuickBooks Online briefing through an imported MCP operation and a host-managed process boundary.
  • GraphQL Block Proof — the production graphql-agent Block running persisted Query → Mutation → typed completion with application-owned documents, connections, and Command authority.
  • CSV Kafka Payments — the broader runtime proof for streaming, rejection, async provider work, lineage, replay, and operational evidence.

Browse the Examples Guide for the complete catalogue and what each example proves.

Choose a Path ​

Diagram