HYOAI from 1.1 to 1.7: compare mode, tools, MCP, projects and the embedded widget
Buoyed by the community's enthusiasm, with six pull requests from three outside contributors, five of them taken in whole or in part, HYOAI, the Zenetys AI chat client that runs in the browser, has released seventeen versions from 1.1.0 to 1.7.1: a more reliable compare mode, tools with approval, MCP servers, redesigned settings, projects, an embedded widget and animations.


This article covers what changed for the user and for the administrator who deploys HYOAI. It also looks back at the outside contributions taken into the code.
- Online demo: tools.zenetys.com/tool/hyoai (opens in a new tab)
- Source code: github.com/zenetys/hyoai (opens in a new tab)
The principle has not changed. HYOAI is a static application with no application server: the browser talks directly to the API of your inference server (llama.cpp, vLLM, Ollama or any OpenAI-compatible endpoint), and conversations stay in the browser. No model is provided: you bring your own.
Comparing without losing a conversation (1.1)
Compare mode sends the same question to several models and shows their answers side by side. Version 1.1 fixed several defects that could lose a conversation: a new conversation started in a pane no longer overwrites the previous one, a conversation deleted while it was displayed no longer comes back, and closing a pane no longer moves the focus to the first one but to its neighbor.
Closing a pane no longer stops its generation. The conversation keeps running in the background, shows up in the sidebar while it works, and can be reopened at any time. When only one pane is left, compare mode ends and the conversation continues as a normal chat, with its model, its reasoning level and its effort, without being interrupted.
Model availability
A model that cannot answer is now reported instead of failing at the end of the request. An unreachable server, a disabled entry or a model that its server no longer lists appear grayed out in the selectors, with the reason and a "Retry" button. In a single chat, the composer is blocked with the same reason; in compare mode, the pane is grayed out and left out of the send ("Sending to 2 panes of 3"). HYOAI never switches to another model without telling you.
The "Automatically disable unavailable models" setting is on by default. A server that sends nothing during a generation is only given up on if a check shows that it is really down: a slow llama.cpp running on a CPU is never cut off.
Plugins for what is specific to a deployment (1.1)
A plugins/ folder, ignored by git, lets you add server types at build time: drop a folder in and restart npm run dev or run npm run build. A plugin can bring its own server type and translations, and report its activity through generic events that are displayed the same way for every plugin. Without a plugin, the application builds and runs as before. The transport that was specific to a private backend left the core and became a plugin.
Tools: calling functions, with approval (1.2)
Version 1.2 lets a model call tools while it answers. A tool is a function the model can ask for: HYOAI ships a demonstration tool, the Clock, which returns the date and time, and plugins can provide others.
Tools are off by default. A wrench button in the composer opens a panel with a switch for the open conversation and the list of providers. Unless you set otherwise, each call is shown with its full arguments and waits for your decision: allow once, always allow this tool, or deny. In the last case, the model is told about the refusal and goes on without the call.
Several limits frame the loop. Calls run one after the other, at most 16 per step; an answer stops after 10 steps by default, and you can then continue or have the model answer without tools. A result is capped at 20,000 characters and shown as plain text, never rendered as Markdown or HTML, and a call is cut after 60 seconds. In the answer that follows a tool result, remote images are not loaded: they show as links, which limits what an injected instruction could send out through an image address. "Always allow" applies to a single tool, never to a whole provider, and importing a file never brings the approvals back.
On the server side, the tools have to be supported: llama.cpp must be started with --jinja, and vLLM with --enable-auto-tool-choice and a --tool-call-parser. When a server rejects the tools, the error message says which option to add. Version 1.3.2 then clarified the wording: a tool that you set aside is "Hidden from the model", not "Disabled", since the provider and its other tools remain available.
MCP servers (1.3)
Version 1.3 opens the tools of an MCP (opens in a new tab) server. This open protocol describes how a model reaches tools. A server declared in config.json, or added from the settings, provides tools that appear next to the Clock and go through the same approval. Two transports are supported, Streamable HTTP and, as a fallback, SSE. Authentication uses static headers, typically Authorization: Bearer, and OAuth is not supported. Because HYOAI runs in the browser, these headers are sent from the browser; the ones written in config.json can be read by anyone who can load the page, which the documentation states.
Nothing connects at startup: an enabled server connects the first time its tools are needed. Its state is readable at a glance: connected, authentication refused, not found, no answer, unreachable or, when the browser hides the cause, "CORS blocked" or "Local network", with the list of headers that the server has to send. The tool list is bounded (at most 200 tools per server) to protect the model's context, and the images or audio that a server returns are replaced by a short note.
The tools of an MCP server follow the same approval rule. "Always allow" is tied to the identifier and the address of the server: if the address changes, its tools fall back to the default approval. The hints that a server declares (read-only, destructive, reaches outside) are shown with the note "declared by the server, not verified" and do not change any approval.
Each model can also be restricted to certain servers, with an mcpServers list in its entry, which keeps a small model from being offered tools that it cannot use well.
The same version adds an optional recovery of the calls that some models write as plain text (the recoverToolCalls option, off by default), and now reports an answer that ends without saying why as an error, instead of staying silent. Version 1.3.1 fixed how the reasoning of models is handled during tool calls.
Redesigned settings (1.4)
The settings window is no longer a set of tabs. It becomes a window with a navigation list on the left and one page per topic: nine pages in four groups, with the generation settings, the most technical, coming last. Each setting is a flat row, with its label and explanation on the left and its control on the right.
A search box at the top of the navigation filters the settings as you type and leads straight to the right control. The address follows the window: ?settings= followed by the page name opens the settings at the right place, so you can send a colleague a precise link. The Models page replaces the old configuration tab, with one row per model, its state and a switch; the MCP servers page replaces the cards that sat at the bottom of the Tools tab.

The administrator gets two optional keys in config.json. notice shows an information strip at the top of the application, per language, with an end date and the option to close it. placeholders replaces the text of the message box of an empty conversation with a list of phrases that rotate every five seconds, except for a reader who asks for reduced motion. On a phone, the menus of the composer open as sheets, and the settings are shown as two screens.
Versions 1.4.1 to 1.4.3 complete this work. The JSON generated by the Configuration page now keeps every key, including the ones that no page edits, and can therefore replace config.json as it is. An entry can set "thinking": { "disabled": true } for a model that does not reason, image and audio attachments are set with two selects instead of a JSON field, and a "Changelog" page in the settings lists the release notes of every version, the installed one being marked and open.
Projects (1.5)
A project groups conversations that share instructions and a default model. It has a name, optional instructions and an optional model, and nothing else. The sidebar is split into sections: pinned conversations, one collapsible section per project, then "Other conversations". The instructions of a project act as a system prompt for its conversations: the system message of a conversation still wins over them, and they win over the global system prompt. They are read when each request is built, so editing them applies to the next message, including in existing conversations.
A project is created from the "Move to a project" entry of a conversation menu. The sidebar search can be limited to one project. Projects are not exported, stay in the browser like conversations, and the embedded widget shows none.
Version 1.5 also brings the command palette to touch screens, where Ctrl/Cmd+K is out of reach: it opens from a search button, as a sheet that follows the visible area of the screen, with the field at the bottom and the best match closest to the thumb. The palette gains a "Change theme" action and, when nothing matches, offers to start a conversation about the text you typed.
In the form of a model, the JSON fields for thinking and effort are replaced by switches and a list of effort levels that can be reordered. Finally, HYOAI has a new icon.
Project documents and the context gauge (1.6)
A project can now carry documents: text files that the model should know in every conversation of the project, such as a style guide, a price list or a product FAQ. They are added from the "Documents" page of the "Context" entry of the project settings. .txt, Markdown, CSV and PDF files are accepted, picked or dropped, up to 1 MB each and 5 MB of text per project. Only the text is kept, read once when the file is added, and a PDF with no text layer is refused. Each document shows its size in estimated tokens.
Documents are stored in IndexedDB, stay in the browser, are not exported, and "Clear all data" removes them. Every request of a conversation of the project carries them, in the system message, after the instructions.
When everything does not fit in the context window of the model, the choice of the project decides: "Truncate", the default, sends the documents in order until the room runs out and cuts the one that crosses the limit, with a note that says so; "Exclude" sends none of them, so the model never works from half a document. The page shows a gauge for each enabled model, with a badge saying whether everything fits. The model menu of a project conversation repeats these gauges, measured on the conversation as it stands, so you can see which model takes the whole context before picking one. The sizes are estimates, at four characters per token.

Starter suggestions, animations and tools on by default (1.6.0 and 1.6.1)
A deployment can list a few starter prompts in config.json, under the suggestions key: categories, each with a label, an optional icon and items with a title and a prompt. They show under the message box of an empty conversation, one pill per category, and disappear as soon as you type. Version 1.6.1 lets you set "send": false so that choosing one writes its prompt in the message box without sending it, which suits a prompt such as "Translate this text:" that waits for what the reader pastes next.
Version 1.6.1 also eases the changes of state: foldable blocks (tool calls, sources, reasoning) slide open and closed, and a message added to a conversation fades in, while the messages of a conversation you open do not. All of it follows the reduced motion setting of the system. Finally, a deployment can start new conversations with tools on, with "tools": { "enabledByDefault": true }, the choice a reader makes in the settings always winning.
The embedded widget (1.6.2, 1.6.3 and 1.7.1)
The same static build can be shown in an iframe, with ?embed=1, as a compact chat surface that a host page drives through postMessage. Versions 1.6.2 to 1.7.1 extend this bridge without changing anything for a host that already works.
Version 1.6.2 fixes the display in a narrow iframe, around 370 px: a code block with a long line widened the message list, headings were cut in the middle of a word, and the scroll-to-bottom button moved off center. Messages now wrap inside the frame, and the code block scrolls sideways inside its own frame. A width parameter sets the width of the chat column, medium by default, large or xlarge. The origins that are allowed to embed the widget (embedOrigins) accept a host with a port, such as localhost:4302, which was never recognized before. A run message can carry its own systemPrompt, temperature, maxTokens and thinking, an abort message cancels a run, and the ready message announces the version of the widget and its capabilities, so that a host can check for a feature instead of sending blind.
Version 1.6.3 lets the host page offer its own starter suggestions and its own placeholder in the empty conversation of the widget, through a config message, and adds direct suggestions: an entry with a title and no items becomes a pill that runs at once. Version 1.7.1 fixes one last defect: with input=bottom and intro=1, the welcome heading moved up by about 94 px when a list of suggestions arrived, and moved back when it went away. It now keeps its place. The embedding guide (opens in a new tab) describes every message and every parameter.
Animations, direct typing and theme (1.7)
Version 1.7.0 finishes easing the interface where it still jumped. The names that open a block, such as the reasoning, the sources and the details of a tool call, and the rows of the menus, the selects and the command palette, now take their highlight at the same pace as the buttons around them. A select no longer pops in: it fades.
The icon of a tool call no longer swaps from one state to the next. The question mark of a call that waits for approval gives way to the spinner, then to the check, and the text beside it fades into the next one. The panel with the "Allow once", "Always allow" and "Deny" buttons folds away instead of vanishing, so the calls below it slide up. While it opens or folds, a conversation that was at the bottom stays at the bottom, so the buttons never end up half hidden under the message box, and a conversation that the reader had scrolled up is left where it was.
When nothing takes text, for example after a click on a button, typing now gives the focus to the message box and the character lands in it, so the field no longer has to be clicked again. The space bar is left to a button that it would press, and nothing is taken while a dialog, a menu or the command palette is open, in a field of its own, or for a shortcut. Changing the theme, from the command palette, the header, the "More" menu or the settings, now fades in about a fifth of a second, in the browsers that can do it.
A new "Animations" switch in the settings, under "Appearance", turns the fades, the slides and the eased hovers off for the whole interface. It is on by default and it is remembered. The reduced motion setting of the system is always honored, and a spinner still turns.
Community contributions
Since the introduction of HYOAI, three contributors from outside Zenetys have proposed six pull requests. Five were taken in whole or in part: the code is integrated with its original author in the history, and the notes of version 1.0.2 credit each contribution.
- The Mermaid diagrams, rendered in the conversation with a button to download them as SVG, and the LaTeX formulas displayed with KaTeX come from Tobias (1.0.2).
- Detecting the size of the context on vLLM and SGLang servers, as well as llama.cpp, also comes from Tobias (1.0.2), as does the base of unit tests with vitest.
- The option to send models their previous reasoning, with
preserve_thinking, comes from cptjerry (1.0.2). - The optional recovery of the tool calls that a model writes as plain text (
recoverToolCalls) takes up Tobias's detector (1.3.0). His proposal for client-side MCP support came before version 1.3.
The sixth proposal, a wider set of features with a Chinese localization, was not taken: its author maintains it in a repository of their own.
What does not change
The principles of the first version are intact: no backend, conversations kept in the browser, messages sent only to the endpoints you configure. The notes of versions 1.4 to 1.6.2 all state that config.json, local overrides and stored settings are read as before, and 1.6.3 is entirely additive; the few exceptions are described in the notes of the version concerned.
The notes of every version are available on the releases page (opens in a new tab), in the CHANGELOG.md file of the repository, or directly in the application, on the "Changelog" page of the settings.
Try HYOAI
The demo is available with no installation at tools.zenetys.com/tool/hyoai (opens in a new tab). The source code, the documentation and the guides (models, tools, MCP, compare, embedding) are on github.com/zenetys/hyoai (opens in a new tab). The documentation of the MCP protocol itself is at modelcontextprotocol.io (opens in a new tab).

