OllamaBox is a powerful Delphi wrapper for Ollama that allows developers to seamlessly download, extract, run, and interface with the Ollama runtime entirely within their application’s process. Unlike traditional setups that require background services or separate daemon processes, OllamaBox runs Ollama as a fully embedded, self-managed component—giving you complete control over inference, API access, and model management without leaving your app.
- 📦 Download and unzip the latest Ollama release
- 🚀 Run Ollama directly in your app process (no background daemon)
- 🔌 Full access to Ollama's local REST API
- 🧠 Stream results from models like LLaMA 3, Gemma, Phi, and more
- 📁 Custom model/data paths supported
- ✅ Simple setup, no dependencies outside of Delphi RTL
🚧️ This repository is currently under construction.
OllamaBox is actively being developed. Features, APIs, and internal structure are subject to change.
Contributions, feedback, and issue reports are welcome as the project evolves.
- 🐞 Report issues via the Issue Tracker.
- 💬 Engage in discussions on the Forum and Discord.
- 📚 Learn more at Learn Delphi.
Contributions to ✨ OllamaBox are highly encouraged! 🌟
- 🐛 Report Issues: Submit issues if you encounter bugs or need help.
- 💡 Suggest Features: Share your ideas to make OllamaBox even better.
- 🔧 Create Pull Requests: Help expand the capabilities and robustness of the library.
Your contributions make a difference! 🙌✨
OllamaBox is distributed under the 🆓 BSD-3-Clause License, allowing for redistribution and use in both source and binary forms, with or without modification, under specific conditions.
See the 📜 LICENSE file for more details.
🦙📦 OllamaBox – Embed and control Ollama directly from your Delphi app.