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

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentforge_ollama-0.2.3.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agentforge_ollama-0.2.3.tar.gz
Algorithm Hash digest
SHA256 ec259f3dd8dfa3f7832d0c4dbac925b2f0a7d0e5f89d930b63ef6c98ca3da503
MD5 82e8baaa0fca526bdd13e363f2de5e2a
BLAKE2b-256 71e8637fd2ae69ad0b3d0e3e91a9676591276d0e4d2708bff9433e418d407073

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentforge_ollama-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agentforge_ollama-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 abc06b27289c5333a9c7ed76da6176d7d7053c4d8c9e4b25ca0da9eac33607c4
MD5 b968ec70818db1ca88149b72e2781db1
BLAKE2b-256 1a0c482815dc9f4c589c25ad54a7389a78f729ac0e5aebd41aad72b6f6df89ca

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