Skip to main content

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.

PyPI Python License

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 hg CLI 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


Download files

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

Source Distribution

hellig-0.0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

hellig-0.0.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

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

Hashes for hellig-0.0.1.tar.gz
Algorithm Hash digest
SHA256 643ba73ee44bcbf69f640ae9301690b95334c35a748c370ae00ed7b0ab2f5cda
MD5 2af27eaed7471f0b53cef8268fce1f74
BLAKE2b-256 1f20a2eccfe79373b99a7e16b0758c42e424e3a50f4a42fbf9fe0b9b50363369

See more details on using hashes here.

Provenance

The following attestation bundles were made for hellig-0.0.1.tar.gz:

Publisher: publish.yml on HSPK/hellig

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

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

Hashes for hellig-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fc3ee6996aceb0923eb98374a9bf082afb02d7b651320fb19d9338c851a4fabe
MD5 09ae835f830c03e3ce12956a18870afe
BLAKE2b-256 83eee9424046d35173c99c0eb890f5e4bf0efcf9f0b38e2ddb345474eef890d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for hellig-0.0.1-py3-none-any.whl:

Publisher: publish.yml on HSPK/hellig

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page