Hellig¶
A natural language programming framework powered by multi-agent orchestration.
Hellig treats natural language as a programming language. The hg command is
its compiler + interpreter: it turns what you type into an agent program — a
small sequence of instructions like say, ask the user, call an agent,
invoke a tool — and runs that program on the Hellig runtime. The runtime can
pause to ask follow-up questions, carry conversational state across turns, and
dispatch work to any agent you register. Think of it as a tiny, hackable agent
OS for the terminal in the spirit of Claude Code.
The big picture¶
┌───────────────┐ compile ┌──────────────┐ execute ┌──────────────┐
│ natural lang │ ───────────▶ │ Program │ ───────────▶ │ Runtime │
│ (what you │ │ (sequence │ │ (agents + │
│ typed) │ │ of ops) │ │ tools + IO) │
└───────────────┘ └──────────────┘ └──────┬───────┘
│
asks ↕ user
Highlights¶
-
Pythonic core
A handful of small dataclasses —
Agent,Instruction,Program,Runtime,Session— nothing magical, nothing hidden. -
hgCLI
An interactive REPL plus one-shot
hg runandhg compile. Built with Click. -
Asks back
The
askinstruction pauses execution and prompts the user mid-program. PluggableIOadapters cover terminals, tests, and custom UIs. -
Plug your own compiler
Ship the default offline
StubCompileror implementCompiler.compilewith any LLM to translate richer prompts.
A 30-second taste¶
hellig 0.0.1 — natural language programming.
hg » ? What city are you in? -> city
What city are you in? › Beijing
hg » : The weather in {city} looks great today.
The weather in Beijing looks great today.
hg » /scope
city = 'Beijing'
Continue with Getting started.