Skip to content

Agent Hive 1.5.1

Latest

Choose a tag to compare

@ericwang915 ericwang915 released this 20 Nov 09:16

Handoff conditions

  • "Only when" on a relay. A bee that follows another can now start only if a condition holds. Write it in one sentence, in any language: "tests failed", "the conversion rate is below 5%", "it found new P0 issues". The form has a few examples to click. Leave it empty and the handoff happens every time, as before.
  • When the bee before finishes, one small model call checks the sentence against its last reply. The chat of that bee then says "Handed to …" or "Not handed to …", with what was found ("the report gives 7.2%, which is not below 5%"). The same line is in Activity.
  • When the reply does not say (no such number in it), the next bee is not started. Tick "Start anyway if the reply does not say" to turn that around.
  • The same field is there for a bee that runs on event → a bee finishes.
  • Two bees can follow the same bee with opposite conditions ("tests failed" → fix, "all tests passed" → ship): only the right one starts.

Fixes

  • Group chat: a long reply opened with "Show all" still faded out at the bottom, so its last lines were hard to read.

Good to know

  • The check reads only the last reply of the bee before. A number has to be in that reply: ask the bee to state it at the end.
  • The check uses the same CLI as Queen (the first one that works) and takes 5 to 10 seconds. With no CLI available it counts as "does not say".
  • Tested with Claude Code on 20 conditions (thresholds, sums to work out, "and"/"or", Chinese, missing values, a reply that tries to dictate the answer), three runs each, all correct. Other CLIs were not tested as the checker.
  • A condition on a bee that merges the results of several bees is checked against all of them together; this was covered by unit tests only.
  • In a squad run led by Queen, conditions are not applied: the squad follows its plan.

Install

curl -fsSL https://raw.githubusercontent.com/ericwang915/agent-hive/main/install.sh | bash

Or with Homebrew: brew install --cask ericwang915/tap/agent-hive. Or download the .dmg below: arm64 for Apple silicon, x64 for Intel. Signed and notarized by Apple. From 1.1.0 on, the app offers the upgrade itself.