Skip to content
DocumentationExamples & recipes
On this page

Page resources

Open Markdownllms.txtView source

Last updated

These recipes show the finished One product through complete, task-oriented slices. Start with a goal, follow its authored meaning into implementation and operation, and keep every physical choice behind its owning contract.

All .one and language API snippets in this section are illustrative end-product syntax. They demonstrate the product contract and intended ergonomics; the owning language packages and executable examples remain the source of exact implementation evidence.

Commands under an Executable evidence heading are current, copyable owning checks. Other command snippets describe the finished product interface and do not claim that a current package implements that capability. This distinction keeps the end-product documentation useful without turning an illustrative coordinate, option, or output into false repository evidence.

Choose a recipe

Foundations

If you want to…Follow
See how every file and root fits togetherAssemble a complete project
Define and invoke a typed operationBuild a service
Add governed persistent stateBuild a data-backed service
Create organization-owned meaningDefine a semantic domain
Manage workspace and package source changesUse source transactions

Services and data

If you want to…Follow
Project an operation to HTTP, streaming, or messagingProject communication boundaries
Export and consume Rust or TypeScript clientsGenerate and use an SDK

Applications and experience

If you want to…Follow
Present typed places and intents in a browserBuild a One Web application
Use One from Next.js without pretending it is One WebUse a framework-native application

Workflows and agents

If you want to…Follow
Coordinate retries, timers, and human approvalBuild a durable workflow
Give an agent bounded typed toolsBuild an agent

Platform and extension

If you want to…Follow
Bound concurrent work and resource lifetimesManage resources and execution
Grant one effect and deliver a protected secretGrant authority and deliver secrets
Connect an external system without surrendering ownershipBuild a provider adapter
Release a bounded customer control planeBuild a multi-tenant platform

Operations

If you want to…Follow
Produce and inspect a governed releaseShip and inspect a release
Change a contract and its stored dataEvolve and migrate
Restore, fail over, or roll backRecover a release
Keep negative outcomes distinctHandle failures
Connect live signals to causal factsObserve and trace history
Sign, admit, publish, and revokeGovern the supply chain
Bind accessibility, performance, and CI to a releaseQualify a release

Read examples as one lifecycle

Every recipe uses the same boundaries:

Plain text
authored declaration
  -> checked owner value
  -> selected implementation and providers
  -> exact Build artifacts
  -> authorized placement and effects
  -> observations, receipts, and causal history

A declaration is never executable authority. A code body is never selected merely because it exists. A provider package is inert until one root selects it. A successful command output is not deployment evidence unless its owner record and receipts remain resolvable.

Use Build your first system for the shortest guided introduction, then return here for the capability you need.