askui 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- askui-0.1.0/.github/workflows/publish.yaml +21 -0
- askui-0.1.0/.gitignore +162 -0
- askui-0.1.0/LICENSE +21 -0
- askui-0.1.0/PKG-INFO +131 -0
- askui-0.1.0/README.md +116 -0
- askui-0.1.0/pdm.lock +848 -0
- askui-0.1.0/pyproject.toml +33 -0
- askui-0.1.0/src/askui/__init__.py +1 -0
- askui-0.1.0/src/askui/agent.py +64 -0
- askui-0.1.0/src/askui/logging.py +16 -0
- askui-0.1.0/src/askui/models/anthropic/claude.py +64 -0
- askui-0.1.0/src/askui/models/anthropic/claude_agent.py +260 -0
- askui-0.1.0/src/askui/models/utils.py +69 -0
- askui-0.1.0/src/askui/tools/anthropic/__init__.py +10 -0
- askui-0.1.0/src/askui/tools/anthropic/base.py +69 -0
- askui-0.1.0/src/askui/tools/anthropic/collection.py +34 -0
- askui-0.1.0/src/askui/tools/anthropic/computer.py +178 -0
- askui-0.1.0/src/askui/tools/askui_controller.py +164 -0
- askui-0.1.0/src/askui/tools/askui_ui_controller_grpc/Controller_V1_pb2.py +170 -0
- askui-0.1.0/src/askui/tools/askui_ui_controller_grpc/Controller_V1_pb2.pyi +635 -0
- askui-0.1.0/src/askui/tools/askui_ui_controller_grpc/Controller_V1_pb2_grpc.py +1060 -0
- askui-0.1.0/src/askui/tools/askui_ui_controller_grpc/__init__.py +0 -0
- askui-0.1.0/src/askui/tools/utils.py +95 -0
- askui-0.1.0/src/askui/utils.py +5 -0
- askui-0.1.0/tests/__init__.py +0 -0
- askui-0.1.0/tests/test_agent.py +36 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
on:
|
|
2
|
+
release:
|
|
3
|
+
types: [published]
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
pypi-publish:
|
|
8
|
+
name: upload release to PyPI
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
permissions:
|
|
11
|
+
# This permission is needed for private repositories.
|
|
12
|
+
contents: read
|
|
13
|
+
# IMPORTANT: this permission is mandatory for trusted publishing
|
|
14
|
+
id-token: write
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v4
|
|
17
|
+
|
|
18
|
+
- uses: pdm-project/setup-pdm@v4
|
|
19
|
+
|
|
20
|
+
- name: Publish package distributions to PyPI
|
|
21
|
+
run: pdm publish
|
askui-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py,cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
#Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# poetry
|
|
98
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
99
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
+
# commonly ignored for libraries.
|
|
101
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
102
|
+
#poetry.lock
|
|
103
|
+
|
|
104
|
+
# pdm
|
|
105
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
106
|
+
#pdm.lock
|
|
107
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
108
|
+
# in version control.
|
|
109
|
+
# https://pdm-project.org/#use-with-ide
|
|
110
|
+
.pdm.toml
|
|
111
|
+
.pdm-python
|
|
112
|
+
.pdm-build/
|
|
113
|
+
|
|
114
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
115
|
+
__pypackages__/
|
|
116
|
+
|
|
117
|
+
# Celery stuff
|
|
118
|
+
celerybeat-schedule
|
|
119
|
+
celerybeat.pid
|
|
120
|
+
|
|
121
|
+
# SageMath parsed files
|
|
122
|
+
*.sage.py
|
|
123
|
+
|
|
124
|
+
# Environments
|
|
125
|
+
.env
|
|
126
|
+
.venv
|
|
127
|
+
env/
|
|
128
|
+
venv/
|
|
129
|
+
ENV/
|
|
130
|
+
env.bak/
|
|
131
|
+
venv.bak/
|
|
132
|
+
|
|
133
|
+
# Spyder project settings
|
|
134
|
+
.spyderproject
|
|
135
|
+
.spyproject
|
|
136
|
+
|
|
137
|
+
# Rope project settings
|
|
138
|
+
.ropeproject
|
|
139
|
+
|
|
140
|
+
# mkdocs documentation
|
|
141
|
+
/site
|
|
142
|
+
|
|
143
|
+
# mypy
|
|
144
|
+
.mypy_cache/
|
|
145
|
+
.dmypy.json
|
|
146
|
+
dmypy.json
|
|
147
|
+
|
|
148
|
+
# Pyre type checker
|
|
149
|
+
.pyre/
|
|
150
|
+
|
|
151
|
+
# pytype static type analyzer
|
|
152
|
+
.pytype/
|
|
153
|
+
|
|
154
|
+
# Cython debug symbols
|
|
155
|
+
cython_debug/
|
|
156
|
+
|
|
157
|
+
# PyCharm
|
|
158
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
159
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
160
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
161
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
162
|
+
#.idea/
|
askui-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 AskUI GmbH
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
askui-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: askui
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Automate anything with a vision agent.
|
|
5
|
+
Author-email: askui GmbH <info@askui.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Requires-Python: >=3.10
|
|
9
|
+
Requires-Dist: anthropic>=0.37.1
|
|
10
|
+
Requires-Dist: grpcio-tools>=1.67.0
|
|
11
|
+
Requires-Dist: grpcio>=1.67.0
|
|
12
|
+
Requires-Dist: pillow>=11.0.0
|
|
13
|
+
Requires-Dist: pydantic>=2.9.2
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+
# 🤖 AskUI Vision Agent
|
|
17
|
+
|
|
18
|
+
## 🔧 Setup
|
|
19
|
+
|
|
20
|
+
### 1. Install AskUI Agent OS
|
|
21
|
+
|
|
22
|
+
<details>
|
|
23
|
+
<summary>Windows</summary>
|
|
24
|
+
|
|
25
|
+
##### AMD64
|
|
26
|
+
|
|
27
|
+
[AskUI Installer for AMD64](https://files.askui.com/releases/Installer/24.9.1/AskUI-Suite-24.9.1-Installer-Win-AMD64-Full.exe)
|
|
28
|
+
|
|
29
|
+
##### ARM64
|
|
30
|
+
|
|
31
|
+
[AskUI Installer for ARM64](https://files.askui.com/releases/Installer/24.9.1/AskUI-Suite-24.9.1-Installer-Win-ARM64-Full.exe)
|
|
32
|
+
</details>
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
<details>
|
|
36
|
+
<summary>Linux</summary>
|
|
37
|
+
|
|
38
|
+
##### AMD64
|
|
39
|
+
|
|
40
|
+
```shell
|
|
41
|
+
curl -o /tmp/AskUI-Suite-24.9.1-User-Installer-Linux-x64-Full.run https://files.askui.com/releases/Installer/24.9.1/AskUI-Suite-24.9.1-User-Installer-Linux-x64-Full.run
|
|
42
|
+
|
|
43
|
+
bash /tmp/AskUI-Suite-24.9.1-User-Installer-Linux-x64-Full.run
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
##### ARM64
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
```shell
|
|
50
|
+
curl -o /tmp/AskUI-Suite-24.9.1-User-Installer-Linux-ARM64-Full.run https://files.askui.com/releases/Installer/24.9.1/AskUI-Suite-24.9.1-User-Installer-Linux-ARM64-Full.run
|
|
51
|
+
|
|
52
|
+
bash /tmp/AskUI-Suite-24.9.1-User-Installer-Linux-ARM64-Full.run
|
|
53
|
+
```
|
|
54
|
+
</details>
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
<details>
|
|
58
|
+
<summary>MacOS</summary>
|
|
59
|
+
|
|
60
|
+
```shell
|
|
61
|
+
curl -o /tmp/AskUI-Suite-24.9.1-User-Installer-MacOS-ARM64-Full.run https://files.askui.com/releases/Installer/24.9.1/AskUI-Suite-24.9.1-User-Installer-MacOS-ARM64-Full.run
|
|
62
|
+
|
|
63
|
+
bash /tmp/AskUI-Suite-24.9.1-User-Installer-MacOS-ARM64-Full.run
|
|
64
|
+
```
|
|
65
|
+
</details>
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### 2. Install vision-agent in your Python environment
|
|
69
|
+
|
|
70
|
+
```shell
|
|
71
|
+
pip install git+https://github.com/askui/vision-agent.git
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### 3. Authenticate with Anthropic
|
|
75
|
+
|
|
76
|
+
Set the `ANTHROPIC_API_KEY` environment variable to access the [Claude computer use model](https://docs.anthropic.com/en/docs/build-with-claude/computer-use). (Create a Anthropic key [here](https://console.anthropic.com/settings/keys))
|
|
77
|
+
|
|
78
|
+
<details>
|
|
79
|
+
<summary>Linux & MacOS</summary>
|
|
80
|
+
|
|
81
|
+
Use export to set an evironment variable:
|
|
82
|
+
|
|
83
|
+
```shell
|
|
84
|
+
export ANTHROPIC_API_KEY=<your-api-key-here>
|
|
85
|
+
```
|
|
86
|
+
</details>
|
|
87
|
+
|
|
88
|
+
<details>
|
|
89
|
+
<summary>Windows PowerShell</summary>
|
|
90
|
+
|
|
91
|
+
Set an environment variable with $env:
|
|
92
|
+
|
|
93
|
+
```shell
|
|
94
|
+
$env:ANTHROPIC_API_KEY="<your-api-key-here>"
|
|
95
|
+
```
|
|
96
|
+
</details>
|
|
97
|
+
|
|
98
|
+
## ▶️ Start Building
|
|
99
|
+
|
|
100
|
+
```python
|
|
101
|
+
from askui import VisionAgent
|
|
102
|
+
|
|
103
|
+
# Initialize your agent context manager
|
|
104
|
+
with VisionAgent() as agent:
|
|
105
|
+
# Use the webbrowser tool to start browsing
|
|
106
|
+
agent.webbrowser.open_new("http://www.google.com")
|
|
107
|
+
|
|
108
|
+
# Start to automate individual steps
|
|
109
|
+
agent.click("url bar")
|
|
110
|
+
agent.type("http://www.google.com")
|
|
111
|
+
agent.keyboard("enter")
|
|
112
|
+
|
|
113
|
+
# Extract information from the screen
|
|
114
|
+
datetime = agent.get("What is the datetime at the top of the screen?")
|
|
115
|
+
print(datetime)
|
|
116
|
+
|
|
117
|
+
# Or let the agent work on its own
|
|
118
|
+
agent.act("search for a flight from Berlin to Paris in January")
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
### 📜 Logging
|
|
123
|
+
|
|
124
|
+
You want a better understanding of what you agent is doing? Set the log_level to DEBUG.
|
|
125
|
+
|
|
126
|
+
```python
|
|
127
|
+
import logging
|
|
128
|
+
|
|
129
|
+
with VisionAgent(log_level=logging.DEBUG) as agent:
|
|
130
|
+
agent...
|
|
131
|
+
```
|
askui-0.1.0/README.md
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# 🤖 AskUI Vision Agent
|
|
2
|
+
|
|
3
|
+
## 🔧 Setup
|
|
4
|
+
|
|
5
|
+
### 1. Install AskUI Agent OS
|
|
6
|
+
|
|
7
|
+
<details>
|
|
8
|
+
<summary>Windows</summary>
|
|
9
|
+
|
|
10
|
+
##### AMD64
|
|
11
|
+
|
|
12
|
+
[AskUI Installer for AMD64](https://files.askui.com/releases/Installer/24.9.1/AskUI-Suite-24.9.1-Installer-Win-AMD64-Full.exe)
|
|
13
|
+
|
|
14
|
+
##### ARM64
|
|
15
|
+
|
|
16
|
+
[AskUI Installer for ARM64](https://files.askui.com/releases/Installer/24.9.1/AskUI-Suite-24.9.1-Installer-Win-ARM64-Full.exe)
|
|
17
|
+
</details>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
<details>
|
|
21
|
+
<summary>Linux</summary>
|
|
22
|
+
|
|
23
|
+
##### AMD64
|
|
24
|
+
|
|
25
|
+
```shell
|
|
26
|
+
curl -o /tmp/AskUI-Suite-24.9.1-User-Installer-Linux-x64-Full.run https://files.askui.com/releases/Installer/24.9.1/AskUI-Suite-24.9.1-User-Installer-Linux-x64-Full.run
|
|
27
|
+
|
|
28
|
+
bash /tmp/AskUI-Suite-24.9.1-User-Installer-Linux-x64-Full.run
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
##### ARM64
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
```shell
|
|
35
|
+
curl -o /tmp/AskUI-Suite-24.9.1-User-Installer-Linux-ARM64-Full.run https://files.askui.com/releases/Installer/24.9.1/AskUI-Suite-24.9.1-User-Installer-Linux-ARM64-Full.run
|
|
36
|
+
|
|
37
|
+
bash /tmp/AskUI-Suite-24.9.1-User-Installer-Linux-ARM64-Full.run
|
|
38
|
+
```
|
|
39
|
+
</details>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
<details>
|
|
43
|
+
<summary>MacOS</summary>
|
|
44
|
+
|
|
45
|
+
```shell
|
|
46
|
+
curl -o /tmp/AskUI-Suite-24.9.1-User-Installer-MacOS-ARM64-Full.run https://files.askui.com/releases/Installer/24.9.1/AskUI-Suite-24.9.1-User-Installer-MacOS-ARM64-Full.run
|
|
47
|
+
|
|
48
|
+
bash /tmp/AskUI-Suite-24.9.1-User-Installer-MacOS-ARM64-Full.run
|
|
49
|
+
```
|
|
50
|
+
</details>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### 2. Install vision-agent in your Python environment
|
|
54
|
+
|
|
55
|
+
```shell
|
|
56
|
+
pip install git+https://github.com/askui/vision-agent.git
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### 3. Authenticate with Anthropic
|
|
60
|
+
|
|
61
|
+
Set the `ANTHROPIC_API_KEY` environment variable to access the [Claude computer use model](https://docs.anthropic.com/en/docs/build-with-claude/computer-use). (Create a Anthropic key [here](https://console.anthropic.com/settings/keys))
|
|
62
|
+
|
|
63
|
+
<details>
|
|
64
|
+
<summary>Linux & MacOS</summary>
|
|
65
|
+
|
|
66
|
+
Use export to set an evironment variable:
|
|
67
|
+
|
|
68
|
+
```shell
|
|
69
|
+
export ANTHROPIC_API_KEY=<your-api-key-here>
|
|
70
|
+
```
|
|
71
|
+
</details>
|
|
72
|
+
|
|
73
|
+
<details>
|
|
74
|
+
<summary>Windows PowerShell</summary>
|
|
75
|
+
|
|
76
|
+
Set an environment variable with $env:
|
|
77
|
+
|
|
78
|
+
```shell
|
|
79
|
+
$env:ANTHROPIC_API_KEY="<your-api-key-here>"
|
|
80
|
+
```
|
|
81
|
+
</details>
|
|
82
|
+
|
|
83
|
+
## ▶️ Start Building
|
|
84
|
+
|
|
85
|
+
```python
|
|
86
|
+
from askui import VisionAgent
|
|
87
|
+
|
|
88
|
+
# Initialize your agent context manager
|
|
89
|
+
with VisionAgent() as agent:
|
|
90
|
+
# Use the webbrowser tool to start browsing
|
|
91
|
+
agent.webbrowser.open_new("http://www.google.com")
|
|
92
|
+
|
|
93
|
+
# Start to automate individual steps
|
|
94
|
+
agent.click("url bar")
|
|
95
|
+
agent.type("http://www.google.com")
|
|
96
|
+
agent.keyboard("enter")
|
|
97
|
+
|
|
98
|
+
# Extract information from the screen
|
|
99
|
+
datetime = agent.get("What is the datetime at the top of the screen?")
|
|
100
|
+
print(datetime)
|
|
101
|
+
|
|
102
|
+
# Or let the agent work on its own
|
|
103
|
+
agent.act("search for a flight from Berlin to Paris in January")
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
### 📜 Logging
|
|
108
|
+
|
|
109
|
+
You want a better understanding of what you agent is doing? Set the log_level to DEBUG.
|
|
110
|
+
|
|
111
|
+
```python
|
|
112
|
+
import logging
|
|
113
|
+
|
|
114
|
+
with VisionAgent(log_level=logging.DEBUG) as agent:
|
|
115
|
+
agent...
|
|
116
|
+
```
|