Skip to main content

agentforge-ollama

Ollama local LLM + embedding provider for AgentForge.

Talks to a local Ollama server (default http://localhost:11434). Use it for fully-local agents, dev loops without an API budget, or to run open-weight models (llama3, qwen3, mistral, mxbai-embed-large) under the same LLMClient / EmbeddingClient contracts as the cloud providers.

Install

pip install "agentforge-ollama[ollama]"

You also need the Ollama daemon running locally:

ollama serve
ollama pull llama3.2:3b

Use

from agentforge import Agent

agent = Agent(model="ollama:llama3.2:3b")

Capabilities

OllamaClient.capabilities() declares {"tools", "streaming"} when the model advertises tool support (the server reports this via /api/show). Caching / extended thinking / vision are not surfaced — Ollama doesn't expose them through a uniform API.

Cost is always zero (local inference).

License

Apache-2.0. See LICENSE.

Metadata

Release files for agentforge-ollama 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentforge-ollama 0.4.0
File Size Uploaded Provenance Actions
agentforge_ollama-0.4.0.tar.gz 12.1 kB With provenance Details for agentforge_ollama-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentforge-ollama 0.4.0
File Interpreter ABI Platform Actions
agentforge_ollama-0.4.0-py3-none-any.whl Python 3 none any Details for agentforge_ollama-0.4.0-py3-none-any.whl

Total release size: 25.0 kB

Release files / agentforge_ollama-0.4.0.tar.gz

Download URL agentforge_ollama-0.4.0.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
929965aaf78b244e675c158186067f11d02cef93344121bc9076fae207a291e3
BLAKE2b-256 checksum
How to use checksums
35315bfdd4882a1947b2cb2c30ad17fd4713bbf2458cf15a321d89142667d069
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.

Transparency log

Release files / agentforge_ollama-0.4.0-py3-none-any.whl

Download URL agentforge_ollama-0.4.0-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56b2e41959e5cd0f95220d2ee03edbd5d0312928cc481574fbe9a00316dc38b9
BLAKE2b-256 checksum
How to use checksums
47e10d7662599dfd0fd34cf60769f252a824a7fb4e40e7caaa8d569f1767117c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.

Transparency log

Security for agentforge-ollama 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agentforge_ollama-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page