Skip to main content

Ollama inference provider for the NucleusIQ AI agent framework (official ollama Python SDK).

Project description

nucleusiq-ollama

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

Install

Alpha on PyPI (0.1.0a1). Requires nucleusiq>=0.7.10 (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 OLLAMA_PROVIDER.md for capability matrix, environment variables, and roadmap.

Status

0.2.0Development Status :: 5 - Production/Stable. First stable line.

  • 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.

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

nucleusiq_ollama-0.2.0.tar.gz (66.5 kB view details)

Uploaded Source

Built Distribution

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

nucleusiq_ollama-0.2.0-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file nucleusiq_ollama-0.2.0.tar.gz.

File metadata

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

File hashes

Hashes for nucleusiq_ollama-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e81aef3f2f96f9ed19c30748876e67a09d77987568cc4cee5d1c511ad85be131
MD5 fb1bd57611b1eb4e67bb552e3592bc6e
BLAKE2b-256 a2320b523a3b908317afeefbe351fef5098f3835629a15ca6594ed1b28d6d255

See more details on using hashes here.

Provenance

The following attestation bundles were made for nucleusiq_ollama-0.2.0.tar.gz:

Publisher: publish.yml on nucleusbox/NucleusIQ

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

File details

Details for the file nucleusiq_ollama-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nucleusiq_ollama-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6a855689bb0a340f7a986f2b5cfb8678ad6bd829925f6e9c806e2ad74ac0aa3
MD5 0652663a1a1f821b5d5c00edad959a20
BLAKE2b-256 1b0afc1bc918989aea9940b2c201a9e3ee894930dbe5bb7fe1db80b6b4a3a9e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for nucleusiq_ollama-0.2.0-py3-none-any.whl:

Publisher: publish.yml on nucleusbox/NucleusIQ

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