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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hyle_core-0.1.0a1.tar.gz.
File metadata
- Download URL: hyle_core-0.1.0a1.tar.gz
- Upload date:
- Size: 28.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfc3130cad32c81e36f26b3a05236549e480e1217433ec0f010adbfa446a9f60
|
|
| MD5 |
0ae43abfcc694b20ee41dcc5c10dd949
|
|
| BLAKE2b-256 |
c444e3c15ddddb79cfaf99ee8843a93a0ee41b7e9f50067e6359e862bf847b6e
|
Provenance
The following attestation bundles were made for hyle_core-0.1.0a1.tar.gz:
Publisher:
release.yml on aekn/hyle
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hyle_core-0.1.0a1.tar.gz -
Subject digest:
dfc3130cad32c81e36f26b3a05236549e480e1217433ec0f010adbfa446a9f60 - Sigstore transparency entry: 2705519756
- Sigstore integration time:
-
Permalink:
aekn/hyle@5bb7c8f0d9e5fe53d539c3e556437dcf7b59723b -
Branch / Tag:
refs/tags/v0.1.0a1 - Owner: https://github.com/aekn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5bb7c8f0d9e5fe53d539c3e556437dcf7b59723b -
Trigger Event:
push
-
Statement type:
File details
Details for the file hyle_core-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: hyle_core-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 37.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1692c4c5848e4d7c7d821734c93054e810b3d0f81fbc401123420508bf83830b
|
|
| MD5 |
998485a1abdb25c05ac0b510ee885d83
|
|
| BLAKE2b-256 |
cd668935848dbcc7442930ba68ae98ceaeaa7109f76e534d4084227b3cd0006d
|
Provenance
The following attestation bundles were made for hyle_core-0.1.0a1-py3-none-any.whl:
Publisher:
release.yml on aekn/hyle
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hyle_core-0.1.0a1-py3-none-any.whl -
Subject digest:
1692c4c5848e4d7c7d821734c93054e810b3d0f81fbc401123420508bf83830b - Sigstore transparency entry: 2705519778
- Sigstore integration time:
-
Permalink:
aekn/hyle@5bb7c8f0d9e5fe53d539c3e556437dcf7b59723b -
Branch / Tag:
refs/tags/v0.1.0a1 - Owner: https://github.com/aekn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5bb7c8f0d9e5fe53d539c3e556437dcf7b59723b -
Trigger Event:
push
-
Statement type: