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.
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.
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.
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.
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.
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.
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.
“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.
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.