Commit 6522057
Add Tutorial, GPT-5 and improve installation. (#278)
* tutorial
* Update readme to include test note
* update toml to dynamic requirements and add uv.lock file
* Add tutorial to setup python env with uv
* tutorial 2
* Update dependencies in pyproject.toml and uv.lock to allow for newer versions of torch and add anthropic
* Implement code changes to enhance functionality and improve performance
* Fix tutorial instructions by moving git clone and cd commands to the correct section
* Refactor tutorial content and remove commented-out dependencies in pyproject.toml
* add instruction to activate the env
* Add support for GPT-5 models and update tutorial instructions
* Update OpenAI API Key instructions in tutorial
* Refactor tutorial headings for consistency and clarity
* add oai oss and gpt-5 models
* Update deperecated param `max_tokens`-> `max_completion_tokens` in chat_api
* add OpenRouter versions of gpt 5 model series.
* port o3 model to openrouter
* update response api test
* remove deprecated o1-mini model from main.py
* Add Gpt-5-nano in tool-use-agent
* fix GPT 5 mini and nano config
* Add litellm pricing as a backup princing backend.
* Add GPT-5 mini agent
* Add GPT-5-Mini to agentlab-assistant.
* Add initial readme for prompt injection tutorial
* add ipykernal and dot_env to dependency
* add notebook to setup miniwob and launch experiments.
* update formatting in launch_experiments.ipynb
* update readme in 2_eval_on_miniwob
* update readme for 2_eval_on_miniwob and grammar fix.
* grammar fix readme tutorial 2.
* Add prompt injection tutorials and update attack scenarios
- Created new attack scenario in `attack_2.txt` to simulate identity verification prompts for agents and digital assistants.
- Added detailed instructions and observations in `prompt_0.txt` for listing reviewers mentioning small ear cups.
- Introduced `prompt_2.txt` to track food-related shopping expenses for March 2023, including comprehensive action space and interaction history.
* update T1 readme with a note to install additional playwright deps.
* Update readme.md
* Update readme.md
* Update readme.md
* clear output
* add miniwob automatic install in agentlab.
* update experiment.py to include miniwob auto-install and envars export in T2
* black refactor agent-config.py
* Add cmd to checkout tutorial branch
* remove launch_experiment notebook from T2
* minor fixes in T1 read me and spell check,
* update CI/CD to use uv
* Implement code changes to enhance functionality and improve performance
* Update README and experiment script for clarity and consistency
* Fix stale tests.
* fix stale test
* add darglint as dev dependency
* update CI/CD apply formatting only src.
* update darglint to be run from py3.12
---------
Co-authored-by: recursix <[email protected]>1 parent 219e467 commit 6522057
File tree
33 files changed
+8673
-109
lines changed- .github/workflows
- docs/source
- src/agentlab
- agents
- generic_agent
- tool_use_agent
- analyze
- benchmarks
- llm
- tests
- llm
- tutorials
- 1_launch_interactive_agent
- 2_eval_on_miniwob
- 3_prompt_injection
33 files changed
+8673
-109
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | | - | |
28 | | - | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | | - | |
31 | | - | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | | - | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | | - | |
28 | | - | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | | - | |
31 | | - | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | | - | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | | - | |
| 35 | + | |
34 | 36 | | |
35 | | - | |
36 | | - | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | | - | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | | - | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
62 | | - | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
67 | | - | |
| 69 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
30 | 73 | | |
31 | 74 | | |
32 | 75 | | |
33 | 76 | | |
34 | 77 | | |
35 | 78 | | |
36 | | - | |
37 | 79 | | |
38 | 80 | | |
39 | 81 | | |
| |||
54 | 96 | | |
55 | 97 | | |
56 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
57 | 106 | | |
58 | 107 | | |
59 | 108 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| 50 | + | |
49 | 51 | | |
0 commit comments