Skip to content

async web agent #230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 99 commits into from
Jun 17, 2025
Merged

async web agent #230

merged 99 commits into from
Jun 17, 2025

Conversation

NicolasAG
Copy link
Collaborator

@NicolasAG NicolasAG commented May 30, 2025

Description by Korbit AI

What change is being made?

Introduce an asynchronous and parallelized framework for a web-based reinforcement learning agent, including new modules for async task execution, environment orchestration, and step management.

Why are these changes being made?

The changes are designed to improve the scalability and efficiency of the web agent by allowing parallel processing of tasks and asynchronous interactions with remote environments. This update optimizes the agent's task execution loop and introduces mechanisms to handle repetitive steps and prevent redundant retries, offering a more robust system for managing complex web interactions.

Is this description stale? Ask me to generate a new description by commenting /korbit-generate-pr-description

Copy link

korbit-ai bot commented May 30, 2025

Based on your review schedule, I'll hold off on reviewing this PR until it's marked as ready for review. If you'd like me to take a look now, comment /korbit-review.

Your admin can change your review schedule in the Korbit Console

@ollmer
Copy link
Collaborator

ollmer commented Jun 2, 2025

Looks good so far! Let's plug your miniwob agent structure into client_main_loop.yaml and check how it's going. Then when we're sure that it works correctly, lets measure the throughput by spawning lots of coroutines with agents against 16 or 32 remote environments on a single node.

@NicolasAG NicolasAG self-assigned this Jun 2, 2025
@ollmer
Copy link
Collaborator

ollmer commented Jun 17, 2025

@NicolasAG lets merge it to main maybe? The agent and the env server are pretty stable now.

@NicolasAG NicolasAG changed the title [WIP] async web agent async web agent Jun 17, 2025
@NicolasAG NicolasAG marked this pull request as ready for review June 17, 2025 13:30
Copy link

korbit-ai bot commented Jun 17, 2025

Korbit doesn't automatically review large (3000+ lines changed) pull requests such as this one. If you want me to review anyway, use /korbit-review.

@NicolasAG NicolasAG requested review from ollmer and rizar June 17, 2025 13:31
Copy link
Collaborator

@ollmer ollmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Please take a look at my changes at the remote_environment.py and lets merge.

Copy link
Collaborator

@rizar rizar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

took a quick look at RemoveEnvironment, looks very goood!

@NicolasAG NicolasAG merged commit e94d257 into main Jun 17, 2025
5 checks passed
@ollmer ollmer deleted the async_web_agent branch June 17, 2025 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants