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.3.1.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.3.1-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentforge_ollama-0.3.1.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.3.1.tar.gz
Algorithm Hash digest
SHA256 09ed3dbd7d41abdacd77d052868055f72ab61bf0c03a09bee6c9ef1178936c34
MD5 33bf537278efed5ecffecba716809445
BLAKE2b-256 3e5c45b1e99ef632015fdf387e32d35266ab855fcc383ff8c3c08eeed876ef93

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_ollama-0.3.1.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.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for agentforge_ollama-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab273cee97ae1212e69c8a62c8ed27005363d9a19145b70bce3c9dd5bc0d530b
MD5 6e3e827d55d85149cbf4352445283bbe
BLAKE2b-256 1d4f6bc622f309d50df1a9f90e6aac28d4682e5bcbc789444cdf6a325eebd12e

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_ollama-0.3.1-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