Skip to main content
Pre-release

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

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hyle_core-0.1.0a1.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hyle_core-0.1.0a1-py3-none-any.whl (37.5 kB view details)

Uploaded Python 3

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

Hashes for hyle_core-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 dfc3130cad32c81e36f26b3a05236549e480e1217433ec0f010adbfa446a9f60
MD5 0ae43abfcc694b20ee41dcc5c10dd949
BLAKE2b-256 c444e3c15ddddb79cfaf99ee8843a93a0ee41b7e9f50067e6359e862bf847b6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hyle_core-0.1.0a1.tar.gz:

Publisher: release.yml on aekn/hyle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for hyle_core-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 1692c4c5848e4d7c7d821734c93054e810b3d0f81fbc401123420508bf83830b
MD5 998485a1abdb25c05ac0b510ee885d83
BLAKE2b-256 cd668935848dbcc7442930ba68ae98ceaeaa7109f76e534d4084227b3cd0006d

See more details on using hashes here.

Provenance

The following attestation bundles were made for hyle_core-0.1.0a1-py3-none-any.whl:

Publisher: release.yml on aekn/hyle

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0a1 This release

2 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