HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
open-llm-initiative
open-message-format
AI & Machine Learning2024–2024
open-llm-initiative / open-message-format

open-message-format

OMF is a compact, user-friendly specification that defines a lightweight API contract between client and server for building conversational agents, and defines a standard schema for the "messages" object, which contains user and assistant interactions.

3Distinct people
3Mentions
0Explicit recommenders
65GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

OMF is a compact, user-friendly specification that defines a lightweight API contract between client and server for building conversational agents, and defines a standard schema for the "messages" object, which contains user and assistant interactions.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour3 dated mentions

Observed mentions: 2024-09-09 13:30:08 UTC to 2024-09-09 16:38:15 UTC.

0122024-09-09 13:00:00 UTC to 2024-09-09 14:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsSep 9, 13:002024-09-09 14:00:00 UTC to 2024-09-09 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsSep 9, 14:002024-09-09 15:00:00 UTC to 2024-09-09 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-09-09 16:00:00 UTC to 2024-09-09 17:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 commentsSep 9, 16:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Sep 9, 13:002024-09-09 13:00:00 UTC2024-09-09 14:00:00 UTC110
Sep 9, 14:002024-09-09 14:00:00 UTC2024-09-09 15:00:00 UTC000
Sep 9, 15:002024-09-09 15:00:00 UTC2024-09-09 16:00:00 UTC000
Sep 9, 16:002024-09-09 16:00:00 UTC2024-09-09 17:00:00 UTC202

What Hacker News says

3 sources
hey @ianbicking - thanks a lot for the feedback. I've merged a change to fix the links [1]. > The metadata tokens is a string [1]... that doesn't seem right. Request/response tokens generally need to be separated, as they are usually priced separately. For the metadata you are right. Request and response tokens are billed separately and should be captured accordingly. I've put a PR to address that [2] > It doesn't specify how the messages have to be arranged, if at all. But some providers force system/user/assistant/user... with user last. ... We do assume that last message in the array to be from user. But we are not forcing it at the moment. [1] https://github.com/open-llm-initiative/open-message-format/p... [2] https://github.com/open-llm-initiative/open-message-format/p...
In Show HN: Open Message Format – a compact, vendor-agnostic spec for messages
Lots of broken links in the doc, though I guess the YAML file specifies everything: https://github.com/open-llm-initiative/open-message-format/b... The metadata tokens is a string [1]... that doesn't seem right. Request/response tokens generally need to be separated, as they are usually priced separately. It doesn't specify how the messages have to be arranged, if at all. But some providers force system/user/assistant/user... with user last. But strict requirements on message order seem to be going away, a sort of Postel's Law adaptation perhaps. Gemini has a way of basically doing text completion by leaving out the role [2]. But I suppose that's out of the standard. Parameters like top_p are very eclectic between providers, and so I suppose it makes sense to leave them out, but temperature is pretty universal. In general this looks like
Read the rest
a codification of a minimal OpenAI GPT API, which is reasonable. It's become the de facto standard, and provider gateways all seem to translate to and from the OpenAI API. I think it would be easier to understand if the intro made it more clear that it's really trying to specify an emergent standard and isn't proposing something new. [1] https://github.com/open-llm-initiative/open-message-format/b... [2] https://ai.google.dev/gemini-api/docs/text-generation?lang=r...
In Show HN: Open Message Format – a compact, vendor-agnostic spec for messages

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.