openai/harmony
Renderer for the harmony response format to be used with gpt-oss observed · 2026-08-28
Health v2 · maintenance only
52/100
- Activity 76
- Release rhythm 35
- Longevity 28
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 398
- days_rel: n/a
- days_push: 147
- n_releases_24m: 0
Adoption not part of the score
4487 stars · 302 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
OpenAI's Rust library (with first-class Python bindings) for rendering and parsing the harmony response format used by its open-weight gpt-oss models. It handles conversation structure, reasoning channels, and tool-call formatting so custom inference stacks can produce loss-free prompt sequences.
Use cases
- build a custom inference server for gpt-oss models
- render harmony-format prompts for local LLM inference
- parse model output channels like analysis, commentary, and final
- format tool calls and structured outputs for gpt-oss
- implement gpt-oss support in vLLM or Ollama-like runtimes
- convert chat messages into the harmony token format
When to choose
- you are building your own inference engine or runtime for gpt-oss
- you need loss-free rendering and parsing of the harmony format
- you want a fast Rust implementation with typed Python bindings
When to avoid
- you access gpt-oss through an API or provider like HuggingFace, Ollama, or vLLM that already handles formatting
- you work with models that do not use the harmony response format
Facets
library · maturity active
llm-inference serialization parser sdk large-language-models developer-tools rust python cross-platform gpt-oss prompt-format tokenizer-format openai chat-template tool-calling natural-language-processing
1 source
- readme: https://github.com/openai/harmony · fetched 2026-08-28 · 31f6d329e841
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| openai/harmony | main | 52 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem