Ollama (Local Models)
Use Ollama to run open-source models locally with Agentium. No API key required—ideal for development, privacy-sensitive workloads, and cost-free experimentation.Setup
1
Install Ollama
Download and install Ollama from ollama.ai. Start the Ollama service (it runs on
http://localhost:11434 by default).2
Pull a model
Pull the model you want to use:
3
Use in Agentium
Use the
ollama factory with the model name:Factory
string
required
The Ollama model name (e.g.,
llama3.1, codellama, mistral).object
Optional configuration. See Config below.
Config
string
default:"http://localhost:11434"
Ollama server URL. Defaults to
http://localhost:11434. Use this for remote Ollama instances or custom ports.No API key needed
No API key needed
Ollama runs locally and does not require an API key. Just ensure the Ollama service is running.
Example
Popular Models
Discover more models
Discover more models
Run
ollama list to see installed models. Browse ollama.com/library for the full catalog.Multi-Modal Support
Ollama supports image input for vision-capable models likellava, bakllava, and llama3.2-vision.
Images
Pass images as base64 data inContentPart[]: