agent-framework-ollama
Ollama integration for Microsoft Agent Framework.
Decision gist · record as of 2026-08-14
Yes, if you are building agents with Microsoft Agent Framework and want to use Ollama as your model provider. The package has low install friction, active maintenance, no known vulnerabilities, and a permissive license. It is most valuable for teams prioritizing data privacy, cost control, or open-source model flexibility over cloud-provider convenience. If you are already committed to Agent Framework and Ollama, this is a straightforward addition; if you are still evaluating frameworks, verify that Ollama's model selection and performance meet your requirements.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; Ollama server must be running and accessible at the configured endpoint.
- Low install friction with only two runtime dependencies (agent-framework-core and ollama).
- Package is actively maintained with a recent release and no known vulnerabilities.
License · maintenance · safety
permissive license (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal legal friction.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 12,804 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 485,180 downloads/mo, #6,400 on PyPI
Alternatives
Verify before relying
pip install agent-framework-ollama
from agent_framework import Agent
from agent_framework_ollama import OllamaClient
agent = Agent(
client=OllamaClient(model="llama2"),
name="LocalAgent",
instructions="You are a helpful assistant."
)
result = await agent.run("Your prompt here")- Whether this package works with specific Ollama model versions or has known compatibility constraints.
- Performance characteristics or latency expectations when using local vs. remote Ollama instances.
- Whether streaming, tool use, or other advanced Agent Framework features are fully supported through the Ollama provider.
What it is and what it does
agent-framework-ollama is a provider plugin for Microsoft Agent Framework that allows agents to use Ollama as their language model backend. Ollama is an open-source system for running large language models locally or remotely, and this package bridges the two by implementing the necessary client interface so agents built with Agent Framework can delegate reasoning to Ollama-hosted models instead of requiring cloud-based providers like Azure OpenAI or OpenAI.
The package is part of the broader Agent Framework ecosystem, which is designed for production-grade multi-agent workflows. By using Ollama, developers can build agents with full control over model selection, deployment location, and data privacy—useful for on-premises deployments, cost-sensitive scenarios, or teams wanting to experiment with open-source models. The integration inherits Agent Framework's orchestration, middleware, and observability features, so agents using Ollama can still participate in complex workflows, multi-agent collaboration, and distributed tracing.
Use it for
- Build a local AI agent for document analysis or code review that runs entirely on-premises without cloud API calls.
- Prototype multi-agent workflows using open-source models before committing to commercial LLM provider costs.
- Deploy agents in environments with strict data residency requirements where models must run on private infrastructure.
- Experiment with different open-source model architectures (Llama, Mistral, etc.) without rewriting agent code.
- Integrate Ollama-based agents into existing Agent Framework applications that already use other providers.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building agents with Microsoft Agent Framework and want to use Ollama as your model provider.
The package has low install friction, active maintenance, no known vulnerabilities, and a permissive license. It is most valuable for teams prioritizing data privacy, cost control, or open-source model flexibility over cloud-provider convenience. If you are already committed to Agent Framework and Ollama, this is a straightforward addition; if you are still evaluating frameworks, verify that Ollama's model selection and performance meet your requirements.
Install
agent-framework-ollama on PyPI
Before you install
Low install friction with only two runtime dependencies (agent-framework-core and ollama). Package is actively maintained with a recent release and no known vulnerabilities.
Requires Python 3.10 or later; Ollama server must be running and accessible at the configured endpoint.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal legal friction.
Quickstart
pip install agent-framework-ollama
from agent_framework import Agent
from agent_framework_ollama import OllamaClient
agent = Agent(
client=OllamaClient(model="llama2"),
name="LocalAgent",
instructions="You are a helpful assistant."
)
result = await agent.run("Your prompt here")
Verify before relying
- Whether this package works with specific Ollama model versions or has known compatibility constraints.
- Performance characteristics or latency expectations when using local vs. remote Ollama instances.
- Whether streaming, tool use, or other advanced Agent Framework features are fully supported through the Ollama provider.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesagent-framework-coreollama |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 485,180 / month, #6,400 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaFramework :: Pydantic :: 2Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Typing :: Typed |
Evidence: agent_framework_ollama-1.0.0b260813-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “ollama agent framework integration”
- agent-framework-ollamaIntegrates Ollama LLM provider support into Microsoft Agent…
- langchain-ollamaConnects LangChain applications to Ollama, enabling use of…
- livekit-plugins-openaiIntegrates OpenAI's Realtime, Responses, LLM, TTS, and STT APIs into…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also agent-framework-foundry-local · agent-framework-purview · semantic-kernel · agent-framework-claude · agent-framework-declarative · agent-framework-core · agent-framework-lab · agent-framework · agent-framework-foundry · agent-framework-a2a