Repository navigation
switchboard v0.7.0
go install github.com/go-steer/switchboard/cmd/switchboard@v0.7.0docker pull ghcr.io/go-steer/switchboard:0.7.0The module version keeps its v and the image tag does not.
The image is multi-arch (amd64 + arm64), distroless
(gcr.io/distroless/static-debian12:nonroot, no shell, no package manager)
and signed with Sigstore keyless:
cosign verify ghcr.io/go-steer/switchboard:0.7.0 \
--certificate-identity-regexp '^https://github.com/go-steer/switchboard' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comA release about running more than one agent behind one chat app. A
switchboard used to front exactly one daemon. It can now front several
core-agent or mast daemons, and a person chooses which one a conversation
goes to.
Several agents, one per thread. A config file lists the agents, a global
default_agent, and per-channel defaults and allow lists. A thread belongs
to the agent it started on for its whole life, and its approvals go to that
agent's daemon. agent lists a channel's agents, and
agent <name> <prompt> starts a thread with one. A bare agent opens a
picker: a dialog on Google Chat, a modal on Slack. Answers and permission
questions name their agent: on Slack they post under the agent's name and
icon (with the optional chat:write.customize scope), and on Google Chat
the card carries it in a header.
Google Chat threads behave. The agent's answer starts its own thread
from a starter message, since Chat won't take an app's reply into a slash
command's thread. The ⏳ placeholder is edited into ✔ Done or
✖ Stopped instead of being deleted, so turns no longer leave
"Message deleted by its author" behind. core-agent's checkpoint summaries no
longer appear before each follow-up.
Tool notices are quieter and say more. MCP calls show what they act on
(pod · us-central1/std-simian-test) rather than an output format or an
internal handle, and the marks are monochrome ▸ ✔ ✖.
A GKE example (deploy/examples/gke-demo) runs a platform agent and a
small general-purpose one behind both gateways, with the Chat HTTP ingress,
Workload Identity and durable state.
Upgrading needs no flag or config change. Without an agents list nothing
about routing changes and no reply is signed. When moving to a list, make
the daemon you were using its default_agent, and existing threads and
approval buttons keep working without a migration. Images are built with Go
1.26.9 for the net/http advisories listed under Security.
Security
- Go 1.26.9 and
golang.org/x/netv0.60.0 for net/http advisories
GO-2026-6608, -6610, -6611, -6612, -6613 and -6617, which govulncheck reported
against Go 1.26.6 and x/net v0.57.0. Thegodirective, which the release
image builds with, and the Dockerfile's defaultGO_VERSIONboth move to
1.26.9. The images had been building with 1.26.3 while CI used the 1.26.6
toolchain line.
Added
-
Several agents behind one gateway, phase 1 of multi-agent (#140). A
config file can register several core-agent or mast daemons (agents, each
with its owndaemon_urlandtoken_env), name a globaldefault_agent,
and give a channel its owndefault_agentand anagentsallow list.- A conversation belongs to the agent it started on for its whole life, and
its approvals go to that agent's daemon. - With an
agentslist, the agent is written into the state records and
the approval buttons' decision ids. Without one, nothing names an agent,
so existing records and buttons belong to whatever the default agent is.
Moving to a list needs no migration as long as the daemon you were using
becomes thedefault_agent, and startup warns when that choice is left
implicit. - A thread whose agent has been removed gets a notice and is not rerouted.
- Without an
agentslist, nothing changes. - The admin API follows in a later phase.
- A conversation belongs to the agent it started on for its whole life, and
-
The agent picker on Google Chat (#140, phase 3b). A bare
/agent
replies with the agent list and a Start a conversation… button
(interaction: OPEN_DIALOG). It opens a dialog with:- a dropdown of the space's agents, the default selected, each with its
newdescription; - an optional prompt;
- Start, which starts the thread exactly as the typed form does.
A slash command with Opens a dialog ticked opens the dialog directly,
but only once the app has been removed from the space and re-added: Chat
caches a space's command settings (measured). The button works either way.
A Slack slash command's reply now goes through the markdown conversion. HTTP ingress only. Agents gain an optional
descriptionin the config file. The listing reply is a markdown card, so
its bold renders: the plain acknowledgment card's icon line showed literal
asterisks. - a dropdown of the space's agents, the default selected, each with its
-
Which agent answered (#140, phase 5). With an
agentslist, answers
and permission questions name their agent.- Slack posts them under the agent's
display_nameand new optional
icon_url. This needs thechat:write.customizescope, now in the
sample manifest; without it, replies go out as the app. - Google Chat heads the card with the agent's name and icon. A plain
answer gets a card for it, as for a usage footer. A text answer leads
with the name when it still fits one message; a longer one goes unnamed,
so the name never changes how a reply is split. icon_urlmust be https, at most 1024 characters.- The gateway's own messages stay the app's. A gateway without an
agents
list looks as before.
- Slack posts them under the agent's
-
The agent picker on Slack (#140, phase 3c). A bare
/switchboard agentopens a modal (views.openwith the command's
trigger id): a select of the channel's agents, the default preselected,
each with itsdescription; an optional prompt; Start, which starts
the thread exactly as the typed form does and tells only you. If Slack
won't open it, or there's nothing to pick, the command answers with the
listing as before. Needs no new scope. -
The GKE example runs two agents (#140).
deploy/examples/gke-demoadds
a small general-purpose core-agent (general, ongemini-3.5-flash-lite,
no cluster tools) next to the platform agent. Both gateways register both
agents, withplatformas the default, and Chat maps slash command 100 to
agent. -
agent: talk to a particular agent (#140, phase 3a).agentlists the agents a channel offers and marks the default.agent <name> <prompt>starts a thread with that agent. On Google Chat
the command's own thread becomes the agent's. On Slack
(/switchboard agent …) a starter message opens the thread.- Inside a thread that already has an agent, it names that agent rather
than switching. - Commands now carry their argument text as typed and, on Chat, the
conversation they were typed in. - The pickers (above) build on it.
-
A GKE deployment example:
deploy/examples/gke-demo(#131). It runs a
switchboard-dedicated gke-platform-agent daemon (core-agent:main, ask-mode
approvals) with switchboard's Google Chat and Slack gateways in front of it,
in one namespace. Chat uses the HTTP ingress behind a GKE Gateway with a
Certificate Manager map and calls the Chat API by Workload Identity, with no
key file. Both gateways keep durable state and track:main. The README
lists the one-time steps (static IP, DNS, IAM, secrets) and the cutover.
Changed
- Stream notices for MCP tools show what the call acts on. The argument
summary picked a command, path, query or URL, and otherwise fell back to the
alphabetically first field. A GKE call then readTABLE(its output format),
andretrieve_rawreadcall_4216138(an internal handle). Without one of
those fields, a call now shows up to four identifier facets (kind, name,
namespace, location) joined with·, such as
pod · us-central1/std-simian-test. Resource paths are shortened to their
last two ids. A facet is shown only if its value looks like a name, so a
manifest underresourceis skipped, and each facet is redacted on its own.
Noise fields are never the fallback. The line stays redacted and within 120
bytes. "One argument per call" now reads "one argument, or up to four
identifier facets". - Tool notices use heavy monochrome marks:
▸running,✔succeeded,
✖failed, replacing 🔧/✅/❌, which read as clutter in a busy thread. ✔ and
✖ carry the text-style variation selector, so clients draw the glyph rather
than a colour emoji. Approval records ("✅ Allowed…") are unchanged.
Fixed
- No more "Message deleted by its author" on Google Chat. Chat leaves
that tombstone wherever an app deletes a message in a thread, so every
turn's ⏳ placeholder left one. On Chat the placeholder is now edited into a
final line instead (✔ Done · 12s, or ✖ Stopped · 12s for a turn that
didn't finish), and the clock is no longer moved below narration, since a
move is a post and a delete. Adapters report it through a new
chat.DeleteLeavesTracecapability. On Slack nothing changes.- A clock left by an earlier turn, or by a restart, is finalised as
stopped. - With a queued message (#42), the next turn's clock stays above the
previous answer instead of moving below it. - A crash inside the half-second persist window after an answer can make
the restarted gateway relabel that turn's "Done" as "Stopped".
- A clock left by an earlier turn, or by a restart, is finalised as
agenton Google Chat answers in a thread, not as loose messages.
Phase 3a used the slash command's own thread for the agent's conversation,
but Chat won't take an app's reply into a slash command's thread. Its
REPLY_MESSAGE_FALLBACK_TO_NEW_THREADsilently started a new top-level
thread for every post (measured on the GKE deployment), so the answer
arrived as a loose message and follow-ups would have scattered. Chat now
starts from switchboard's own starter message, as Slack does. The Chat
adapter also reports the thread a post actually landed in, and logs when
Chat moved a reply, rather than claiming the thread it asked for. A long
reply's later parts follow it there. For the outbound ingress this means a
post's response, and the binding it makes, name the thread Chat really
used, which can differ from the one requested.- The
agentlisting reads as a list, and the startup line names the
registered agents rather than a stale default daemon URL. - A multi-call tool notice on Google Chat no longer runs together on one
line. A frame of several calls was one markdown paragraph, and Chat dropped
the blank lines between its calls. The header and each call are now separate
widgets, which always stack. - A long structured answer on Google Chat gets its usage footer again.
With core-agent 2.10 the footer is added by editing the answer once its
turn ends, and the edit was gated on the answer's text form fitting one
Chat message (4,096 bytes). A structured answer goes out as a single card,
which holds far more. So an answer that was never split, such as a pod table
whose aligned columns rendered 23 bytes past the text limit as a 4.7 KB
card, lost its footer. The check now follows how the answer was actually
sent.- Ingress timelines: the same check governs when an ingress timeline
rolls over. Under rich cards, a structured timeline now grows in one card
(up to about 26 KB) before starting a new message, where it used to roll
over at 4 KB. - Rejected card edits: an edit whose card Chat rejects no longer clamps
a text too long for one message into that message. The edit fails and the
message is left as it was.
- Ingress timelines: the same check governs when an ingress timeline
- core-agent's checkpoint summaries no longer appear in the thread. After
a turn that ends withmark_task_done, core-agent writes a checkpoint row
into the session history when the next message arrives. The row is
model-role text ("All requested tasks have been completed. Summary: …") and
switchboard relayed it like an answer, so every follow-up question in a
thread was preceded by it. Rows taggedcompaction(a checkpoint or a
summary) are now skipped, the same rule core-agent applies to its own
history. - A permission prompt with buttons no longer lists its answers as well.
The prompt text carries the answers as a•list, so a platform without
buttons can still show them, and both adapters rendered that list above the
buttons too. Where the answers are buttons, the list is now left off. On
Google Chat without an action URL, and anywhere the buttons can't be posted,
the list is still there.
Full diff: v0.6.0...v0.7.0