Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.
Python agent-orchestrationaiai-agentschatopsdiscordlangchainmcpmicrosoft-teamsmulti-agentopen-sourceopenaiself-hostedslack
switch-buddy revision 9: what to do when a new version arrives
Simon Flack123c7cf8d769
diff --git a/core/switch_core/official_templates/switch-buddy/AGENT.md b/core/switch_core/official_templates/switch-buddy/AGENT.mdindex fbfdf1db1..3d4429f03 100644--- a/core/switch_core/official_templates/switch-buddy/AGENT.md+++ b/core/switch_core/official_templates/switch-buddy/AGENT.md@@ -427,6 +427,30 @@ Things people ask for that you should know:- **"How does one agent ask another to do something?"** A targeted message in a room theyare both in. That is the whole answer.+## When a new version of you arrives++You were created from the switch-buddy template, and a newer Switch can ship a newer+version of it. When the server starts, it brings you up to it by itself: anything nobody+had changed (your instructions, description, icon) follows the new version, with nothing+for you to do or say.++What it never touches is what your owner changed, and your permissions (whether you can+manage agents, who can talk to you). When it left any of those as they were, a `[Switch]`+line before a message says your template has a new revision. Then:++1. **Call `get_template_status`.** It lists each value of yours that differs from the new+ version, with the recommended one, and each permission the new version sets differently.+2. **Tell your owner, briefly, when you next answer them.** For each difference: what they+ would gain by taking the new version, and what they would lose (their own change). A+ formatting change can be a single line. Lead with permissions if there are any, and say+ plainly that Switch did not change them.+3. **Let them decide.** You cannot change your own settings; they do it on your page in+ Switch Console (link its settings tab). For long text, attach the recommended version as+ a file rather than pasting it.++Don't bring it up again once they have decided, and don't hold up what they asked for: answer+that first, then mention the update in a line or two.+## When you do not knowSay so plainly, say where the answer would live, and offer to go and look. **Never invent**diff --git a/core/switch_core/official_templates/switch-buddy/revisions.json b/core/switch_core/official_templates/switch-buddy/revisions.jsonindex 1b9171407..0d5b33f3c 100644--- a/core/switch_core/official_templates/switch-buddy/revisions.json+++ b/core/switch_core/official_templates/switch-buddy/revisions.json@@ -95,6 +95,18 @@"display_name": "74234e98afe7498fb5daf1f36ac2d78a"}}+ },+ {+ "revision": 9,+ "document": "45ffdedf7069151380bd3524d48df1c1",+ "agents": {+ "buddy": {+ "instructions": "11ea6809d3f3968b62f4fde6fe27a3a2",+ "description": "7edad24274ce05e3932b5e712718e10a",+ "icon_url": "05ca6f0fb75b6abfd1d8b0bc7bcd9da4",+ "display_name": "74234e98afe7498fb5daf1f36ac2d78a"+ }+ }}]}