Skip to content

Examples and recipes index ​

Examples show complete applications; task recipes address reusable interface boundaries. Both are now grounded in runnable pages: every recipe has its own page, source, start path, and verification steps instead of sending several problems to one shared demo.

Five classic examples ​

Every example page includes an operable preview, marked source, and integration notes. Model requests go through a server-side gateway; the browser does not hold a provider key.

Run a recipe ​

From the repository root:

bash
pnpm dev:examples

The command starts the example pages, model gateway, and local access service. A page is served at http://localhost:5191/demos/<recipe>/. Each recipe also embeds its current page near the top, with tabs for the preview, source, and integration notes. Recipes involving upload, sign-in, delegation, or approval use examples/recipe-backends/access-service/; its routes, demo account, and limits are documented in the directory README. The MCP recipe documents a separate stdio server command; it is not started by the shared command.

Identity and protected data ​

Forms and consequential actions ​

Tables, search, and asynchronous work ​

External agents and operations ​

Model access ​

Follow a framework path ​

To modify your own application, continue with the tutorial for its framework:

Source layout ​

Recipe pages live in examples/demos/; the shared shell and local API client live in examples/recipe-shared/; recipes that need a server share examples/recipe-backends/access-service/. Framework code remains in packages/, and examples do not copy execution logic.

If a recipe depends on a capability that your application does not have, adapt the business handler rather than adding a generic DOM escape hatch. Pling exposes operations the page already authorizes; it does not create a second automation channel around the page.