Tutorial

Examples

Working Point examples by language area.

Summary

Examples in the Point repo are working fixtures used by checks and tests. They are the best source for small, runnable patterns across domains.

Start here: Point in 60 secondsGolden app demo.

Golden path (evaluators)

StepCommand / doc
1Golden app demopoint create, point dev, point launch
2point box src/app.point — discover capabilities + commands
3point check-json src/app.point — agent repair loop

By domain

DomainExampleLaunch
CLIexamples/command.pointpoint launch examples/command.point hello cli
Pure logicexamples/cart-total.pointpoint check (no command)
Capabilitiesexamples/capabilities-demo.pointpoint check
HTTPexamples/route.pointpoint check
UIexamples/view.pointpoint check
Orchestrationexamples/workflow.pointpoint check
Agentsexamples/agents/support-chat.pointpoint check
Full appexamples/app/dashboard/dashboard.pointpoint commands then launch
Stdlibexamples/std-usage.pointpoint check
Testsexamples/point-tests.pointpoint test examples/point-tests.point

Also useful: examples/math.point (mixed logic + labels), examples/variants/order-status.point (tagged unions).

Adopters (dogfood demos)

Real product shapes under examples/adopters/ — optional, not the default learning path:

  • examples/adopters/starter-labs/subscription-tier.point — pricing tiers and labels
  • examples/adopters/hatchingpoint/readiness-widget.point — interactive checklist (live demo)

Application platform

AreaExample
Multi-page appexamples/app/dashboard/dashboard.point
Notes + databaseexamples/app/notes/notes.point
WebSocket + subprocess streamexamples/app/log-viewer/log-viewer.point
Full-stack templateexamples/full-stack-template/
Variant typesexamples/variants/order-status.point
Middleware + typed routesexamples/api/middleware-demo.point
Workflow retry/timeoutexamples/workflow-retry.point
Pipeline + guardexamples/pipelines/guarded-output.point
Session + AIexamples/agents/support-chat.point
Prompt libraryexamples/prompts/support-greeting.point
Integration testsexamples/api/middleware-integration.point

Scaffold a new app:

point create my-app

Live demo

The public docs site embeds HTML generated by the owned Point runtime at build time — not a hand-written React widget or Vite app:

Open live demo →

Surfaces shown:

  • Home-base deployment readiness (experiments/point-only/src/app.point) — checkboxes scored through runtime rules
  • Runtime-native SaaS UI (runtime-saas-app) — login form + SQLite-backed members datagrid

Run the same apps locally with point dev after point create --template runtime-saas-app or from the home-base experiment tree. See Runtime deploy.

Agent workflow

point check your-file.point
point check-json your-file.point
point repair-plan your-file.point

See also

Live demo

This demo renders HTML from the owned Point runtime at build time — home-base readiness checkboxes and runtime-native SaaS datagrid/forms from experiments/point-only and runtime-saas-app. No Vite host or React emit in the author path. See Runtime deploy to run the same surfaces with point dev.

Owned runtime SSR

Rendered by packages/point/runtime

HTML below is generated from .point source at build time — no Vite app, no React emit, no hand-written widget logic.

Score

0

not ready

Source: experiments/point-only/src/app.point

Deployment readiness

Readiness summary

not ready

Scoring runs through the Point runtime export — same rules as the home-base app.