Package · Python package for local models

Ollama Toolkit

A Python toolkit for building agents on local models with Ollama and LiteLLM. Typed clients, tools for files, web, vector search and databases, and MCP support.

Works on
  • Python
  • AI coding agents

The point of it

What it does

Python developers and coding agents building on a local Ollama server.

It supplies the client, the retry handling, the LiteLLM route and a set of agent tools, so your script does not have to rebuild them.

  1. Install the Python package and point it at a local Ollama server.
  2. Use the sync or async client for chat, generation, embeddings, and model management.
  3. Send a workflow through LiteLLM when that route is the one you need.

Install

Install the current package

pip install roy-ollama-toolkit

The PyPI name is roy-ollama-toolkit. Local model calls expect an Ollama service you are already running.

The details

Ways to use it
PyPI, MCP server
Language
Python
License
See repository
Repository
ollamatoolkit
Latest check
CI passing (opens in a new tab)