This release is a pre-release and may not be stable for production use.
hyle-core
Provider-independent primitives for building AI systems in Python.
Installation
Requires Python 3.14+.
uv add hyle-core
Provider integrations are installed separately.
Quick start
Code can depend on capabilities rather than concrete providers:
from hyle import Model, Request
async def summarize(model: Model, text: str) -> str:
response = await model.generate(Request(text, instructions="Summarize this in one sentence."))
return response.require_text()
Any compatible Model can be passed to summarize.
Hyle also provides tools, structured output, embeddings, streaming, and a bounded model-tool runtime. Use the runtime where it fits, or compose the lower-level primitives directly when your application needs a different control flow.
Provider integrations can implement the same core interfaces independently. Higher-level application patterns such as agents, crews, and workflows can be built on top with ordinary Python.
Ollama support is available through hyle-ollama. Gemini support is planned next.
Status
Hyle is a personal project built for fun. There is no fixed roadmap or timeline.
Alpha. The API may change.
License
Metadata
Release files for hyle-core 0.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hyle_core-0.1.0a1.tar.gz | 28.8 kB | With provenance | Details for hyle_core-0.1.0a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hyle_core-0.1.0a1-py3-none-any.whl | Python 3 | none | any | Details for hyle_core-0.1.0a1-py3-none-any.whl |
Total release size: 66.3 kB
Release files / hyle_core-0.1.0a1.tar.gz
| Download URL | hyle_core-0.1.0a1.tar.gz |
|---|---|
| Size | 28.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfc3130cad32c81e36f26b3a05236549e480e1217433ec0f010adbfa446a9f60
|
|
BLAKE2b-256 checksum How to use checksums |
c444e3c15ddddb79cfaf99ee8843a93a0ee41b7e9f50067e6359e862bf847b6e
|
| 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 4, 2026.
Transparency logRelease files / hyle_core-0.1.0a1-py3-none-any.whl
| Download URL | hyle_core-0.1.0a1-py3-none-any.whl |
|---|---|
| Size | 37.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1692c4c5848e4d7c7d821734c93054e810b3d0f81fbc401123420508bf83830b
|
|
BLAKE2b-256 checksum How to use checksums |
cd668935848dbcc7442930ba68ae98ceaeaa7109f76e534d4084227b3cd0006d
|
| 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 4, 2026.
Transparency logSecurity for hyle-core 0.1.0a1
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for hyle_core-0.1.0a1.tar.gz
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 4, 2026.
Transparency logA 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.