Shows the sessions of Mistral Vibe, the program vibe of Mistral AI, in the notch: working, done when a turn completes, failed when a turn fails, needing you while Vibe waits for your approval of a tool or asks you a question, what the tool in use does, its first prompt, its repository and its branch as its name, its tool calls as steps and how many subagents it runs.
Vibe reports through hooks: each hook posts its event with curl to a Unix socket in your own folder, ~/Library/Application Support/Blossom/vibe/socket, where this adapter listens. Blossom launches the adapter.
Permissions and questions are answered in Vibe. Blossom shows that the session needs you, and you answer in the terminal: a pre_tool hook runs before the permission prompt and can deny a call or rewrite it, never approve it.
The hooks are entries [[hooks]] of the hooks file of Vibe in your home folder, ~/.vibe/hooks.toml, added after yours. The hooks file of a project, ./.vibe/hooks.toml, is never touched.
This adapter was written from the documentation and the source of Vibe and was never run against a real one. What they say and what is only supposed is in ../../documentation/roadmap/vibe.md; the checks at the end say what to look at.
You need:
Blossom. It includes this adapter and the Bun that runs it; from a clone, bun run build makes one.
Mistral Vibe, vibe, signed in. The hooks follow the page Hooks as read on 2 December 2026, and the source of mistralai/mistral-vibe at commit 4f1f29beb9586757b1015728913f842bfb1f9def of 1 December 2026: the loading of hooks files in vibe/core/hooks, the running of a command in harness/runtimes/python/python/mistralai_vibe_local_harness/vibe/_foreign_hooks.py, and the hooks the app server fires itself in vibe/app_server/_host_hooks.py.
curl, printf, cat and ps, which every hook runs by their full paths under /usr/bin and /bin. Vibe runs a hook with /bin/sh -c; the hooks were tested with sh, bash and zsh.
The quickest way. Blossom finds vibe on your Mac, in your PATH or in the usual folders, ~/.local/bin among them, where uv tool install puts it, and connecting it is one click: "Continue" on the second step of the introduction, with Mistral Vibe checked, or its switch in Settings > Agents. Blossom then adds this adapter to its configuration, starts it, and adds the entries of adapters/vibe/hooks.toml to ~/.vibe/hooks.toml, after the last [[hooks]] of yours.
The file is yours, so Blossom edits it by lines and never writes it again from what it read: your comments, your order, your quotes and your own hooks stay as they are, byte for byte. When the file is missing, Blossom creates it with its entries alone, readable by you alone. Before each write it keeps a copy of the file in ~/Library/Application Support/Blossom/backups/vibe/, named after the moment in UTC, and it puts the new content in place in one rename, so a failure halfway leaves the file as it was. A file that is not valid TOML, or that writes its hooks inline, hooks = [ … ], is left alone, and the row says why. Each entry of Blossom has a name of its own, blossom- and its type, such as blossom-pre-tool; Vibe refuses a second hook with a name it already loaded, so a hook of yours with one of those names, in a project or in your file, wins over Blossom's. "Repair" in the row puts the entries back when they are missing or not the ones this Blossom installs. "Disconnect", shown while the agent is off, takes the adapter out of Blossom and its entries out of the file, which then holds what it held before connecting, or nothing when Blossom created it. Blossom does not follow VIBE_HOME: a Vibe that uses another folder does not read the file. What Blossom writes and why is in the decision.
Vibe reads its hooks when a session starts. A session that was open when you connected reports from its next start.
bun install && bun run bootstrap && bun run buildBLOSSOM_CONFIGURATION=adapters/vibe/configuration.json apps/macos/build/Build/Products/Debug/Blossom.app/Contents/MacOS/Blossom
The notch shows nothing until a session of Vibe reports. Run one Blossom at a time: the adapter holds the socket, and the adapter of a second Blossom logs cannot listen for the hooks of vibe and exits.
An app opened from Finder reads ~/Library/Application Support/Blossom/configuration.json. Name the adapter by its package, which Blossom includes, so neither a path nor Bun is needed:
{ "adapters": [{ "package": "vibe" }] }
If the file already exists, add the adapter to its adapters list instead.
Vibe also reads the hooks of a project from ./.vibe/hooks.toml, once you trust the folder. So try the hooks in a folder made for it, and nothing of yours changes:
cd "$(mktemp -d)"mkdir -p .vibe && cp "<absolute path of the clone>/adapters/vibe/hooks.toml" .vibe/hooks.tomlvibe
Trust the folder when Vibe asks. What you should see:
Nothing when the session opens. The tile appears next to the notch with the first prompt, named after the first line of that prompt and the repository, blossom · Fix the flaky notch tests, with its branch beside it.
No badge while it works, and the tool in use in live.
The amber badge while Vibe asks you to approve a tool or answer a question, and no request panel: answer there.
The green badge when a turn completes; the red one when it fails.
After an install by hand; after connecting from Blossom, Disconnect does it, and removing Blossom takes out the hooks of every tool, see Removing it. Open ~/.vibe/hooks.toml and delete each [[hooks]] entry whose name starts with blossom- and whose command names Blossom/vibe/socket, from its [[hooks]] line to its command line. Then check that none is left:
Permissions and questions are shown, not answered. Vibe runs a notification hook of type approval_requested when a tool call waits for your approval, and question_asked when the agent asks you a question. The session needs you until its next event: the end of the tool, the next tool, or the next call to the model. A pre_tool hook runs before the prompt and can deny or rewrite a call, never approve it, so nothing here could answer from the notch.
A session shows up with its first prompt. An open session with nothing typed shows nothing, and so does a session that was already running when Blossom started, until its next prompt. session_start is not installed.
The name comes from the first prompt and the repository. The first line of the first prompt, as pre_agent gives it, is the title, cut to 60 characters, and stays; a prompt that starts with / or ! titles nothing. The project is the repository and the branch of its folder, read from HEAD and the pointers of .git at most once every five seconds, without running git. See ../../documentation/decisions/names.md.
Steps are tool calls. Each call of a tool is a step, from its pre_tool to its post_tool, paired by the tool_call_id Vibe gives every call, and failed when its tool_status is failure. A call you decline never runs, has no post_tool and shows failed at the end of the turn, like any step still running then. A step is the verb and the name of the file of read_file, edit and write_file, never its folder or its content, or a label for any other tool: bash has no description to show, and its command is never shown. Those fields are read from the source, not seen in a run. Nothing a tool printed is reported.
How a turn ends. The notification of type turn_completed is done and turn_failed is failed; Vibe sends both for the main agent only. An interrupt is not seen: Vibe sends no hook when you press esc, so the session stays working until its next prompt, the end of the session, or the death of its process.
Subagents are counted from their prompt to the end of their turn. A subagent of Vibe runs as a session of its own whose hooks name its parent in parent_session_id. Its pre_agent adds one to its parent and its post_agent or session_end takes one away; its events are never steps or sessions of their own. An approval a subagent waits for makes its parent need you. The end of the turn of the parent sets the count to zero.
The hooks send the whole payload, and the adapter keeps a few fields. Each hook sends {"event":"<its type>","payload":<the payload>}, the payload as it came, with your prompt, the input and the output of tools and the answer of the model. The adapter keeps the identifier of the session, of its parent and of the call, the title taken from the first line of the prompt, the name of the tool and the words of its step, whether it failed, the folder and the type of a notification, and drops the rest at once. Nothing else of your prompt or of a tool is kept, logged or sent to Blossom. The event is the one the hook is installed on, so no text of the payload can pass for another.
The terminal of a session. The hook of pre_agent also finds the terminal the session runs in, the way the hook of Claude Code does: it walks up from the process that started it with /bin/ps and reads the variables a terminal sets, such as TERM_PROGRAM, and sends what it found in headers. The adapter passes it to Blossom. No other hook looks for it.
The hooks print nothing and always succeed. Vibe reads what a hook prints as a JSON answer, takes any other output or an exit status other than 0 for a failure, shown as a warning, and a pre_tool hook marked strict that fails denies the tool. Every command sends everything it runs to /dev/null and ends with || /usr/bin/true, none is strict, so neither a configuration file of curl nor whatever answers on the socket can make a hook decide anything, and with Blossom closed every tool still runs. A function of your shell named curl, printf, cat or ps does not run in place of the full paths.
The hooks name $HOME and nothing else without a default. The process and the variables of the terminal are read with ${NAME-}, so a shell that refuses unset variables still runs them.
The hooks ignore your curl configuration.-q keeps curl from reading ~/.curlrc and its siblings.
Without Blossom, Vibe works as before. With Blossom closed nothing listens on the socket: each hook gives up at once, prints nothing and ends without an error. When the adapter is alive but does not answer, every event waits one second, inside the sixty seconds Vibe gives a hook by default, and inside the two seconds Vibe waits in all for its last hooks when you quit. pre_llm runs before each call to the model, so a turn that uses many tools runs it many times; it costs a curl each time.
A session whose vibe was killed leaves within seconds, if the process is the one supposed. Every command names the process that started its shell, in the header Blossom-Process. In Vibe that is its app server, the process the terminal program vibe starts and talks to; it is supposed to end with it. The adapter watches a process only once two events in a row name it, and every five seconds asks the system whether it still exists.
Vibe edits the file too. The command /hooks of Vibe adds, changes and deletes entries of ~/.vibe/hooks.toml in place, line by line. Blossom recognizes its entries by the socket their command names; one you change there reads as outdated, and Repair puts it back.
The socket is yours alone. It lives in a folder only your user can open. A process that runs as you can still post events to it, or listen on it while Blossom is closed and read the payloads, your prompts included. See ../../documentation/decisions/socket.md.
Sixty-four sessions at most. When a sixty-fifth starts, the adapter closes the one it heard from least recently.
The hooks find the socket through $HOME. A session started with another HOME does not report.
The adapter was tested with its hook commands run by sh, bash and zsh against the socket, with payloads written from the documentation and the source, never captured from a run. Each check below needs vibe signed in. Write down what the line in italics asks.
Prepare once. To see the raw payloads first, make a folder whose hooks log what they receive, trust it when Vibe asks, and remove it afterwards:
T=$(mktemp -d) && cd "$T" && mkdir -p .vibe && echo "$T"for type in pre_agent pre_tool post_tool pre_llm notification post_agent session_end; do printf '[[hooks]]\nname = "logger-%s"\ntype = "%s"\ncommand = "{ /bin/echo %s process ${PPID-}; /bin/cat; /bin/echo; } >> %s/events.log 2>/dev/null; /usr/bin/true"\n\n' "$type" "$type" "$type" "$T"; done > .vibe/hooks.tomlvibe
The payloads. Ask hi, then run the shell command ls, allow it, and quit. Is every event of events.log followed by one line of JSON with session_id and parent_session_id, prompt on pre_agent, and tool_name, tool_call_id and tool_status on the tool events?
The process. In a second terminal, ps -ax -o pid,ppid,command | grep -i '[v]ibe'. Is the process on every line the app server of the session, the child of vibe, the same for the whole session?
A permission. Ask run the shell command touch probe.txt and wait. Is there a notification with "notification_type":"approval_requested" and the session_id of the session? Decline it. Is there no post_tool for the call?
A question. Ask ask me to choose between two options before you answer. Is there a notification with "notification_type":"question_asked"?
A subagent. Ask for a task that Vibe hands to a subagent. Do its events carry a session_id of their own and the session's as parent_session_id? Does its post_agent come?
The end of a turn.Does each turn end with a notification of "notification_type":"turn_completed"? Does esc send nothing?
The field names.Is tool_name written file_system.read_file, and does its tool_input carry file_path?
Then run Blossom with the adapter and connect Mistral Vibe, which adds the hooks to ~/.vibe/hooks.toml. Delete the folder of the logger.
A turn. In a new folder, start vibe and ask hi. Does the tile appear with the prompt, titled hi and named after the new folder, with no badge, and turn green when the answer ends?
A tool. Ask run the shell command sleep 5 and allow it. Does live show the tool, does detail list it as a step, and does the tile turn green at the end?
A permission. Ask run the shell command touch probe.txt and do not answer yet. Does the tile turn amber, with no request panel? Allow it. Does it go back to working, and turn green at the end?
A question. Ask ask me to choose between two options before you answer. Does the tile turn amber while Vibe asks?
A subagent. Ask for a task handed to a subagent. Does peek show one running subagent while it works, its tools nowhere among the steps, and none once it ends?
An interrupt. Ask count from 1 to 300, one number per line and press esc. Does the tile stay without a badge, as this guide says, and turn green after the next prompt completes?
The end. Quit vibe. Does the tile leave at once? Start it again, ask hi, and kill -9 the vibe process from another terminal. Does the tile leave within about five seconds?
Quitting Blossom. Quit Blossom and ask run the shell command ls. Does the tool run, with no warning about a hook?
Disconnect. Disconnect Mistral Vibe in Settings > Agents. Is ~/.vibe/hooks.toml as it was before connecting, and does a new session no longer show?