harmony
AGENTS.md4.5k starsChanged 16 months agoApache-2.0View on GitHub
This project provides a structured way to create messages that get rendered into a set of tokens using our harmony prompt format. The majority of the code is written in Rust inside src/ and src/py_module.rs defines using pyo3 what functions are exposed to the python version of the library with a wrapper in python/openai_harmony/__init__.py. You can build the Rust code along with the Python wrapper using maturin develop --release. This will also locally install the library in the venv so…
Trending
Quiet since August.about the whole repository
Who's talking about openai/harmony
- A Hacker News story“Harmony: OpenAI's response format for its open-weight model series”Hacker News · Aug 5, 2025 · 374 points
- vllm-project/vllm“[Bug]: openai_harmony.HarmonyError: unexpected tokens remaining in message header”GitHub · Aug 25, 2025 · 24 reactions
- vllm-project/vllm“[RFC]: Unified Input Formatting and Processing via `Renderer`”GitHub · Aug 14, 2025 · 20 reactions
- @sungkim.bsky.social“OpenAI's Harmony OpenAI's response format for its open-weight model series gpt-oss github.com/openai/harmony”Bluesky · Aug 5, 2025 · 15 likes
- vllm-project/vllm“[Feature]: MCP Support for Non Harmony Models”GitHub · Dec 5, 2025 · 4 reactions
The biggest 5 of 30 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 30
Talked about on GitHub, Bluesky and Hacker News (30 times).
On GitHub · 22
- Aug 25, 2025[Bug]: openai_harmony.HarmonyError: unexpected tokens remaining in message header — vllm-project/vllm24 reactions · 48 comments
- Aug 14, 2025[RFC]: Unified Input Formatting and Processing via `Renderer` — vllm-project/vllm20 reactions · 9 comments
- Dec 5, 2025[Feature]: MCP Support for Non Harmony Models — vllm-project/vllm4 reactions · 10 comments
- Aug 6, 2025AzureChatOpenAI: support for gpt-oss-120b tool calling — langchain-ai/langchain3 reactions · 13 comments
- Mar 10, 2026fix(template): correct gpt_oss format_assistant — hiyouga/LlamaFactory1 reaction · 1 comment
17 more on GitHub
- Oct 23, 2025[Bugfix] Actually enable serialize_messages for harmony Responses (related to #26185) — vllm-project/vllm1 reaction · 4 comments
- Sep 16, 2025[Bug] Fix gpt-oss missing tool content — vllm-project/vllm1 reaction · 26 comments
- Aug 30, 2025添加 openai harmony的内容 — TianCai19/llm-cody-wiki1 reaction
- Aug 6, 2025OpenAI harmony format hyperlink in the gpt-oss llama blog points to example.com — openai/openai-cookbook1 reaction · 2 comments
- Aug 31, 2026[Feature]: Switch Python Harmony dependency to oss-harmony — vllm-project/vllm0 reactions · 1 comment
- Aug 4, 2026ToolManager should strip Harmony `<|channel|>` suffixes from inbound tool names — pydantic/pydantic-ai0 reactions · 7 comments
- Jun 23, 2026openai-harmony riscv64 support — riseproject-dev/python-wheels0 reactions
- May 24, 2026open al — trustwallet/wallet-core0 reactions
- May 16, 2026[Feature]: Add "Start Replay With" to connection settings — Pasta-Devs/Marinara-Engine0 reactions · 1 comment
- May 15, 2026openai-harmony 0.0.8 — AnacondaRecipes/openai-harmony-feedstock0 reactions
- May 12, 2026Harmony response format corrupts tool calls — earendil-works/pi0 reactions · 3 comments
- Mar 10, 2026Small typo in run-vllm.md — perf-ai-example-org/openai-cookbook0 reactions
- Mar 10, 2026Update openai-harmony.md — perf-ai-example-org/openai-cookbook0 reactions
- Feb 12, 2026build(deps): bump openai-harmony from 0.0.4 to 0.0.8 in /hello-langchain-python/1.0 — feuyeux/hello-langchain0 reactions
- Feb 7, 2026gpt-oss harmony response format: thinking/analysis channel content leaks into message.content — llama-farm/llamafarm0 reactions · 4 comments
- Jan 14, 2026Add Harmony response format — tilesprivacy/tiles0 reactions
- Aug 5, 2025GitHub - openai/harmony: Renderer for the harmony response format to be used with gpt-oss — craftlinks/Notebook0 reactions
On Bluesky · 7
- Aug 5, 2025OpenAI's Harmony OpenAI's response format for its open-weight model series gpt-oss github.com/openai/harmony — @sungkim.bsky.social15 likes and reposts · 1 reply
- Aug 7, 2025Открытая ИИ Гармония #ai #news #openai — @ai-ru.at.thenote.app1 likes and repost
- Aug 6, 2025🚨 OpenAI just open-sourced Harmony — a renderer for the Harmony response format used with gpt-oss. And guess what it’s written in? 🦀… — @rustaceans.bsky.social1 likes and repost
- Aug 6, 2025OpenAI Harmony #ai #news #openai — @ai-news.at.thenote.app1 likes and repost
- Aug 5, 2025Harmony: OpenAI's response format for its open-weight model series https://github.com/openai/harmony… — @hn100.atproto.rocks1 likes and repost
2 more on Bluesky
- Aug 20, 20252. Harmony The structured response format powering gpt-oss models, enabling seamless function calling, chain-of-thought reasoning, and… — @devshorts.in0 likes and reposts · 1 reply
- Aug 7, 2025ハーモニー:OpenAIのオープンウエイトモデルシリーズの応答フォーマット Harmony: OpenAI's response format for its open-weight model series 🔺 370 💬 15 🔗 HN Post | Article — @hacker-news-jp.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- Aug 5, 2025Harmony: OpenAI's response format for its open-weight model series374 points · 50 comments
The file
Files
Harmony renderer
This project provides a structured way to create messages that get rendered into a set of tokens using our harmony prompt format.
The majority of the code is written in Rust inside src/ and src/py_module.rs defines using pyo3 what functions are exposed to the python version of the library with a wrapper in python/openai_harmony/__init__.py.
You can build the Rust code along with the Python wrapper using maturin develop --release. This will also locally install the library in the venv so you can use it.
To test the library run pytest. That's the only way you can test it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

