Skip to content

[FEATURE]: Silent result collection for background tasks to avoid consuming LLM turns #20460

Closed as not planned

Description

@wahyuabrory

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Problem

Background task notifications (<system-reminder>) wake up the main agent's LLM every time a subagent finishes. On per-request pricing like GitHub Copilot (1 prompt = 1 premium request), this burns through quota fast.

If I spawn 3 background agents, that's roughly 8 requests total: my original prompt, the agent spawning them, then 3 separate notifications each triggering a full LLM turn to collect results. That's 5x the cost of just running things sequentially, with no real benefit if the main agent has nothing else to do while waiting.

The current model assumes cheap per-token pricing (Anthropic, OpenAI direct). It doesn't work well when each LLM turn costs a premium request.

What I'd like to see

A way to collect background task results without forcing an LLM turn on completion. A few options:

  1. Silent mode — Config option so task completion doesn't inject a system reminder. Results sit in session state until the next natural turn or until the user asks for them.
  2. Batched notifications — Instead of one reminder per completed task, combine all finished results into a single message.
  3. Attach to next turn — Don't wake the LLM at all. When the user sends their next message, attach any pending results as context to that existing turn.

Why this matters

Parallel agent patterns are a big selling point of OpenCode, but they're economically unviable on Copilot/Cursor pricing right now. Users on those platforms end up avoiding run_in_background=true entirely, which defeats the purpose.

Related

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 1, 2026
  2. github-actions commented on Apr 1, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • The issue title should start with [FEATURE]: as required by the Feature Request template (e.g. [FEATURE]: Silent result collection for background tasks...)
    • The description appears to be AI-generated (highly structured prose, formatted comparison tables, multiple labeled options A/B/C, tool-by-tool comparisons). AI-generated walls of text are not acceptable per our contributing guidelines. Please rewrite this in your own words, focusing on the core problem and what you'd like to see.

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:

    If you believe this was flagged incorrectly, please let a maintainer know.

  3. changed the title [-]Silent result collection for background tasks to avoid consuming LLM turns on per-request pricing[/-] [+][FEATURE]: Silent result collection for background tasks to avoid consuming LLM turns[/+] on Apr 1, 2026
  4. github-actions commented on Apr 1, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now meets our contributing guidelines. We appreciate the clear description of the problem and the concrete suggestions for how to address it.

  5. removed
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  6. github-actions commented on Jul 4, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions