Skip to content

Migrate harbor_agent off Ray #6435

Open

Description

@linear-code

responses_api_agents/harbor_agent declares ray_enabled = True.

How it uses Ray: each Harbor job runs in a Ray task (runner_ray_remote in app.py, scheduling_strategy="SPREAD"), and the server awaits the ObjectRef. Harbor itself already runs each task in a container, so the Ray layer mainly spreads jobs across nodes.

Proposed replacement: run Harbor jobs with bounded async concurrency, with task environments provided through the Sandbox API, and drop the Ray task layer. legal_agent_bench subclasses this server and should follow.

Related: #6336 (open) builds Ray server environments on every Ray node, which multi-node Harbor runs currently need.

Done when: the server no longer declares ray_enabled = True on main. Alternatively, its README documents which distributed-systems requirement Ray satisfies and why a sandbox, bounded local concurrency or a persistent endpoint is not enough. Tracked in the checklist on #3669.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions