Multi-agent natural language orchestration programming framework.
Project description
Hellig
Multi-agent natural language orchestration programming framework.
Hellig lets you compose programs out of natural language steps that are dispatched to specialized agents. Treat prompts as instructions, agents as functions, and an orchestrator as the runtime that wires them together.
Why Hellig
Modern LLM applications quickly outgrow a single prompt. Hellig provides a tiny, opinionated core so you can:
- Describe work in natural language and let agents do the heavy lifting.
- Compose programs as ordered steps, with named outputs feeding later prompts.
- Swap agent runtimes (any LLM client, a local model, or a stub for tests) without rewriting your orchestration.
- Operate from the terminal with the
hgCLI for quick experiments.
Install
pip install hellig
# or
uv add hellig
Quick start
from hellig import Agent, Orchestrator, Program
def echo_runtime(prompt: str, **_: object) -> str:
return prompt.upper()
researcher = Agent(name="researcher", instructions="You research topics.", runtime=echo_runtime)
writer = Agent(name="writer", instructions="You write summaries.", runtime=echo_runtime)
program = (
Program(name="brief")
.add("researcher", "Collect facts about {topic}", output="facts")
.add("writer", "Write a 3-bullet summary of:\n{facts}", output="summary")
)
orchestrator = Orchestrator().register(researcher).register(writer)
result = orchestrator.run(program, topic="agentic programming")
print(result["summary"])
Core concepts
| Concept | Description |
|---|---|
Agent |
A named worker with optional instructions, runtime, and tools. |
Program |
An ordered sequence of natural language Steps with named outputs. |
Orchestrator |
Registers agents and executes programs, threading outputs into later prompts. |
Steps use str.format substitution, so any prior step's output (and any
context kwargs passed to run) is available as a placeholder.
CLI
The package installs an hg command powered by Click:
hg --help
hg version
hg hello HSPK
hg run --agent researcher --agent writer \
--step researcher "Find facts about Hellig" \
--step writer "Summarize the facts"
Development
uv sync
uv run hg --help
uv build
Roadmap
- Pluggable LLM runtimes (OpenAI, Anthropic, local).
- Tool calling and structured outputs.
- Parallel and conditional steps.
- Persistent traces for debugging.
License
MIT © HSPK
Project details
Release history Release notifications | RSS feed
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 hellig-0.0.1.tar.gz.
File metadata
- Download URL: hellig-0.0.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
643ba73ee44bcbf69f640ae9301690b95334c35a748c370ae00ed7b0ab2f5cda
|
|
| MD5 |
2af27eaed7471f0b53cef8268fce1f74
|
|
| BLAKE2b-256 |
1f20a2eccfe79373b99a7e16b0758c42e424e3a50f4a42fbf9fe0b9b50363369
|
Provenance
The following attestation bundles were made for hellig-0.0.1.tar.gz:
Publisher:
publish.yml on HSPK/hellig
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hellig-0.0.1.tar.gz -
Subject digest:
643ba73ee44bcbf69f640ae9301690b95334c35a748c370ae00ed7b0ab2f5cda - Sigstore transparency entry: 1780423238
- Sigstore integration time:
-
Permalink:
HSPK/hellig@a956cf644fd27d9ecef8e3cec5dc802eb6f0414d -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/HSPK
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a956cf644fd27d9ecef8e3cec5dc802eb6f0414d -
Trigger Event:
push
-
Statement type:
File details
Details for the file hellig-0.0.1-py3-none-any.whl.
File metadata
- Download URL: hellig-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc3ee6996aceb0923eb98374a9bf082afb02d7b651320fb19d9338c851a4fabe
|
|
| MD5 |
09ae835f830c03e3ce12956a18870afe
|
|
| BLAKE2b-256 |
83eee9424046d35173c99c0eb890f5e4bf0efcf9f0b38e2ddb345474eef890d2
|
Provenance
The following attestation bundles were made for hellig-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on HSPK/hellig
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hellig-0.0.1-py3-none-any.whl -
Subject digest:
fc3ee6996aceb0923eb98374a9bf082afb02d7b651320fb19d9338c851a4fabe - Sigstore transparency entry: 1780423302
- Sigstore integration time:
-
Permalink:
HSPK/hellig@a956cf644fd27d9ecef8e3cec5dc802eb6f0414d -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/HSPK
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a956cf644fd27d9ecef8e3cec5dc802eb6f0414d -
Trigger Event:
push
-
Statement type: