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.
python-core - Skill - OpenSmartRoute
Skillv1.0.0
python-core
Core environment management, versioning, and foundational syntax for modern Python development.
Instruction file imported from neuraaak/ezqt-widgets (.github/instructions/languages/python/python-core.instructions.md). Copyright stays with the author.
Python Core Standards (UIA)
Core environment management, versioning, and foundational syntax for modern Python development.
Environment Management
ACTIVATE.venv\Scripts\activate (Windows) or source .venv/bin/activate (Unix).
USEuv run to execute tools and scripts inside the managed venv.
TEST compatibility against multiple versions in CI/CD.
Foundational Syntax (3.11+)
Union Types: Use int | str instead of Union[int, str].
Pathlib: Use pathlib.Path exclusively for all filesystem operations.
Deferred Annotations: Always use from __future__ import annotations.
<success_criteria>
Virtual environment is active.
Minimum Python 3.11 targeted.
Resource management uses context managers.
</success_criteria>
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.