Applet examples for local-first automation
Explore focused patterns for turning scripts, GUI components, calculators, and verification pipelines into repeatable YAAA.app workflows that remain inspectable on the user's machine.
Calculator applet
Beam Calculator
A production-style applet pattern: clear inputs, visible assumptions, result validation, exportable notes, and a reminder that engineering outputs require qualified review.
Open the Beam Calculator example page →
inputs:
span_m: 4.2
load_kn_m: 8.5
checks:
- formula visible
- units explicit
- reviewer required
Automation script
Release Readiness Sweep
Run a deterministic checklist before shipping a build: collect project metadata, validate required assets, and stop on the first failing gate.
yaaa run release_sweep.py \
--project ./workspace \
--require-tests \
--emit report.json
GUI widget
Agent Control Panel
Compose desktop widgets for queue status, log streaming, and one-click reruns so operators can monitor long-running agent tasks without leaving the app.
Panel()
.add(StatusBadge("build"))
.add(LogTail("agent.log"))
.add(Button("Rerun failed gate"))
Runtime workflow
Verified Multi-step Pipeline
Chain discovery, implementation, and test stages with explicit acceptance criteria so each agent handoff has evidence before the next stage starts.
workflow:
- discover: map target files
- implement: apply one safe patch
- verify: run focused tests
What makes an applet production-ready?
- Local data boundary: identify which folders, files, and optional network services the applet can touch.
- Human review: show assumptions, generated code, and outputs before high-impact actions run.
- Traceability: keep logs, versions, and validation evidence so users can audit what happened later.
- Safe failure states: stop on missing inputs, ambiguous units, expired licenses, or failed checks instead of guessing.
Build from a known pattern
Start with the quickstart, choose the example closest to your workflow, then adapt it with YAAA.app's scripting, GUI, and verification layers.
Open the getting started guide →