Skip to main content

Environment Variables

Setting MODEL_NAME=ollama/llama3.2 is enough — the default base URL http://localhost:11434/v1 is used automatically. The OLLAMA_API_KEY environment variable is consulted; OPENAI_API_KEY is not used as a fallback (though most local Ollama setups don’t need an API key).

Models

Run models locally with Ollama. Popular options:
  • Recommended: ollama/llama3.2 (latest Llama)
  • Reasoning: ollama/deepseek-r1 (reasoning model)
  • Small: ollama/qwen3 (efficient)
  • Code: ollama/codellama (coding tasks)

Setup

For inference (running agents against an Ollama model), keep ollama serve running in a terminal. For training/pushing via praisonai train, the daemon is started automatically — no manual ollama serve needed.

Python

With Tools

Multi-Agent

DeepSeek Reasoning

CLI

YAML