A direct sub-agent chat gives no sign that the main agent is not in it, and the handoff count it already serves is never shown
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
Research direction
Start in the ui-web instance surface, especially the instance composer, and inspect how the subagents.instances response is consumed. Use pending_handoff_count to show the non-zero count and add the proposed explanation of direct-chat context and handoff timing. Done means both messages appear correctly without backend changes.
Written by the indexing model from the issue text.
Description
Problem
Chatting with a sub-agent instance produces no visible reaction from the main agent, and the page says nothing about why. The behaviour is deliberate and documented in the code -- "Nothing here touches the session transcript. A direct chat exists to keep these exchanges out of the main agent's context" (raven/agent/subagent/manager.py:984) -- but nothing on screen tells the reader that, so it reads as the main agent having missed the message.
There is a handoff: DirectChatHandoff appends an entry as each direct turn lands, and the rendered block is prepended to the user's next message to the main agent (raven/agent/subagent/direct_chat.py). So the main agent does learn, after the fact, on the next thing the user says to it. That is a reasonable design; it is just invisible.
The count is already served and already unused. subagents.instances returns pending_handoff_count (raven/rpc/methods/instances.py:318, modelled at raven/rpc/models.py:2183), and no caller in ui-web/src reads it.
Proposal
Two small things, either independently useful:
- Say once, on the instance surface, that this exchange stays out of the main agent's context and reaches it as a summary on the next message to it. One line, where the instance composer is.
- Show
pending_handoff_countwhen it is non-zero -- "N exchanges will be reported to the main agent" or similar. The number exists; nothing renders it.
Alternatives considered
- Mirror direct turns into the session transcript: this is exactly what the design refuses, and for a good reason (context cost, and the main agent being steered by details it was deliberately not given). Not proposed.
- Show nothing and let people learn the model: what happens today, and it produced this report.
Area
ui-web (the instance surface); no backend change needed for either item.
Additional context
The handoff already handles two edges worth knowing about, which is part of why surfacing it is cheap and honest: an instance created but never spoken to is an entry in its own right ("the case worth reporting is precisely the one where nothing has been said to it yet"), and a turn still answering is reported through live_direct_turns rather than being invisible until it lands -- a fix whose comment records that "a five-minute direct chat was reported to the main agent as an instance with no turns yet (2026-09-08)".
- Dominant language
- Python
- Stars
- 4.1k
- Forks
- 94
- Avg merge
- 9h 54m
- Merged PRs (30d)
- 370
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EverMind-AI/Raven
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
EverMind-AI/Raven#798 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
EverMind-AI/Raven#797 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
EverMind-AI/Raven#640 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
EverMind-AI/Raven#479 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
EverMind-AI/Raven#474 · 2 comments ·
Maintainers usually reply within 1 day
All issues in EverMind-AI/Raven
Similar issues
-
customer-reported
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Azure/azure-cli#34150 · 1 comment ·
Maintainers usually reply within 1 day
-
community-request
Difficulty 1/5 Under an hour Newbie friendliness 95/100
NVIDIA-NeMo/Curator#2464 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
WeblateOrg/translation-finder#1099 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
trezor/trezor-firmware#7997 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day