Skip to main content

Ollama local LLM + embedding provider for AgentForge — llama / mistral / qwen / mxbai-embed on localhost

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentforge_ollama-0.4.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentforge_ollama-0.4.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file agentforge_ollama-0.4.0.tar.gz.

File metadata

  • Download URL: agentforge_ollama-0.4.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agentforge_ollama-0.4.0.tar.gz
Algorithm Hash digest
SHA256 929965aaf78b244e675c158186067f11d02cef93344121bc9076fae207a291e3
MD5 96bd4d18d5fd5e468440965e0e57acc6
BLAKE2b-256 35315bfdd4882a1947b2cb2c30ad17fd4713bbf2458cf15a321d89142667d069

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_ollama-0.4.0.tar.gz:

Publisher: release.yml on Scaffoldic/agentforge-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentforge_ollama-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agentforge_ollama-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56b2e41959e5cd0f95220d2ee03edbd5d0312928cc481574fbe9a00316dc38b9
MD5 525a7f4467df5cd293085ddecb44d1ed
BLAKE2b-256 47e10d7662599dfd0fd34cf60769f252a824a7fb4e40e7caaa8d569f1767117c

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_ollama-0.4.0-py3-none-any.whl:

Publisher: release.yml on Scaffoldic/agentforge-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page