Skip to content

Track PR #3806: InteractiveTerminalToolSet — exec_command + write_stdin with yield_time_ms #3807

Closed as duplicate

Description

@neubig

Background

The existing terminal tool blocks until output stops for 30s (reactive no-change timeout), preventing agents from monitoring multiple long-running processes — they must wait passively.

Proposal

Add openhands.tools.interactive_terminal with two tools matching Codex's API:

  • exec_command — returns session_id when still running or exit_code when done
  • write_stdin — writes to a running session
  • yield_time_ms — proactively returns control after N ms regardless of activity

Tracked by

PR #3806

This issue was created by an AI agent (OpenHands) on behalf of @neubig.

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

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions