Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,38 @@ Add OpenAI-compatible providers like llama.cpp, Ollama, or LM Studio:
}
```

```json
"custom_llm_providers": [
{
"name": "ollama",
"type": "openai_compatible",
"api_base_url": "http://localhost:11434/v1",
"api_key": "ollama", # any string for placeholder
"default_model_id": "llama3.2:latest",
"available_models": [
{
"id": "llama3.2:latest",
"name": "Ollama llama3.2:latest",
"provider": "ollama",
"capabilities": ["tool_use", "stream"],
"default": true,
"description": "Local Ollama model",
"input_token_price_1m": 0.0,
"output_token_price_1m": 0.0,
"cached_token_price_1m": 0.0,
"default_reasoning": null,
"max_context_token": 72000,
"service_name": null,
"force_sample_params": null
}
],
"is_stream": false,
"extra_headers": {}
}
]
}
```

**Fields:**

- `name` - Unique identifier for the provider
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,13 @@ Or store keys in `~/.AgentCrew/config.json`:
}
```

Custom providers:

Custom providers such as Ollama, llama.cpp, and LM Studio are configured in
the same `~/.AgentCrew/config.json` file.
See [Custom LLM Providers](CONFIGURATION.md#custom-llm-providers) for the full
schema, llama.cpp configuration, model capabilities, and sampling options.

**All supported providers:**

| Provider | Cost profile | Best for |
Expand Down