Debugging an AI agent that runs for dozens of steps: studying information, calling APIs, writing code, and revising its personal output, just isn’t like debugging an everyday perform. There is no such thing as a single stack hint to learn. As a substitute, builders are left observing a whole lot of traces of uncooked JSON, making an attempt to reconstruct what the mannequin was truly considering and doing at every step. OpenAI group is taking a direct swing at that downside with the discharge of Euphony, a brand new open-source browser-based visualization software designed to show structured chat knowledge and Codex session logs into readable, interactive dialog views.
Euphony is constructed particularly round two of OpenAI’s personal knowledge codecs: Concord conversations and Codex session JSONL information.
What’s the Concord Format?
To grasp why Euphony exists, you want a fast primer on Concord. OpenAI’s open-weight mannequin sequence, gpt-oss, was educated on a specialised immediate format referred to as the concord response format. Not like normal chat codecs, Concord helps multi-channel outputs — that means the mannequin can produce reasoning output, software calling preambles, and common responses all inside a single structured dialog. It additionally helps role-based instruction hierarchies (system, developer, person, assistant) and named software namespaces.
The result’s {that a} single Concord dialog saved as a .json or .jsonl file can include much more structured metadata than a typical OpenAI API response. This richness is beneficial for coaching, analysis, and agent workflows however it additionally makes uncooked inspection painful. With out tooling, you might be studying deeply nested JSON objects with token IDs, decoded tokens, and rendered show strings all interleaved. Euphony was constructed to resolve precisely this downside.
What Euphony Truly Does
At its core, Euphony is a net part library and standalone net app that ingests Concord JSON/JSONL knowledge or Codex session JSONL information and renders them as structured, browseable dialog timelines within the browser.
The software helps three knowledge loading strategies out of the field: pasting JSON or JSONL immediately from the clipboard, loading a neighborhood .json or .jsonl file from disk, or pointing it at any public HTTP(S) URL serving JSON or JSONL — together with Hugging Face dataset URLs. Euphony then auto-detects the format and renders accordingly throughout 4 circumstances: if the JSONL is a listing of conversations, it renders all conversations; if it detects a Codex session file, it renders a structured Codex session timeline; if a dialog is saved below a top-level discipline, it renders all conversations and treats different top-level fields as per-conversation metadata; and if none of these match, it falls again to rendering the info as uncooked JSON objects.
The characteristic set goes nicely past primary rendering. Euphony surfaces conversation-level and message-level metadata immediately within the UI by a devoted metadata inspection panel — helpful when evaluating annotated datasets the place every dialog carries additional fields like scores, sources, or labels. It additionally helps JMESPath-based filtering, which lets builders slender down massive datasets by querying over the JSON construction. There’s a focus mode that filters seen messages by function, recipient, or content material sort, a grid view for skimming datasets shortly, and an editor mode for immediately modifying JSONL content material within the browser. Markdown rendering (together with mathematical formulation) and non-compulsory HTML rendering are supported inside message content material.
Two Working Modes: Frontend-Solely vs. Backend-Assisted
Euphony is designed with a clear architectural cut up. In frontend-only mode (configured by way of the VITE_EUPHONY_FRONTEND_ONLY=true surroundings variable), the complete app runs within the browser with no server dependency. In backend-assisted mode, a neighborhood FastAPI Python server handles distant JSON/JSONL loading, backend translation, and Concord rendering — which is especially helpful for loading massive datasets.
Embedding Euphony in Your Personal Net App
One of many extra sensible options for AI dev groups is that Euphony ships as reusable customized parts — normal Net Elements that may be embedded in any frontend framework: React, Svelte, Vue, or plain HTML. After constructing the library with pnpm run construct:library (which outputs the principle entrypoint at ./lib/euphony.js), you possibly can drop a component into your UI and move it a Concord dialog both as a JSON string attribute or as a parsed JavaScript object by way of the DOM. Visible styling is absolutely overridable by CSS customized properties, masking padding, font colours, and role-specific coloration coding for person and assistant messages.
The tech stack is primarily TypeScript (78.7% of the codebase) with CSS and a Python backend layer, and it’s launched below the Apache 2.0 license.
Key Takeaways
- OpenAI open-sourced Euphony, a browser-based visualization software that converts uncooked Concord JSON/JSONL conversations and Codex session JSONL information into structured, browseable dialog timelines — no customized log parsers wanted.
- Euphony helps 4 auto-detection modes: it acknowledges lists of Concord conversations, Codex session information, conversations nested below top-level fields, and falls again to rendering arbitrary knowledge as uncooked JSON objects.
- The software ships with a wealthy inspection characteristic set — together with JMESPath filtering, focus mode (filter by function, recipient, or content material sort), conversation-level and message-level metadata inspection, grid view for dataset skimming, and an in-browser JSONL editor mode.
- Euphony runs in two modes: a frontend-only mode really helpful for static or exterior internet hosting, and an non-compulsory native backend-assisted mode powered by a FastAPI server that provides distant JSON/JSONL loading, backend translation, and Concord rendering — with OpenAI explicitly warning towards exposing the backend externally on account of SSRF danger.
- Euphony is designed to be embeddable: it ships as reusable Net Elements () suitable with React, Svelte, Vue, and plain HTML, with absolutely customizable styling by way of CSS customized properties, and is launched below the Apache 2.0 license.
Take a look at the GitHub Repo and Demo. Additionally, be at liberty to observe us on Twitter and don’t neglect to hitch our 130k+ ML SubReddit and Subscribe to our Publication. Wait! are you on telegram? now you possibly can be a part of us on telegram as nicely.
Have to associate with us for selling your GitHub Repo OR Hugging Face Web page OR Product Launch OR Webinar and so on.? Join with us

