---
title: "Ollama"
description: "Ollama as a MainSDK driver for ai. Pick it in main.yaml; your calls stay the same."
section: "integrations"
canonical: "https://mainsdk.dev/docs/integrations/ollama"
updated: "2026-10-28"
---

# Ollama

> Ollama as a MainSDK driver for ai. Pick it in main.yaml; your calls stay the same.

Canonical: https://mainsdk.dev/docs/integrations/ollama · Updated: 2026-10-28

Ollama as a MainSDK driver for ai. Pick it in main.yaml; your calls stay the same.

## Interfaces it serves

### AI calls (`ai`)

- Status: Building for 0.3 · ships as a beta API
- Driver: `ollama` (Ollama). not built yet
- Docs: https://mainsdk.dev/docs/interfaces/ai.md

```yaml
ai:
  driver: ollama
```

Swap to another provider: `local`, `anthropic`, `openai`, `gateway`, `bedrock`, `llama-cpp`, `openai-compatible`.
