openai/harmony
Renderer for the harmony response format to be used with gpt-oss
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
The project lists 20 contributors on GitHub.
Gained 37% fewer stars in the last 90 days than in the 90 days before.
Use Cases & Benefits
- Implements a renderer and parser for the harmony response format used with OpenAI's gpt-oss models.
- Provides a consistent, loss-free token sequence encoding with high performance via Rust and seamless Python integration.
- Use for building custom inference solutions that require structured conversation and tool call formatting with gpt-oss models.
- Use for integrating harmony format support in Rust or Python applications needing multi-channel model output handling.
- Use for developing or extending open-weight language model tooling that mimics OpenAI's response API format.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Apache 2.0
Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.
Community files
- README: present
Watch-outs
- No commits in the last six months (last push Apr 2026).
- No GitHub releases; pin a commit or tag instead of a release.
General guidance from repository metadata, not legal advice. How we score
From the README
OpenAI's response format for its open-weight model series gpt-oss
The gpt-oss models were trained on the harmony response format for defining conversation structures, generating reasoning output and structuring function calls. If you are not using gpt-oss directly but through an API or a provider like HuggingFace, Ollama, or vLLM, you will not have to be concerned about this as your inference solution will handle the formatting. If you are building your own inference solution, this guide will walk you through the prompt format. The format is designed to mimic the OpenAI Responses API, so if you have used that API before, this format should hopefully feel familiar to you. gpt-oss should not be used without using the harmony format as it will not work correctly.
The format enables the model to output to multiple different channels for chain of thought, and tool calling preambles along with regular responses. It also enables specifying various tool namespaces, and structured outputs along with a clear instruction hierarchy. Check out the guide to learn more about the format itself.
We recommend using this library when working with models that use the harmony response format
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
317+17
Open issues
73+11
Compared with peers in LLM
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| thedotmack/claude-mem | 113.6K | +8.8K | 35 | today |
| NVIDIA/auto-ontology | 7.5K | +5.6K | 37 | — |
| HKUDS/DeepTutor | 55.5K | +5.5K | 65 | 5 days ago |
| affaan-m/ECC | 297.9K | +5.2K | 63 | 35 days ago |
| DietrichGebert/ponytail | 185.3K | +5.1K | 60 | 7 days ago |
| openai/harmony | 4.5K | — | 17 | — |
| Category median | 113.6K | +5.5K | 60 | — |
Also by openai
Other repositories from this maintainer that GStars tracks
- Rust133.4K stars
codex
Lightweight coding agent that runs in your terminal
- Python111.9K stars
whisper
Robust Speech Recognition via Large-Scale Weak Supervision
- Jupyter Notebook76.9K stars
openai-cookbook
Examples and guides for using the OpenAI API
- JavaScript34.7K stars
codex-plugin-cc
Use Codex from Claude Code to review code or delegate tasks.
- Python32.0K stars
openai-python
The official Python library for the OpenAI API
Discover Repositories
Search across tracked repositories by name or description