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.2.4.tar.gz (11.7 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.2.4-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agentforge_ollama-0.2.4.tar.gz
Algorithm Hash digest
SHA256 3565da5bb53ebec25b436f05214f216862974bbfe6299fa069d634aab43853d8
MD5 1ed4e8757fbe279aed604a38cc412308
BLAKE2b-256 341e88b49a4a56cda8b704db646a9757e95254637c70ad060996a7a587902d0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentforge_ollama-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a7138e07dd51e9734be114e5d134c5571b4092854d499ca35455539cd69595aa
MD5 a2d4cec94c0359a9c61015cf2e88e2d5
BLAKE2b-256 70cd8bf8d7e4a5e125c5eca6436d3349683ee5fa528bc6d66eba93c810ac8e12

See more details on using hashes here.

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