-
Notifications
You must be signed in to change notification settings - Fork 437
feat: add Atlas Cloud provider #3962
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| --- | ||
| title: "Atlas Cloud" | ||
| description: "Use Atlas Cloud models with Docker Agent." | ||
| keywords: docker agent, ai agents, model providers, llm, atlas cloud | ||
| weight: 235 | ||
| canonical: https://docs.docker.com/ai/docker-agent/providers/atlascloud/ | ||
| --- | ||
|
|
||
| _Use Atlas Cloud models with Docker Agent._ | ||
|
|
||
| ## Overview | ||
|
|
||
| Atlas Cloud provides access to multiple model families through an OpenAI-compatible API. Docker Agent includes built-in support for Atlas Cloud as an alias provider. | ||
|
|
||
| ## Setup | ||
|
|
||
| 1. [Create an Atlas Cloud API key](https://www.atlascloud.ai/docs/api-keys) | ||
| 2. Set the environment variable: | ||
|
|
||
| ```bash | ||
| export ATLASCLOUD_API_KEY=your-api-key | ||
| ``` | ||
|
|
||
| ## Usage | ||
|
|
||
| ### Inline Syntax | ||
|
|
||
| Use an Atlas Cloud model by prefixing its model ID with `atlascloud/`: | ||
|
|
||
| ```yaml | ||
| agents: | ||
| root: | ||
| model: atlascloud/qwen/qwen3.8-max | ||
| description: Assistant using Atlas Cloud | ||
| instruction: You are a helpful assistant. | ||
| ``` | ||
|
|
||
| Docker Agent splits only the first slash, so model IDs that include a model family prefix are preserved. | ||
|
|
||
| ### Named Model | ||
|
|
||
| For more control over parameters: | ||
|
|
||
| ```yaml | ||
| models: | ||
| atlas_qwen: | ||
| provider: atlascloud | ||
| model: qwen/qwen3.8-max | ||
| temperature: 0.7 | ||
| max_tokens: 8192 | ||
|
|
||
| agents: | ||
| root: | ||
| model: atlas_qwen | ||
| description: Assistant using Atlas Cloud | ||
| instruction: You are a helpful assistant. | ||
| ``` | ||
|
|
||
| ## How It Works | ||
|
|
||
| Atlas Cloud is implemented as a built-in alias in Docker Agent: | ||
|
|
||
| - **API Type:** OpenAI-compatible (`openai`) | ||
| - **Base URL:** `https://api.atlascloud.ai/v1` | ||
| - **Token Variable:** `ATLASCLOUD_API_KEY` | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -61,6 +61,7 @@ var cloudProviders = []providerConfig{ | |
| }, "GOOGLE_API_KEY (or GEMINI_API_KEY, GOOGLE_GENAI_USE_VERTEXAI)", "GOOGLE_API_KEY"}, | ||
| {"mistral", []string{"MISTRAL_API_KEY"}, "MISTRAL_API_KEY", "MISTRAL_API_KEY"}, | ||
| {"openrouter", []string{"OPENROUTER_API_KEY"}, "OPENROUTER_API_KEY", "OPENROUTER_API_KEY"}, | ||
| {"atlascloud", []string{"ATLASCLOUD_API_KEY"}, "ATLASCLOUD_API_KEY", "ATLASCLOUD_API_KEY"}, | ||
| {"baseten", []string{"BASETEN_API_KEY"}, "BASETEN_API_KEY", "BASETEN_API_KEY"}, | ||
| {"ovhcloud", []string{"OVH_AI_ENDPOINTS_ACCESS_TOKEN"}, "OVH_AI_ENDPOINTS_ACCESS_TOKEN", "OVH_AI_ENDPOINTS_ACCESS_TOKEN"}, | ||
| {"groq", []string{"GROQ_API_KEY"}, "GROQ_API_KEY", "GROQ_API_KEY"}, | ||
|
|
@@ -157,6 +158,7 @@ var DefaultModels = map[string]string{ | |
| "dmr": "ai/qwen3:latest", | ||
| "mistral": "mistral-small-latest", | ||
| "openrouter": "meta-llama/llama-3.3-70b-instruct", | ||
| "atlascloud": "qwen/qwen3.8-max", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can the existence of
If the ID changes, the two examples in |
||
| "baseten": "deepseek-ai/DeepSeek-V3.1", | ||
| "ovhcloud": "Qwen3.5-397B-A17B", | ||
| "groq": "llama-3.3-70b-versatile", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Provider pages use alphabetical-by-title weights in increments of 10 (Anthropic 20, AWS Bedrock 30, Baseten 40, ...). "Atlas Cloud" sorts between Anthropic and AWS Bedrock, so 235 places the page between OpenRouter and OVHcloud in weight-ordered listings.