Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
component-registry - Skill - OpenSmartRoute
Skillv1.0.0
component-registry
Controlled UI registry — no arbitrary generated UI
Instruction file imported from coolpinkzz/travelAgent (.cursor/rules/component-registry.mdc). Copyright stays with the author.
Component registry
Add a new agent-facing UI capability in this order:
Add a props type and component name in src/agent/types.ts
Build a presentational component in src/components/travel
Register it in src/agent/registry.ts
Emit a ui event from the demo script, tool mapper, or the Zod-validated emit_ui tool
// ❌ BAD — model returns markup{ type: 'html', content: '<div>Flights</div>' }// ✅ GOOD — model selects a capability{ type: 'ui', component: 'transport', props: { options } }
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slot
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.