docs: properly add the tetrate agent router service documentation (#7624)

* updating tetrate agent router service provider information

Signed-off-by: Erica Hughberg <erica.sundberg.90@gmail.com>

* updating tetrate agent router service provider information

Signed-off-by: Erica Hughberg <erica.sundberg.90@gmail.com>

* updating tetrate agent router service provider information

Signed-off-by: Erica Hughberg <erica.sundberg.90@gmail.com>

* Update tetrate_agent_router_service.mdx

Co-authored-by: Brian Douglas <bdougie@users.noreply.github.com>

---------

Signed-off-by: Erica Hughberg <erica.sundberg.90@gmail.com>
Co-authored-by: Brian Douglas <bdougie@users.noreply.github.com>
This commit is contained in:
Erica Hughberg 2025-09-09 12:05:09 -04:00 • committed by GitHub
parent b3f4b82600
commit 163174cc65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 89 additions and 47 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

View file

@ -1,44 +0,0 @@
---
title: "Tetrate Agent Router Service"
---
The Tetrate Agent Router Service (TARS) provides a unified API gateway for accessing various AI models with fast inference capabilities. TARS acts as an intelligent router that can distribute requests across multiple model providers, offering enterprise-grade reliability and performance optimization.
## Getting Started
1. Obtain an API key from the [Tetrate Agent Router Service portal](https://api.router.tetrate.ai/)
2. Configure Continue to use TARS as your model provider
## Configuration
Update your Continue configuration file (`~/.continue/config.json` or `~/.continue/config.yaml`) with your TARS API key:
<Tabs>
<Tab title="YAML">
```yaml title="config.yaml"
models:
- name: TARS GPT-5 Mini
provider: tars
model: gpt-5-mini
apiKey: <YOUR_TARS_API_KEY>
```
</Tab>
<Tab title="JSON">
```json title="config.json"
{
"models": [
{
"title": "TARS GPT-5 Mini",
"provider": "tars",
"model": "gpt-5-mini",
"apiKey": "<YOUR_TARS_API_KEY>"
}
]
}
```
</Tab>
</Tabs>
## Available Models
TARS supports routing to various models. Go to the [Tetrate Agent Router Service model catalog](https://router.tetrate.ai/models) for a full list of supported models.

View file

@ -33,6 +33,7 @@ Beyond the top-level providers, Continue supports many other options:
| [Together AI](/customize/model-providers/more/together) | Platform for running a variety of open models |
| [DeepInfra](/customize/model-providers/more/deepinfra) | Hosting for various open source models |
| [OpenRouter](/customize/model-providers/top-level/openrouter) | Gateway to multiple model providers |
| [Tetrate Agent Router Service](/customize/model-providers/top-level/tetrate_agent_router_service) | Gateway with intelligent routing across multiple model providers |
| [Cohere](/customize/model-providers/more/cohere) | Models specialized for semantic search and text generation |
| [NVIDIA](/customize/model-providers/more/nvidia) | GPU-accelerated model hosting |
| [Cloudflare](/customize/model-providers/more/cloudflare) | Edge-based AI inference services |

View file

@ -30,7 +30,7 @@ sidebarTitle: "OpenAI"
"models": [
{
"title": "<MODEL_NAME>",
"provider": "openai",
"provider": "openai",
"model": "<MODEL_ID>",
"apiKey": "<YOUR_OPENAI_API_KEY>"
}
@ -56,6 +56,7 @@ OpenAI API compatible providers include
- [TensorRT-LLM](https://github.com/NVIDIA/trt-llm-as-openai-windows?tab=readme-ov-file#examples)
- [vLLM](https://docs.vllm.ai/en/latest/serving/openai_compatible_server.html)
- [BerriAI/litellm](https://github.com/BerriAI/litellm)
- [Tetrate Agent Router Service](https://router.tetrate.ai)
If you are using an OpenAI API compatible providers, you can change the `apiBase` like this:
@ -75,7 +76,7 @@ If you are using an OpenAI API compatible providers, you can change the `apiBase
{
"models": [
{
"title": "<OPENAI_API_COMPATIBLE_PROVIDER_MODEL>",
"title": "<OPENAI_API_COMPATIBLE_PROVIDER_MODEL>",
"provider": "openai",
"model": "<MODEL_NAME>",
"apiKey": "<YOUR_CUSTOM_API_KEY>",
@ -110,7 +111,7 @@ To force usage of `chat/completions` instead of `completions` endpoint you can s
"title": "<OPENAI_API_COMPATIBLE_PROVIDER_MODEL>",
"provider": "openai",
"model": "<MODEL_NAME>",
"apiBase": "http://localhost:8000/v1",
"apiBase": "http://localhost:8000/v1",
"useLegacyCompletionsEndpoint": true
}
]

View file

@ -0,0 +1,83 @@
---
title: "Tetrate Agent Router Service"
sidebarTitle: "Tetrate Agent Router Service"
slug: ../tetrate-agent-router-service
---
The **Tetrate Agent Router Service** provides a unified Gateway for accessing various AI models with fast inference capabilities as well as embedding services.
This gateway acts as an intelligent router that can distribute requests across multiple model providers, offering enterprise-grade reliability and performance optimization.
## Getting Started
1. Obtain an API key from the [Agent Router Service portal](https://api.router.tetrate.ai/)
2. Configure Continue to use Agent Router Service as your model provider
## Configuring Models
You can also quickly use models from Tetrate on the Cotninue Hub by visiting Tetrate on the Continue Hub [here](https://hub.continue.dev/tetrate). The easiest way if you don't see the model you want to use is to remix one of the models on the Tetrate page and change the model to the one you want to use.
![Remix a model from Tetrate on Continue Hub](../assets/tetrate-remix.png)
### Available Models
Agent Router Service supports routing to various models.
Go to the [Agent Router Service model catalog](https://router.tetrate.ai/models) for a full list of supported models.
## Configuration Options
As Agent Router Service is an OpenAI API compatible provider, you can configure it like any other OpenAI API compatible provider. Therefore you will be setting `provider: openai` and `apiBase: https://api.router.tetrate.ai/v1`.
Update your Continue configuration file (`~/.continue/config.yaml`) with your Agent Router Service API key:
### On your local machine
#### In your config.yaml
```yaml title="config.yaml"
models:
- name: <MODEL_NAME>
provider: openai
model: <MODEL_ID>
apiKey: <TETRATE_API_KEY>
apiBase: https://api.router.tetrate.ai/v1
```
#### As a local model block
Review the configuration reference for [model blocks](/reference#models) and using [local blocks](/reference#local-blocks). Ensure you look at the roles and capabilities section and review the [model capabilities guide](/customize/deep-dives/model-capabilities).
```yaml title="model_name.yaml"
name: <MODEL_NAME>
models:
- name: <MODEL_NAME>
provider: openai
model: <MODEL_ID>
apiKey: ${{ inputs.TETRATE_API_KEY }}
apiBase: https://api.router.tetrate.ai/v1
roles:
- chat
- edit
- apply
capabilities:
- tool_use
```
### On Model Block on Continue Hub
Learn how to use model blocks on Continue Hub [here](/hub/blocks/create-a-block).
```yaml title="model_name.yaml"
name: <MODEL_NAME>
models:
- name: <MODEL_NAME>
provider: openai
model: <MODEL_ID>
apiKey: ${{ inputs.TETRATE_API_KEY }}
apiBase: https://api.router.tetrate.ai/v1
roles:
- chat
- edit
- apply
capabilities:
- tool_use
```

View file

@ -117,6 +117,7 @@
"customize/model-providers/top-level/ollama",
"customize/model-providers/top-level/openrouter",
"customize/model-providers/top-level/openai",
"customize/model-providers/top-level/tetrate_agent_router_service",
"customize/model-providers/top-level/vertexai"
]
},