Repository navigation
Replies: 1 comment
Status after four releases (0.44.3 → 0.47.1). We re-read the source at 1. 2. The 8-task limit still counts finished-but-unreviewed tasks. 3. What did land in the meantime, and we do appreciate it: tasks on mobile (0.45), task approvals in What I am not doing: opening issues. #2697 was closed for not coming from a form, so I will not |
Uh oh!
There was an error while loading. Please reload this page.
Title
Tasks page for agent teams: teammate task handoffs, completion callbacks, and separate limits for finished tasks
Why this matters
The new Tasks page (
0.41.0→0.44.3) is a great way to follow background work in one place: Needs you, Working, Waiting, and Closed.When an user works through a main point-of-contact agent that coordinates specialist teammates, a few small gaps currently force awkward workarounds between
openbot.send_messageandopenbot.start_task. Closing those gaps would make the Tasks page work naturally for multi-agent teams.1. Let an agent start a task for a teammate, and get the result when the task finishes
openbot.start_taskonly starts a task on the calling agent itself. If Agent A asks Teammate B to run a long job withopenbot.send_message(expectsReply: true)and Teammate B callsopenbot.start_task, Teammate B's main chat turn ends right after queuing the task. Agent A gets an early reply before the task has actually run, or both agents have to exchange manualexpectsReply: falsemessages to pass the result back.agentId(or teammate task handoff) inopenbot.start_task, or let a delegated message open a task directly on the recipient teammate and deliver the final task outcome back to the requesting agent only when the task turn finishes.2. Tell the requesting agent when a delegated task fails or is stopped
failed(for example, a provider quota error) orinterrupted, the task card updates on the Tasks page, but the teammate that asked for the work gets no reply and waits without knowing that the task stopped.failedorinterrupted, send a short failure notice with the error reason back to the requesting agent so it can inform the user or try a backup plan.3. Count only active tasks (
WorkingandWaiting) toward the 8-task limitclosed_at IS NULL). Because finished tasks in Needs you (outcome = 'completed', waiting for the user to review and close them) also count toward those 8 slots, an agent stops being able to start new tasks until the user clears their review list.WorkingandWaiting), and use a separate, higher cap for completed tasks sitting in Needs you so agents can keep working while the user reviews finished work at their own pace.4. Let a coordinating agent stop a task that it started when the user cancels the work
openbot.interrupt_agentstops main chat turns on teammates, but ignores running task threads (useChannelTaskControlsWork).openbot.interrupt_agent(or a dedicated task stop call) to stop a running task that the calling agent initiated when the user asks to cancel.How this helps everyone
All reactions