glia v0.4.0 — local models via Ollama
Run local open models (Qwen, DeepSeek, Llama, …) with glia — free, offline, no API key.
New: OllamaLLM provider
# install Ollama from https://ollama.com, then:
ollama pull qwen2.5 # or: ollama pull deepseek-r1from glia import Agent
from glia.providers import OllamaLLM
agent = Agent(OllamaLLM("qwen2.5"), system="Be concise.")- Talks to a local Ollama server over stdlib HTTP — zero dependencies.
- Streaming + tool calling for models that support it.
Desktop shell
The downloadable app now has an Ollama provider mode in Settings (pick a local model like qwen2.5 or deepseek-r1). Fresh Windows/macOS/Linux binaries are attached below.
Also
- 129 offline tests; new example
08_ollama_local.py; docs updated (EN/RU).
Install/upgrade: pip install -U glia-agents · Docs: https://denisdrobyshev.github.io/glia/