Repository navigation
v0.2.1 Declarative Providers
Add model backends without writing code.
Features
- Declarative providers (#49):
~/.tether/providers.yaml(override withTETHER_PROVIDERS, never read from the workspace) maps a model-id prefix to a provider. Kinds:openai(OpenRouter, vLLM, Groq, LM Studio...),ollama,anthropicandcommand, which wraps any CLI that prints JSON (for exampleclaude -p --tools "") with{model},{system}and{conversation}placeholders, JSON-path reply and token usage, and a timeout.argvis executed directly, never through a shell. Works intether run,tether pipeline, the SDK andtether mcp. - Built-in prefixes (
ollama,openai,anthropic,claude) cannot be shadowed.
Docs: https://igormcsouza.github.io/tether/reference/providers/#declarative-providers