← all repositories

openai/harmony

A Rust library for parsing and rendering the harmony response format used by OpenAI's gpt-oss open-weight language models.

harmony
Velocity · 7d
+14
★ / day
Trend
steady
star history

This repository provides a Rust implementation of the harmony response format, a structured output schema designed for OpenAI’s gpt-oss model series. It handles multi-channel model output including chain-of-thought reasoning, function/tool calls, and structured responses. The format mimics the OpenAI Responses API, enabling proper handling of model-generated content across analysis, commentary, and final channels, as well as tool namespaces and structured outputs.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.