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

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
Project an operation to HTTP or streamingProject communication boundaries
Export and consume Rust or TypeScript clientsGenerate and use an SDK
Coordinate retries, timers, and human approvalBuild a durable workflow
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
Build a mobile, desktop, terminal, or device clientBuild other application targets
Give an agent bounded typed toolsBuild an agent
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
Project commands and events to a brokerUse messaging
Derive analytical, search, and vector viewsBuild data projections
Release a bounded customer control planeBuild a multi-tenant platform
Create organization-owned meaningDefine a semantic domain
Change a contract and its stored dataEvolve and migrate
Restore, fail over, or roll backRecover a release
Connect live signals to causal factsObserve and trace history
Sign, admit, publish, and revokeGovern the supply chain
Manage workspace and package source changesUse source transactions
Authenticate CI without a stored production secretUse workload identity
Bind accessibility, performance, and CI to a releaseQualify a release
Keep negative outcomes distinctHandle failures
Produce and inspect a governed releaseShip and inspect a release

Read examples as one lifecycle

Every recipe uses the same boundaries:

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.