OpenAI Harmony is a renderer library for the harmony response format used with gpt-oss models. The library provides consistent formatting for conversation structures, reasoning output, and function calls. It offers both Python and Rust implementations with fast performance through Rust core and Python bindings. The harmony format enables multi-channel outputs, tool calling, and structured responses that mimic OpenAI's API format.

5m read timeFrom github.com
Post cover image
Table of contents
Using HarmonyContributing

Sort: