Skip to main content

accuralai-ollama

accuralai-ollama provides an ollama backend implementation for accuralai-core, enabling local model inference through the Ollama service. Once installed, you can configure the core orchestrator to route requests to Ollama by setting the backend plugin to ollama.

Installation

pip install accuralai-core accuralai-ollama

Configuration

Add an Ollama backend block to your AccuralAI configuration (e.g., ~/.accuralai/core.toml):

[backends.ollama]
plugin = "ollama"
[backends.ollama.options]
model = "gemma3:4b"
host = "http://127.0.0.1:11434"
timeout_s = 60
keep_alive = "5m"

Then run:

accuralai-core generate --prompt "Explain quantum entanglement" --route ollama

The backend will call Ollama’s /api/generate endpoint, return the completion, and populate usage metadata based on the server’s response.

Metadata

Release files for accuralai-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 accuralai-ollama 0.2.1
File Size Uploaded
accuralai_ollama-0.2.1.tar.gz 9.1 kB Details

Built distribution (wheel)

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

Total release size: 15.2 kB

Release files / accuralai_ollama-0.2.1.tar.gz

Download URL accuralai_ollama-0.2.1.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1175989d3c420df63019d41867405926159a0ac2d8ab49e96d6098420e8bbb87
BLAKE2b-256 checksum
How to use checksums
290becf63c9c8e494923f160f472821b10aef1822cf7b9812e7dc2f5bc6c4cd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

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

Download URL accuralai_ollama-0.2.1-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1a53cac1ad625c74d65e53e007e892e77209d8abd8f7419d18f02374b518281
BLAKE2b-256 checksum
How to use checksums
bdbd342b78b6f1b67701e748bcc5c30c25ebe00232c6ac1d71bc61b4947eff4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

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