Tag-first runtime
Describe routes, contexts, actions, fields, filters, outputs, and data with semantic tags instead of wiring every command by hand.
Cinder turns tagged application structure into a graph-aware runtime. It resolves many commands locally, dispatches real DOM behavior, and falls back only when local understanding is insufficient.
Using a coding agent?
Paste this to your agent - it installs, tags, and configures Cinder on its own:
Install usecinder in this project (npm install usecinder), then fetch https://usecinder.dev/get-started/prompt.md and follow it completely.
Best fit
Tagged dashboards, forms, internal tools, admin apps, and other structured websites you control.
Primary path
Semantic scan → graph → local resolution → DOM dispatch → reflex feedback.
Fallback policy
Optional, timeout-bounded, scope-aware, and observable through structured fallback telemetry.
import { Cinder } from 'usecinder';
await Cinder.init({
semantic: { scanOnInit: false, observeMutations: true },
ai: { enabled: false, mode: 'local', endpoint: '', apiKey: '' },
});
await Cinder.scan(document);
console.log(Cinder.graph());
const result = await Cinder.run('open reports', document);
console.log(result.intent, result.dispatch, result.reflex);Install the browser SDK and initialize it in local mode.
Tag one real route, one context, and one action, field, or output.
Run scan, inspect graph state, and execute a first command through Cinder.run().
See it on a real site
This homepage is not just describing the SDK. The docs site is tagged, bootstrapped with the public browser API, and ready for text or voice commands right here.
Try saying or typing:
Voice only asks for microphone permission after you click Start voice demo.
Live demo
Use one example command, type your own, or start voice input. The site should navigate the same way a real Cinder-enabled website would.
Transcript
No voice transcript yet.
Last result
Run a command to see the resolved intent and dispatch outcome.
This page could not find SpeechRecognition or webkitSpeechRecognition on the browser window, so the voice demo is disabled here. Text commands still work normally.
Checked: window.SpeechRecognition, window.webkitSpeechRecognition
Try the docs site in a current Chromium-based browser like Chrome or Edge. Browser speech support can also depend on OS build, browser flags, and secure-context policy.
What works today
The current SDK already supports semantic scan, scoped graph construction, route/context-aware local resolution, DOM-native execution, browser speech hooks, optional fallback, and hardened failure handling.
Describe routes, contexts, actions, fields, filters, outputs, and data with semantic tags instead of wiring every command by hand.
Build a scoped application graph and resolve many commands locally with route/context awareness before fallback is considered.
A free, client-side model (@usecinder/embeddings) recovers typos and paraphrases of a page’s own routes/outputs/actions - still before any network call.
Dispatch into standard browser behavior for navigation, form input, submit flows, search actions, and output reveal paths.
Add routes, DOM adapters, custom intents, context providers, and runtime events without hiding domain logic inside the SDK core.
Use fallback only when local resolution is unknown or weak, with timeout, classification, normalization, and telemetry built in.
Reject ambiguous duplicates, preserve scope, isolate callback failures, and expose debug-friendly state instead of silently picking wrong targets.
How the runtime works
Cinder is strongest when the application exposes meaning directly. Tags become semantic scan records, scan records become graph nodes, and the graph drives planners, dispatch, and optional fallback.
Capture semantic entries, metadata hints, warnings, and active route/context signals from the browser surface.
Create scoped node identity, route/context relationships, indexes, and runtime state used by local reasoning.
Use planners, graph queries, active route/context, and optional runtime context before cloud fallback is considered.
Trigger route navigation, form updates, submit flows, action clicks, output reveal, adapters, or bindings.
Use the server path only for unknown or weak local understanding, then normalize the response back into the same dispatch pipeline.
Extension points
The SDK now has real extension points for route activation, custom controls, custom intent matchers, runtime context injection, speech handlers, and runtime event observation. Domain-specific behavior no longer has to hide inside the core runtime.
Register route activators and active-state logic when plain anchors and path metadata are not enough.
Handle custom controls and framework widgets only when standard DOM execution is insufficient.
Extend local resolution with explicit matchers and domain presets instead of burying domain behavior inside the core runtime.
Inject app state and observe scan, resolve, dispatch, fallback, and speech events without breaking the core execution pipeline.
Tier 3, hosted
Tier 1 and tier 2 stay free - they run entirely in the browser. @cinder/relay is a hosted, metered proxy for tier 3: top up a wallet, and every real fallback call deducts exactly what it cost. Bring your own AI provider key, or let your app’s own users bring theirs.
Priced from the provider’s real token usage, not a flat fee or a character-count guess.
The balance is only debited after a real, successful response comes back.
Real accounts, real metering, and real billing, already wired up - point your app at it and go.
Best next docs
The docs should move you from install to a real command path quickly: tag the UI, scan it, inspect the graph, run a command, then debug or extend the runtime only where necessary.
Set up the browser SDK first, then add the server package only if you want bounded fallback inference.
Go from install to first tag-only command flow with the shortest useful integration path.
Learn the V1 semantic model that turns DOM structure into graph-aware application meaning.
See the full runtime surface for scan, graph, dispatch, speech, extension points, and lifecycle control.
Understand the full path from semantic tags to graph, planners, dispatch, and optional fallback.
Inspect scan results, graph state, active route/context, dispatch output, and fallback metadata when something is off.
Crawl a real running app and audit every page for tagging gaps, then teach your coding agent to keep up automatically.
Current boundary
Cinder is now a real SDK for websites you control, but it should still be positioned honestly. It is not trying to be a universal web agent, and that focus is one of its strengths.
Cinder is strongest on websites you control, not arbitrary untagged pages.
Local resolution is practical and deterministic, but it is not a broad natural-language agent.
Fallback exists as a bounded secondary path, not the product core.
Custom widgets may still need DOM adapters when standard browser behaviors do not apply cleanly.
Start with the smallest useful proof
That is the right first milestone. Once the local-first path works on a real page, you can add bindings, route registry hooks, DOM adapters, custom intents, or fallback only where the app actually needs them.