Skip to main content

nucleusiq-ollama

PyPI version PyPI downloads Python versions

Stable provider for running NucleusIQ agents against Ollama (local or hosted).

Install

0.2.1 — Development Status :: 5 - Production/Stable. Requires nucleusiq>=0.7.12 (pulled in automatically by pip).

pip install nucleusiq-ollama

Requires a running Ollama server unless you point OLLAMA_HOST at a remote instance. Optional: OLLAMA_API_KEY for authenticated endpoints.

Usage

from nucleusiq_ollama import BaseOllama, OllamaLLMParams

llm = BaseOllama(model_name="llama3.2", llm_params=OllamaLLMParams(think=True))

Runnable scripts (smoke, Agent DIRECT, streaming) live under examples/ — see examples/README.md.

See the Ollama provider guide for capability matrix, environment variables, and roadmap.

For Ollama's /v1 OpenAI shim (or any other Chat Completions server) use nucleusiq-openai-compatible instead — this package talks to the native Ollama API.

Status

0.2.1 — Development Status :: 5 - Production/Stable. First stable line plus declared PROVIDER_NAME / dependency completeness.

  • Chat + streaming + tools + structured outputs (JSON schema / format) + think pass-through.
  • Vision (image messages) in the wire layer — OpenAI-style multimodal content lists with image_url parts whose URL is a data:image/*;base64,... data URL are converted to Ollama's message.images shape; HTTP(S) URLs are skipped with a warning (pre-encode them as data URLs to send images).
  • Observability — every Ollama LLM call now lands in AgentResult.llm_calls with provider="ollama" populated automatically by the core agent loop.
  • Floor nucleusiq>=0.7.12. 98 unit tests, coverage 99.85% (gate ≥ 95%).
  • Embeddings + web search remain planned follow-ups for 0.2.x / 0.3.x.

Metadata

Release files for nucleusiq-ollama 0.2.1

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

Source distribution (sdist)

Source distribution for nucleusiq-ollama 0.2.1
File Size Uploaded
nucleusiq_ollama-0.2.1.tar.gz 55.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nucleusiq-ollama 0.2.1
File Interpreter ABI Platform
nucleusiq_ollama-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 75.6 kB

Release files / nucleusiq_ollama-0.2.1.tar.gz

Download URL nucleusiq_ollama-0.2.1.tar.gz
Size 55.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b9c48685bc1fc775b1adc342bac1dcbc1953c806568fea411f095cf2c6a2b683
BLAKE2b-256 checksum
How to use checksums
35e5050fbe34368056c8a5db102b5a0fe8373e3671486925c13a480492d8a078
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 5, 2026.

Transparency log

Release files / nucleusiq_ollama-0.2.1-py3-none-any.whl

Download URL nucleusiq_ollama-0.2.1-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c82f1dea40f004efcaf475ad9a77fdf0ff8314ada795a293595ea07292bc79fe
BLAKE2b-256 checksum
How to use checksums
17c2834c453180507b5918bca9e75cfc7623cd9a394b715bcdf46e3efe3289d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 5, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.2

2 release files

This release

0.2.1 This release

2 release files

0.2.0

2 release files

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