The Ollama backend gives you a familiar, polished model-management experience while keeping everything self-contained inside the Odysseus project folder. On first launch, the orchestrator downloads a platform-specific Ollama binary from the official Ollama GitHub release and extracts it toDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/techjarves/Odysseus-Portable/llms.txt
Use this file to discover all available pages before exploring further.
bin/ollama-<os>-<arch>/. It then starts ollama serve with OLLAMA_MODELS pointed at models/ollama/ inside your project root, so model data never spills into a system-level installation. The Odysseus web UI connects to http://127.0.0.1:11434/v1 and surfaces the Cookbook/Models section for pulling and managing models without leaving the browser.
How It Works
Binary acquisition
ensureOllamaExecutable(binDir) in src/backends/ollama/index.js checks whether a binary already exists in bin/ollama-<os>-<arch>/ (or bin/ollama/ on Windows). If not, it queries the Ollama GitHub Releases API at https://api.github.com/repos/ollama/ollama/releases/latest, downloads the correct archive for your platform, and extracts it. The archive is removed after extraction.Port detection
Before starting a new process, the orchestrator checks whether port 11434 is already open using
isPortOpen(11434). If an existing Ollama instance is detected, it is reused and no new process is spawned. See Coexistence with system Ollama for details.ollama serve startup
If port 11434 is free, the orchestrator spawns This binds Ollama to localhost only and redirects all model storage to the project folder.
ollama serve with two critical environment variables set:Ollama Binary Downloads
The asset downloaded depends on your operating system and CPU architecture:| Platform | Architecture | Asset |
|---|---|---|
| Windows | x64 | ollama-windows-amd64.zip |
| Windows | ARM64 | ollama-windows-arm64.zip |
| macOS | any | ollama-darwin.tgz |
| Linux | x64 | ollama-linux-amd64.tar.zst |
| Linux | ARM64 | ollama-linux-arm64.tar.zst |
Like the llama.cpp binary, the Ollama binary is downloaded once and cached. Subsequent launches reuse the existing binary and skip the download step entirely.
Model Storage
All models pulled through Odysseus Portable’s Ollama backend are stored inmodels/ollama/ inside the project folder. This is enforced by setting the OLLAMA_MODELS environment variable when spawning ollama serve:
Pulling Models
- Web UI
- Bundled Ollama CLI
- System Ollama CLI
Open the Odysseus web UI and navigate to Cookbook → Models. From there you can search the Ollama library, pull a model with a single click, and monitor download progress — all without leaving the browser.