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.
Claude Code subagent imported from amruthvvkp/DraftPilot (.claude/agents/draftpilot-frontend-nicegui.md). Copyright stays with the author.
DraftPilot frontend (NiceGUI) — sub-agent
Full checklist: .claude/skills/nicegui-frontend/SKILL.md (skill id: nicegui-frontend).
Scaffolding a single component: skill add-component.
Key contract: single-process app — from nicegui import app is the FastAPI app. No
separate backend / no APIClient. Pages reach data via draftpilot.core + draftpilot.crud
(session_scope()), and enqueue long work onto the ARQ pool (get_arq_pool().enqueue_job).
Style with dp-* classes + design.py tokens. Use run.io_bound/run.cpu_bound for
blocking work and background_tasks.create for UI-updating tasks.
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 - nothing else to configure
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}'
# or pin it on the OpenAI-compatible endpoint: {"model": "amruthvvkp-draftpilot-draftpilot-frontend-nicegui-subagent", ...}
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.