Added TimeWarp and a training data saving class for collecting TimeWarp data #330
Merged
amanjaiswal73892 merged 4 commits intoServiceNow:mainfrom Mar 17, 2026
Merged
Added TimeWarp and a training data saving class for collecting TimeWarp data #330amanjaiswal73892 merged 4 commits intoServiceNow:mainfrom
amanjaiswal73892 merged 4 commits intoServiceNow:mainfrom
Conversation
| elif task_name.startswith("weblinx"): | ||
| import weblinx_browsergym | ||
| elif task_name.startswith("timewarp"): | ||
| import browsergym.timewarp |
Collaborator
There was a problem hiding this comment.
It would be great if you can update the readme table to include timewarp.
| """ | ||
| GenericAgent with training data saving functionality. | ||
|
|
||
| This module extends GenericAgent to save training data (system prompt, user prompt, and agent output) |
Collaborator
There was a problem hiding this comment.
Thank you for adding a new agent to AgentLab. I would keep this contribution as a separate PR from the Timewarp benchmark. It looks like we can extract step-wise (sys_prompt, user_prompt, and agent_output) from the saved traces using ExpResult. Feel free to write a utility function using that if needed. Currently, this change modifies loop.py (beyond adding timewarp), which we would prefer to avoid if possible.
amanjaiswal73892
requested changes
Mar 16, 2026
Contributor
Author
|
Thanks again @amanjaiswal73892. Reverted to the original loop.py and updated the readme. Please lmk if there's anything else that I need to do on my end. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding TimeWarp so that AgentLab can be used with BrowserGym
The training data saving class is needed to use TimeTraj, which does knowledge distillation on data generated by another agent