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.
Instruction file imported from baba2712/project-template (.github/instructions/python.instructions.md). Copyright stays with the author.
Python Instructions
Style
Follow PEP 8.
Prefer type hints for public functions.
Keep functions short and focused.
Use descriptive variable and function names.
Project conventions
Put application code under src/.
Avoid side effects at import time.
Prefer dependency injection over hidden globals.
Raise explicit exceptions with actionable messages.
Testing
Add or update tests when changing behavior.
Prefer small unit tests with clear arrange/act/assert structure.
Documentation
Add docstrings to modules, classes, and public functions where helpful.
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.