Skip to main content

conduit-llm

Lightweight AI driver for OpenAI-compatible, Ollama, Anthropic, and Gemini — transport and normalization only, no framework. Python import remains conduit.

Install

pip install conduit-llm

Requires Python 3.10+. Zero runtime dependencies (stdlib http.client).

Ollama Quick Start

No endpoint or API key needed — talks to http://localhost:11434 by default.

from conduit import connect

model = connect(driver="ollama", model="qwen3:8b")
print(model.generate("Hello").text)

for event in model.stream("Hello"):
    if event["type"] == "text_delta":
        print(event["text"], end="")

OpenAI-compatible

from conduit import connect

model = connect(driver="openai-compatible", endpoint="http://localhost:1234/v1", model="my-model")
print(model.generate("Hello").text)

Supported drivers

openai-compatible · ollama (/api/chat) · anthropic (/v1/messages) · gemini (/v1beta/models/...:generateContent)

Full API, spec, and conformance: github.com/krazybean/Conduit

Metadata

Release files for conduit-llm 0.2.2

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

Source distribution (sdist)

Source distribution for conduit-llm 0.2.2
File Size Uploaded Provenance Actions
conduit_llm-0.2.2.tar.gz 45.3 kB Without provenance Details for conduit_llm-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for conduit-llm 0.2.2
File Interpreter ABI Platform Actions
conduit_llm-0.2.2-py3-none-any.whl Python 3 none any Details for conduit_llm-0.2.2-py3-none-any.whl

Total release size: 72.9 kB

Release files / conduit_llm-0.2.2.tar.gz

Download URL conduit_llm-0.2.2.tar.gz
Size 45.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7c4d925c9b607e66d2dab8b25cdcab1d09aa6be9f6af7dc5480522940a3e68ee
BLAKE2b-256 checksum
How to use checksums
d85be9cbb2487d16c893cee414cd8ac4fd347a8e7ee3889d701dc8fa6330dc09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / conduit_llm-0.2.2-py3-none-any.whl

Download URL conduit_llm-0.2.2-py3-none-any.whl
Size 27.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
914e1ef9d49752babdffdea0391203a6267889817723df237d084aae1478fdd5
BLAKE2b-256 checksum
How to use checksums
a296fe814786e0c6a1439ebf727e5f1297cea1c0cec686336fb90b94049df5ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for conduit-llm 0.2.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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