Summary
The research agent occasionally hangs mid-execution — tool calls complete successfully but the agent stalls and does not continue or produce a final response.
Problem
What happened: During a deep research task (turn 5/50 observed), the agent completed multiple Web Fetch and Web Search tool calls successfully, then entered a RESPONSE state but stopped progressing — the cursor blinks but no output is produced and the run does not advance.
What was expected: The agent should continue through its turn budget, produce a response, and either complete or proceed to the next turn.
Steps to reproduce:
- Start a deep research task (e.g. "read and analyse this arxiv paper and think about how it integrates with OpenHuman").
- Let the agent run — it fetches multiple URLs in parallel.
- Observe intermittently: after completing tool calls, the agent enters RESPONSE state and hangs indefinitely without producing output.
Platform: macOS desktop · Beta build v0.58.0.
Note: Appears intermittent — not every research run reproduces this.
Solution (optional)
Investigate whether the hang occurs at the LLM response streaming layer (token stall, incomplete stream close) or in the agent loop (turn transition logic). Add a timeout/watchdog on the RESPONSE phase that cancels and retries or surfaces an error if no tokens are produced within a threshold.
Acceptance criteria
Related
Links to issues, PRs, logs, or prior discussion.
Summary
The research agent occasionally hangs mid-execution — tool calls complete successfully but the agent stalls and does not continue or produce a final response.
Problem
What happened: During a deep research task (turn 5/50 observed), the agent completed multiple Web Fetch and Web Search tool calls successfully, then entered a RESPONSE state but stopped progressing — the cursor blinks but no output is produced and the run does not advance.
What was expected: The agent should continue through its turn budget, produce a response, and either complete or proceed to the next turn.
Steps to reproduce:
Platform: macOS desktop · Beta build v0.58.0.
Note: Appears intermittent — not every research run reproduces this.
Solution (optional)
Investigate whether the hang occurs at the LLM response streaming layer (token stall, incomplete stream close) or in the agent loop (turn transition logic). Add a timeout/watchdog on the RESPONSE phase that cancels and retries or surfaces an error if no tokens are produced within a threshold.
Acceptance criteria
Related
Links to issues, PRs, logs, or prior discussion.