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.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 conduit-llm 0.2.1
File Size Uploaded Provenance Actions
conduit_llm-0.2.1.tar.gz 44.4 kB Without provenance Details for conduit_llm-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 71.9 kB

Release files / conduit_llm-0.2.1.tar.gz

Download URL conduit_llm-0.2.1.tar.gz
Size 44.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6e44c227bda697c903c6112ce472c9fa6738d999c2a920302a00fa9b1d954454
BLAKE2b-256 checksum
How to use checksums
d90410fc3b5b9cc1d70f933dd7a6ee88d609028e248a122b034f0370d501c6f7
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.1-py3-none-any.whl

Download URL conduit_llm-0.2.1-py3-none-any.whl
Size 27.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c94b2f33142178ebd145caf47fd331dcddc3cd4bb025b605bfdbdc76fc87ab29
BLAKE2b-256 checksum
How to use checksums
d07cbea14e8c3c5218cd57f2e5dfc41038b2e27d27ec4307acc81794d7bb3a68
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.1

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