Octomind Supervisor Work: Besydr Plugin
skillExplain Besydr plugin completion checks, tool admission, condensing, planning, loop notes, and learning. Use for reruns or old supervisor settings.
agents that use this skill
instructions
Overview
Octomind has no built-in supervisor. Its work (completion check, tool admission, condensing of tool output, plan manager, loop notes, learning) is done by Besydr, a separate program that Octomind runs as a plugin.
A plugin is a program that Octomind sends events to (session start, each prompt, before and after tool calls, the end of a turn) and whose answers Octomind applies.
Use this skill to explain behaviour a user sees from Besydr, to turn the plugin on or off, and to point users with old [supervisor] settings to where those settings went. Details: https://besydr.com/docs/mechanics, /learning, /configuration.
Mental model
Two programs, two config files: Octomind decides whether the plugin runs (the root key plugins in config.toml), Besydr decides what it does (its own file). Without the plugin Octomind runs as a plain agent loop: no checks, no lessons, no condensing, no plan manager.
Rules
Lists, starts and installs the plugin
A new configuration has one entry in the root key plugins. It is an inline table, so the key stays above the first [table] header of config.toml:
plugins = [
{ name = "besydr", type = "stdio", command = "besydr", args = ["connect"], install_manifest = "https://cdn.besydr.com/latest.json", install_key = "uU5IoojVdfJZj5/fU4JQE8CXnmYXNBGo5nyLgWcNNrw=" },
]type = "stdio": Octomind startsbesydr connectand talks to it over standard input and output. That command joins the Besydr server shared by all your clients and starts it when it is not running.- When
besydris not installed, Octomind downloads it on first use from the releaseinstall_manifestnames; unless it is signed withinstall_key, nothing is installed. Octomind never updates the program, but Besydr checks for a newer release once a day and installs it itself when the licence includes it ([update] auto = falsestops that). - Provider keys: Besydr reads the OctoHub key that
octomind loginstores, so a logged-in user sets nothing. - Older configurations get this entry on upgrade, unless they already list a plugin named
besydr. - Besydr is free with Octomind and needs no licence there.
Turn it off
- Add
enabled = falseto thebesydrentry, or remove the entry; a plugin not listed, or withenabled = false, receives nothing.roles = ["developer"]on the entry limits Besydr to those agents (a name matches the agent's tag or namespace); empty means all. - One run only:
-c 'plugins=[]'runs Octomind with no plugin. - Single Besydr parts (condensing, learning) are switched in Besydr's file, not in
config.toml. - There is no
supervisor.enabledswitch.-c supervisor.enabled=falsefails withUnknown config override path 'supervisor.enabled'.
What Octomind does without the plugin
- The agent loop, tools and MCP servers, sessions and cost accounting.
- Compaction of long conversations, including
/done. - The rules in
.agents/guardrails.toml. - Storage and display of the plan (
/plan). The agent has no tool to change the plan; a plugin creates and advances it. Without a plugin/planreports no plan. - The status line: the agent ends each response with a hidden line that reports its state, which Octomind reads and removes before display.
- A hard stop for runaway tool loops: root key
max_identical_rounds(default10). When that many tool rounds in a row repeat calls and results already seen since the last new result, the turn ends with a notice naming the repeated call.0turns it off;-c max_identical_rounds=0sets it for one run. - Its own rules for which skill and which capability a request activates, which agent gets a delegated task, and which tool results a compaction summarizes.
What Besydr does
Most parts have a switch in Besydr's file. Several call a model, so they use your model account. /info in Octomind shows the calls, time and cost of each part that ran.
- Completion check (
[gate] enabled, default on). Before work starts, Besydr writes a checklist from your request. When the agent stops at the end of a turn you started, Besydr compares the checklist with the tool calls, results and file changes. Pass: the turn ends, but a turn that changed files is sent back once to test the request's conditions at their edge values and to restore any check it edited or removed. Gaps: the agent is sent back to work with the gaps as its next instruction. Unsettled: one note per user turn whenunsettled_advisoryis on, then the check runs again. Indeterminate (model unavailable or unusable answer): the turn ends and is recorded as unverified. At most 3 checks per turn, none while background work is pending or after a stopped turn. It is limited by the writing model and is not a code review. - Tool admission (
[authorizer] enabled, default on). A call is allowed unless the writing model finds a conflict with your words or the agent's role and the decision model confirms it; an unavailable, timed-out or unsure model allows it. A confirmed conflict is a denied call with a reason quoting your words. Two other denials: a call naming a path inside Besydr's own data directory or config file, and a call that trips a check compiled from one of your rules (The user's rule "..." forbids this call.;[learning] enabled = falsestops them). - Condensing of large tool output (
[condense] enabled,tokens_thresholddefault 5000,adaptive). A plain-text result above the threshold is cut to the chunks that report a failure, hold the requested data, or name a path or line to act on; the full original is saved to a file whose path the shortened result names. Results under 512 tokens are never candidates.tokens_threshold = 0turns it off. - Plan manager (
[plan] enabled). The agent signals that work has dependent phases; a separate model call creates, advances, holds or revises the plan, which/planshows. - Loop and no-progress notes. No switch, thresholds fixed: the same calls and results for 3 rounds, 5 rounds with nothing new, or failed commands with no later success. The note is advice and never blocks a call.
- Advice note (
[advise] enabled). A model writes the loop or failure note instead of the plain one; one in four eligible signals gets the plain note on purpose, to compare. - Standing rules. No switch. A rule you state for the rest of the session ("from now on, never push to main") is kept in your exact words, repeated with every later request and through compaction. At most 8 rules of 200 characters.
- Learning (
[learning] enabled, default on). Lessons from your corrections and rules, added to later sessions. They are Markdown files in<data directory>/learning/<project>/<role>/, written at session end, at a compaction (/donestarts it at once) and after 30 idle minutes;besydr learning listshows them from a terminal. In Octomind/learningcomes from the plugin:list,show,delete,clear,evolution. Generated skills and rules ([learning.evolution] enabled, default on, needs[gate] enabled = true;falseturns every generated rule off) are tried on part of the sessions before they are kept;/learning evolutionlists, approves, rejects and rolls back candidates. - Hindsight (
[hindsight] enabled) scores handed-back turns for the chance you will correct them; it acts on nothing. Project document sections ([inject] enabled) add the part of a document thatAGENTS.mdreferences and that fits the file being worked on; no model is called. - Judgements for Octomind. Octomind asks its plugin which skill, which capability, which agent for a delegated task, and which tool results a compaction may drop; Besydr answers with its decision model.
Besydr's configuration
besydr configprints the config file path (by default<data directory>/config/config.toml; the data directory is~/.local/share/besydron Linux and macOS) and whether the model keys' variables are set; it never prints a key.- The file is strict: every key present, unknown keys an error.
versionmust match the layout Besydr writes (an older file is upgraded in place, a newer one is refused). After an edit runbesydr restart, or edit inbesydr ui(Config page), whose Save restarts the server. [model](keys includename,reasoning_effort,max_tokens) writes text (checklist, completion check, plans, lessons);[decision]modelanswers short typed questions and writes no text. Both default tooctohub:auto.- Other tables:
[server],[sessions],[activity],[update],[licence],[instance],[learning],[learning.evolution],[gate],[authorizer],[hindsight],[advise],[plan],[condense],[inject]. - The skill, capability and agent judgements have no switch: with Besydr connected they always go to the decision model. The compaction judgement has one,
[decision] compaction(default on); withfalseOctomind uses its own rule.[decision]holdsmodel,recall(ask the decision model whether each recalled lesson fits the request) andcompaction; an unknown key there is an error. Theskills,capabilities,tapsandcompressionswitches that Octomind'sdoc/usage/14-supervisor.mdnames do not exist in Besydr's file.
Where the old settings went
- Octomind does not read
[supervisor], any[supervisor.*]table or[decision]inconfig.toml. - The upgrade saves them to
besydr-carry/supervisor.tomlbesideconfig.toml; Besydr reads that file once, on its first run, and takes matching settings into its own file. It also copies the lessons Octomind learned earlier. supervisor.max_identical_roundsbecame the root keymax_identical_rounds.supervisor.enabled = falsebecameenabled = falseon thebesydrentry.- The
octomindprogram has noevaluateordistillcommand and no evaluation model; overrides like-c supervisor.gate.enabled=falsename nothing.
When the plugin does not answer
- Octomind goes on without that answer and queues a notice; a busy plugin that says so is waited for, at most one hour.
- After 3 unanswered events in a row the plugin is paused for 30 seconds, then tried again; each failed try doubles the pause, up to 10 minutes. One answered event ends it with the notice
plugin 'besydr' answers again. - A plugin that cannot be started is off for that session; the next session tries again.
- Notices go to standard error, only when it is a terminal and the format is not
jsonl;octomind runalso reports a paused or unstartable plugin as an error on standard error, and the ACP and WebSocket servers log it.
Examples
Example 1: switching the plugin off
Bad: supervisor.enabled = false in config.toml, or -c supervisor.enabled=false; Octomind rejects the key. Good: enabled = false on the besydr entry in plugins, or -c 'plugins=[]' for one run.
Example 2: "the agent keeps redoing the same thing"
Two things can act. Besydr's loop note is advice only. The hard stop is Octomind's max_identical_rounds, which ends the turn. Name which one fired before suggesting a change.
Example 3: "why was my turn sent back?"
Most likely the completion check found gaps, or it passed and sent the work back once for its edge-value look. Turn it off with gate.enabled = false in Besydr's file.
Checklist
- Plugin switched in
config.toml(pluginsentry), Besydr parts switched in Besydr's file? - Behaviour attributed to the right part (completion check, tool admission, loop note,
max_identical_rounds) before recommending a change? - For
/learningor/planproblems: checked that the plugin is connected? - Old
[supervisor]settings: pointed tobesydr-carry/supervisor.tomland Besydr's file?
Composition / References
- Pairs with
octomind-configfor the root keypluginsand the rest ofconfig.toml. - Pairs with
octomind-clifor/done,/plan,/learningand/info. - Octomind docs:
doc/usage/14-supervisor.md,doc/usage/13-learning.md,doc/integration/05-plugins.md,doc/troubleshooting/02-migration-guide.md; the same pages are served at https://octomind.run/docs/. - Besydr docs:
https://besydr.com/docs(mechanics, learning, configuration).