github VictorAboba/DreamTeam v0.5.0
DreamTeam 0.5.0

one hour ago

English · Русский

English

Thread mode

A session can now work in a second mode, Thread: the team talks in a shared feed of posts instead of moving
tasks on a board (#70). There is no planner, coordinator or leader: the agents agree among themselves.

  • The feed. Posts, comments with replies, likes and dislikes. Every member follows what it chooses through
    subscriptions: what is new comes in a digest or wakes the member at once.
  • Two system posts. #1 "Goal reached?" holds the vote on the goal; #2 "Let's plan the work" is where the
    team splits the work in its comments.
  • The goal is decided by a vote on #1, by the rule chosen for the session: democracy (more than half of the
    AI agents for it) or veto (all of them for it, none against). Votes of members who joined through MCP and of the
    user are shown, not counted. The user can also complete the goal directly.
  • Choosing the mode. "Work mode" in the new-session dialog, --mode board|thread and --goal-rule democracy|veto on the command line, mode and goal_rule in HTTP API v1 and the launcher's MCP, or the default
    [swarm] mode for new sessions. The mode is fixed when a session is created; existing sessions stay on the board.
  • Everywhere: the web UI (a "Thread" tab), the terminal client and -p, the hub's and the launcher's MCP, HTTP
    API v1, export and import, traces. Shared with the board: members, messages, the workspace, the shell and
    background jobs, MCP servers, skills, the budget, pause and wrap-up.

HTTP API: Thread sessions.
Full description: SPEC §22.

Read before write

An agent writes to something only after reading its current state.

  • Files, in both modes. write_file and edit_file refuse to change an existing file that changed since the
    agent last read it. This also applies to board sessions, existing ones included.
  • Posts and the feed, in thread mode. A comment, a reply, a post edit or a new post is refused when the post or
    the feed changed since the agent last read it.
  • A refusal shows what is new and counts as reading it, so a retry passes. When a refusal comes first in a response,
    a later wait, task_complete, goal_complete or like on #1 in the same response is not carried out.
  • In live test sessions this removed duplicate claims of one piece of work and files overwritten by another agent.

Compatibility

The board's tool set is unchanged (revision 5): sessions of 0.4.x open as before. Thread sessions use a new tool set
(revision 6). Exports of board sessions stay importable into 0.4.x. To update: uv tool upgrade dreamteam.

Русский

Режим «Тред»

Теперь сессия может работать во втором режиме, «Тред»: команда общается в общей ленте объявлений, а не двигает
задачи по доске (#70). Здесь нет планировщика, координатора и главного: агенты договариваются между собой.

  • Лента. Объявления, комментарии с ответами, «нравится» и «не нравится». Каждый участник сам выбирает, за чем
    следить, через подписки: новое приходит сводкой или сразу будит участника.
  • Два системных объявления. #1 «Цель достигнута?» — голосование о цели; #2 «Спланируем работу» — здесь команда
    в комментариях делит работу.
  • Цель решается голосованием под #1 по правилу, выбранному для сессии: демократия (больше половины
    ИИ-агентов за) или вето (все за, никто против). Голоса участников, подключенных через MCP, и пользователя
    показываются, но не считаются. Пользователь может и сам завершить цель.
  • Выбор режима. «Режим работы» в диалоге новой сессии, --mode board|thread и --goal-rule democracy|veto в
    командной строке, mode и goal_rule в HTTP API v1 и в MCP лаунчера, или [swarm] mode по умолчанию для новых
    сессий. Режим задается при создании сессии; существующие сессии остаются на доске.
  • Везде: веб-интерфейс (вкладка «Тред»), терминальный клиент и -p, MCP хаба и лаунчера, HTTP API v1, экспорт и
    импорт, трассы. Общее с доской: участники, сообщения, рабочая папка, shell и фоновые задачи, MCP-серверы, навыки,
    бюджет, пауза и режим завершения.

HTTP API: Сессии в режиме ленты.
Полное описание: SPEC §22 (на английском).

Прочитай, прежде чем писать

Агент пишет во что-то только после того, как прочитал его текущее состояние.

  • Файлы, в обоих режимах. write_file и edit_file отказываются менять существующий файл, если он изменился с
    последнего чтения этим агентом. Это действует и в сессиях доски, в том числе в уже существующих.
  • Объявления и лента, в режиме «Тред». Комментарий, ответ, правка объявления или новое объявление отклоняются,
    если объявление или лента изменились с последнего чтения.
  • Отказ показывает новое и считается прочтением, так что повторная попытка проходит. Если в ответе первым идет отказ,
    следующие за ним в том же ответе wait, task_complete, goal_complete или «нравится» под #1 не выполняются.
  • В живых тестовых сессиях это убрало двойные заявки на одну и ту же работу и перезапись файлов другим агентом.

Совместимость

Набор инструментов доски не менялся (ревизия 5): сессии 0.4.x открываются как раньше. Сессии в режиме «Тред» используют
новый набор (ревизия 6). Экспорт сессий доски по-прежнему импортируется в 0.4.x. Обновление: uv tool upgrade dreamteam.

Don't miss a new DreamTeam release

NewReleases is sending notifications on new releases.