Skip to content

bug: Chat ends when Claude Code agent spawns a background agent and never resumes #220

Open

Description

@JKGeovision

Hello,

When using the Claude Code agent with Open Computer, the chat session ends as soon as the agent spawns a background agent and never resumes once the background agent has finished.

Steps to reproduce:

  1. Start a chat using the Claude Code agent in Open Computer
  2. Trigger a task that causes the agent to spawn a background agent
  3. Observe that the chat finishes immediately
  4. Wait for the background agent to complete
  5. Observe that the chat never picks up again

Thank you for looking into this!

Best regards,
Joshua Krimmer

Activity

  1. owui-terminator commented on Aug 12, 2026

    @owui-terminator

    🔍 Related Issues Found

    I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:

    1. 🟣 #195 bug: the claude CLI subprocess is torn down at the end of every turn, killing in-flight background agents
      Directly matches the reported symptom: the Claude Code subprocess is torn down at the end of a turn, which kills any in-flight background agent and prevents the chat from resuming when it finishes.
      by penradioGables

    2. 🟢 #213 bug: a stalled agent session hangs the chat task forever, and the whole transcript is lost if you kill it
      Related because both involve agent runs that do not complete cleanly and leave the chat/task in a stuck state. This issue focuses on stalled sessions hanging forever, which overlaps with the ‘chat never resumes’ failure mode.
      by ThalynLabs


    💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead.

    This comment was generated automatically. React with 👍 if helpful, 👎 if not.

  2. changed the title [-]bug: chat ends when Claude Code agent spawns a background agent and never resumes[/-] [+]bug: Chat ends when Claude Code agent spawns a background agent and never resumes[/+] on Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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