Shows the threads of Amp, the coding agent amp, in the notch: working while a turn runs, done when it ends, its first prompt as its title, and its repository and its branch as its name. It shows no tool in use and no steps, and nothing is answered from Blossom.
Amp has no hooks of the shell. It runs plugins in TypeScript, with Bun, from a folder of plugins. Blossom installs one of its own, ~/.config/amp/plugins/blossom.ts, a copy of plugin.ts, which posts a few fields of the start and the end of each turn to a Unix socket in your own folder, ~/Library/Application Support/Blossom/amp/socket, where this adapter listens. Blossom launches the adapter.
This adapter was written from the documentation of Amp and was never run against a real one. Amp is not open source: what its documentation says and what is only supposed is in ../../documentation/roadmap/amp.md; the checks at the end say what to look at. Why Blossom installs a module, and what it may and may not do, is in the decision.
You need:
Blossom. It includes this adapter and the Bun that runs it; from a clone, bun run build makes one.
Amp, amp, in a version whose plugins have the API of its plugin documentation and reference as they were read on 3 December 2026, with the types of @ampcode/plugin0.0.0-20261203001628-g93e7914.
The quickest way. Blossom finds amp in your PATH or in the usual folders, and connecting it is one click: "Continue" on the second step of the introduction, with Amp checked, or its switch in Settings > Agents. Blossom then adds this adapter to its configuration, starts it, and writes ~/.config/amp/plugins/blossom.ts, readable by you alone, creating the folders it needs. No file of yours is changed: your other plugins stay as they are.
"Repair" in the row writes the plugin again when it is missing, when you changed it or when an update of Blossom brings another one; it keeps a copy of the file it replaces in ~/Library/Application Support/Blossom/backups/amp/. "Disconnect", shown while the agent is off, takes the adapter out of Blossom and deletes blossom.ts, after the same copy. A file named blossom.ts there that is not Blossom's, because it does not name the socket, is left alone and the row says so. Blossom does not follow XDG_CONFIG_HOME: with it set, Amp reads another folder and does not load the plugin.
Amp loads its plugins when it starts; plugins: reload in Amp loads them again.
bun install && bun run bootstrap && bun run buildBLOSSOM_CONFIGURATION=adapters/amp/configuration.json apps/macos/build/Build/Products/Debug/Blossom.app/Contents/MacOS/Blossom
The notch shows nothing until a turn of Amp starts. Run one Blossom at a time: the adapter holds the socket, and the adapter of a second Blossom logs cannot listen for the plugin of amp and exits.
No steps, on purpose. Amp tells a plugin of each tool through tool.call and tool.result, and both are requests: Amp waits for the answer of every handler before the tool runs or before its result reaches the model. A handler of tool.call must answer whether the tool runs, and {"action": "error"} stops the thread. What Amp does when a handler throws, never answers or answers nothing is not documented. Listening there would put Blossom in the way of every tool call, so the plugin does not, and Blossom shows a turn as working with no tool and no steps.
What the plugin does. It listens to agent.start and agent.end, and to nothing else. Both are requests too: the handler of agent.start answers {}, the answer that adds nothing to the prompt, and that of agent.end answers nothing, which starts no other turn; both answer at once, before anything is posted. The posts go one after the other in the background, one second each at most. With Blossom closed, every post fails at once and Amp notices nothing. It imports node:http alone, reads no file, logs nothing and runs no command.
What it sends. The identifier of the thread, the folder of the workspace and the process of the plugin with both events; the first 4096 characters of the prompt that starts a turn, and the variables a terminal sets. Never the answer of the model, a tool, a command or the content of a file. The adapter keeps the title and the folder.
A thread shows up with its first prompt.agent.start starts a session for its thread. The title is the first line of the first prompt, cut to 60 characters; a prompt that starts with / or ! titles nothing. Amp hands a plugin the events of every thread its client runs, side threads included, and each is a session of its own.
How a turn ends.agent.end ends it, whether it was done, failed or cancelled; Blossom shows it done.
How a session ends. Amp has no event for the end of a thread. Its sessions leave when the process of the plugin ends, which Amp ends when it quits, within five seconds; until then a thread you left stays, done, until you dismiss it.
Needing you. Amp asks for no approval of a tool by default, and gives a plugin no event of an approval or of a question, so a session never shows that it needs you.
The folder. Amp gives a plugin the root of the workspace you opened, the same for every thread of the process; a thread that works in another folder is named after the workspace. A workspace that is not a folder of the Mac, or no workspace, names no folder.
The terminal. Amp runs a plugin in a process of its own. With each prompt the plugin sends the variables a terminal sets and its own process and its parent; whether that process holds the terminal of Amp is supposed. The adapter checks every value as it checks those of a hook.
Where it runs. Amp loads the plugins of ~/.config/amp/plugins for the CLI on this Mac. Threads that run in an orb or on a runner elsewhere do not load it.
The socket is yours alone. A process that runs as you can still post to it or listen on it while Blossom is closed. 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 plugin was loaded into a double of the plugin API of Amp, written from its documentation and its published types, and its posts reached the adapter through a real socket; it never ran inside Amp. Each check below needs amp signed in.
It loads. Connect Amp from Blossom, start amp in a new folder and run amp plugins list in a shell. Is blossom listed, with agent.start and agent.end?
A turn. Ask hi. Does the tile appear, titled hi and named after the folder, and turn green when the answer ends?
A tool. Ask read the file package.json. Does the tile stay working with no step, and Amp read the file as without Blossom?
Two threads. Start a new thread and ask hi. Does a second tile appear?
The end. Quit amp. Do its tiles leave within a few seconds?
Without Blossom. Quit Blossom and ask hi. Does Amp answer as before, with nothing printed about a plugin?
Disconnect. Disconnect Amp in Settings > Agents. Is ~/.config/amp/plugins/blossom.ts gone, and your other plugins still there?