Summary
Application blocks connect application logic to HTTP, UI, orchestration, agents, and CLI entrypoints. Each area has a dedicated guide page — this page is the index.
Guide pages
| Area | Blocks | Page |
|---|---|---|
| UI | view, page, layout, navigation | UI |
| HTTP | route, middleware | Routes |
| Realtime | stream route, view subscribe to | Realtime |
| Orchestration | workflow, schedule, command | Workflows |
| Agents | pipeline, session, prompt, guard output paths | Agents |
When to use which block
- Pure logic —
record,calculation,rule,label(see Language overview) - Side effects —
action,external,policy(Effects) - HTTP API —
route+ optionalmiddleware(Routes) - React UI —
viewfor fragments,pagefor document shells (UI) - Multi-page app —
layout,navigation, multiplepageblocks (UI) - Background work —
workflowfor async steps,schedulefor intervals (Workflows) - CLI / scripts —
command(Workflows) - LLM flows —
pipeline,session,prompt,guard(Agents)
Compiler note
Application blocks share the same check and ref model as logic blocks. Views, routes, pipelines, and commands appear in point index with distinct semantic kinds for agent navigation.
Demo apps
examples/app/dashboard/— layout, navigation, data loading, listsexamples/app/notes/— database actions in viewsexamples/app/log-viewer/— stream route + subprocessexamples/app/job-queue/— SQL-backed jobs queue, routes + workflow runnerexamples/full-stack-template/— SaaS admin shellexamples/adopters/hatchingpoint/— dogfood readiness demo (not the default teaching path)
