Skip to content

Migrate swe_agents off Ray #6440

Open
Open

Description

@linear-code

responses_api_agents/swe_agents declares ray_enabled = True.

How it uses Ray: each SWE instance runs in a Ray task (runner_ray_remote in app.py, scheduling_strategy="SPREAD"), which drives the instance's container.

Proposed replacement: run each instance in a task sandbox through the Sandbox API, as mini_swe_agent does with agent sessions (#5654), then drop the Ray task layer.

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