aether-browser 0.1.0rc1__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.
@@ -0,0 +1,20 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ *.egg-info/
4
+ .coverage
5
+ .mypy_cache/
6
+ .pytest_cache/
7
+ .ruff_cache/
8
+ .venv/
9
+ dist/
10
+ build/
11
+ .env
12
+ .env.*
13
+ !.env.example
14
+
15
+ # Local release-evidence downloads (never committed)
16
+ .release-downloads/
17
+
18
+ # Node client build and pack artifacts
19
+ node_modules/
20
+ *.tgz
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,156 @@
1
+ Metadata-Version: 2.4
2
+ Name: aether-browser
3
+ Version: 0.1.0rc1
4
+ Summary: Client and CLI for Agent Browser by Aether AI: drive one self-hosted Chrome session over a closed HTTP API and watch or take over that same session through noVNC.
5
+ Project-URL: Homepage, https://github.com/AetherAI3/agent-browser
6
+ Project-URL: Repository, https://github.com/AetherAI3/agent-browser
7
+ Project-URL: Issues, https://github.com/AetherAI3/agent-browser/issues
8
+ Project-URL: Changelog, https://github.com/AetherAI3/agent-browser/blob/main/CHANGELOG.md
9
+ Author-email: Aether AI <aetherai@aethersystems.net>
10
+ License-Expression: Apache-2.0
11
+ License-File: LICENSE
12
+ Keywords: agent-browser,ai-agents,automation,browser,chrome,computer-use,human-in-the-loop,novnc,self-hosted
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Environment :: Console
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Topic :: Internet :: WWW/HTTP :: Browsers
23
+ Classifier: Topic :: Software Development :: Testing
24
+ Classifier: Typing :: Typed
25
+ Requires-Python: >=3.10
26
+ Description-Content-Type: text/markdown
27
+
28
+ # aether-browser
29
+
30
+ Client and CLI for **[Agent Browser](https://github.com/AetherAI3/agent-browser) by Aether AI** —
31
+ self-hosted Chrome for AI agents. Drive one browser session through a closed HTTP API, and watch or
32
+ take over that exact same session through noVNC.
33
+
34
+ ```bash
35
+ pip install --pre aether-browser
36
+ ```
37
+
38
+ Zero runtime dependencies. Ships type hints (`py.typed`). Python 3.10+.
39
+
40
+ `--pre` is required while this tracks a release candidate; it drops once `0.1.0` ships.
41
+
42
+ This is the Python sibling of the [`aether-browser` npm package](https://www.npmjs.com/package/aether-browser):
43
+ same name, same commands, same closed `v1` contract, released version for version.
44
+
45
+ ## Drive a session
46
+
47
+ The `session` context manager always attempts to end the session, including when the body raises,
48
+ so a crash cannot leave the single session slot occupied.
49
+
50
+ ```python
51
+ import os
52
+
53
+ from aether_browser import AgentBrowser, session
54
+
55
+ browser = AgentBrowser(
56
+ base_url="http://127.0.0.1:8092",
57
+ controller_token=os.environ["AGENT_BROWSER_CONTROLLER_TOKEN"],
58
+ )
59
+
60
+ with session(browser) as live:
61
+ print("watch it live at", live.view_url)
62
+
63
+ page = live.navigate("https://example.com")
64
+ print(page["title"], page["readable_text"][:200])
65
+
66
+ live.click(selector="#login")
67
+ live.type("ada", selector="#user")
68
+ live.press("Enter")
69
+
70
+ shot = live.snapshot()
71
+ print(f"{shot['vision_steps_remaining']} vision steps left")
72
+ ```
73
+
74
+ Connection settings fall back to `AGENT_BROWSER_URL`, `AGENT_BROWSER_CONTROLLER_TOKEN`, and
75
+ `AGENT_BROWSER_OBSERVER_TOKEN`, so `AgentBrowser()` works with no arguments in a configured
76
+ environment.
77
+
78
+ ## Two roles, kept separate
79
+
80
+ The server splits authority, and this client keeps that split visible in your code. The observer
81
+ token covers health and snapshot; the controller token is required to create, navigate, interact,
82
+ and end. Give a read-only caller only the observer token:
83
+
84
+ ```python
85
+ read_only = AgentBrowser(observer_token=os.environ["AGENT_BROWSER_OBSERVER_TOKEN"])
86
+ read_only.health()
87
+ ```
88
+
89
+ ## Errors
90
+
91
+ Failures raise `AgentBrowserError` carrying the server's stable `code`:
92
+
93
+ ```python
94
+ from aether_browser import AgentBrowserError
95
+
96
+ try:
97
+ browser.create_session()
98
+ except AgentBrowserError as error:
99
+ if error.is_capacity_reached:
100
+ print(f"busy; retry in {error.retry_after_seconds}s")
101
+ ```
102
+
103
+ Codes are `AUTH_REQUIRED`, `AUTH_FORBIDDEN`, `SESSION_CAPACITY_REACHED`, `SESSION_NOT_FOUND`,
104
+ `SESSION_EXPIRED`, `VISION_BUDGET_EXHAUSTED`, `INVALID_URL`, `DESTINATION_BLOCKED`,
105
+ `INVALID_INTERACTION`, `BROWSER_NOT_READY`, and `INTERNAL_ERROR`. A transport failure raises the
106
+ same class with `code` left `None`, so a refused connection is never mistaken for a refusal by the
107
+ server.
108
+
109
+ ## CLI
110
+
111
+ ```bash
112
+ aether-browser doctor # check Docker, platform, and server health; say what is wrong
113
+ aether-browser up # build and start the runtime
114
+ aether-browser status # print the health document
115
+ aether-browser open # open the live noVNC view
116
+ aether-browser down # stop and clean up
117
+ ```
118
+
119
+ Run `doctor` first. It checks the things that actually break a first run and tells you which one
120
+ failed, instead of leaving you to read a build log.
121
+
122
+ ### What `up` really does, and its limits
123
+
124
+ Agent Browser publishes **no Chrome-containing image** — distribution is source-only. So `up` builds
125
+ the image locally from source, and **the first build takes several minutes** because it installs a
126
+ hash-locked Python environment and the current Google Chrome Stable package. It uses the checkout
127
+ you are standing in if there is one, and otherwise downloads the matching tagged source tarball from
128
+ the official repository over HTTPS into your cache directory.
129
+
130
+ `up` requires **Linux** with Docker Compose v2. The documented quickstart uses Docker host
131
+ networking so both the API and the noVNC listeners stay bound to numeric loopback; Docker Desktop on
132
+ macOS and Windows is outside that contract, and `doctor` will tell you so rather than half-working.
133
+
134
+ **The library has no such limit.** It is plain HTTP over `urllib` and runs anywhere Python does —
135
+ point it at a server on a Linux host and drive it from macOS, Windows, or CI.
136
+
137
+ ## Security
138
+
139
+ The v0.1 noVNC surface is **unauthenticated** and intended for numeric loopback on a machine you
140
+ control. Treat every process and user that can reach that loopback interface as trusted with the
141
+ live browser view. Do not expose it through a tunnel, reverse proxy, or container bridge. See the
142
+ [security model](https://github.com/AetherAI3/agent-browser/blob/main/docs/SECURITY-MODEL.md).
143
+
144
+ The API is deliberately closed: `click`, `type`, `scroll`, and `press` are the only interactions,
145
+ and there is no arbitrary JavaScript, CDP, upload, clipboard, download, extension, shell,
146
+ filesystem, credential, or cookie field. This client cannot widen that surface, because the server
147
+ rejects unknown fields.
148
+
149
+ ## Status
150
+
151
+ `0.1.0rc1` is the same release as the npm client's `0.1.0-rc.1`, and tracks Agent Browser
152
+ `v0.1.0-rc.1` and its `api_version: "v1"` contract. This is a release candidate: the API may change
153
+ before `0.1.0`. Issues and design discussion are welcome on
154
+ [the repository](https://github.com/AetherAI3/agent-browser/issues).
155
+
156
+ Apache-2.0 · [Aether AI](https://github.com/AetherAI3)
@@ -0,0 +1,129 @@
1
+ # aether-browser
2
+
3
+ Client and CLI for **[Agent Browser](https://github.com/AetherAI3/agent-browser) by Aether AI** —
4
+ self-hosted Chrome for AI agents. Drive one browser session through a closed HTTP API, and watch or
5
+ take over that exact same session through noVNC.
6
+
7
+ ```bash
8
+ pip install --pre aether-browser
9
+ ```
10
+
11
+ Zero runtime dependencies. Ships type hints (`py.typed`). Python 3.10+.
12
+
13
+ `--pre` is required while this tracks a release candidate; it drops once `0.1.0` ships.
14
+
15
+ This is the Python sibling of the [`aether-browser` npm package](https://www.npmjs.com/package/aether-browser):
16
+ same name, same commands, same closed `v1` contract, released version for version.
17
+
18
+ ## Drive a session
19
+
20
+ The `session` context manager always attempts to end the session, including when the body raises,
21
+ so a crash cannot leave the single session slot occupied.
22
+
23
+ ```python
24
+ import os
25
+
26
+ from aether_browser import AgentBrowser, session
27
+
28
+ browser = AgentBrowser(
29
+ base_url="http://127.0.0.1:8092",
30
+ controller_token=os.environ["AGENT_BROWSER_CONTROLLER_TOKEN"],
31
+ )
32
+
33
+ with session(browser) as live:
34
+ print("watch it live at", live.view_url)
35
+
36
+ page = live.navigate("https://example.com")
37
+ print(page["title"], page["readable_text"][:200])
38
+
39
+ live.click(selector="#login")
40
+ live.type("ada", selector="#user")
41
+ live.press("Enter")
42
+
43
+ shot = live.snapshot()
44
+ print(f"{shot['vision_steps_remaining']} vision steps left")
45
+ ```
46
+
47
+ Connection settings fall back to `AGENT_BROWSER_URL`, `AGENT_BROWSER_CONTROLLER_TOKEN`, and
48
+ `AGENT_BROWSER_OBSERVER_TOKEN`, so `AgentBrowser()` works with no arguments in a configured
49
+ environment.
50
+
51
+ ## Two roles, kept separate
52
+
53
+ The server splits authority, and this client keeps that split visible in your code. The observer
54
+ token covers health and snapshot; the controller token is required to create, navigate, interact,
55
+ and end. Give a read-only caller only the observer token:
56
+
57
+ ```python
58
+ read_only = AgentBrowser(observer_token=os.environ["AGENT_BROWSER_OBSERVER_TOKEN"])
59
+ read_only.health()
60
+ ```
61
+
62
+ ## Errors
63
+
64
+ Failures raise `AgentBrowserError` carrying the server's stable `code`:
65
+
66
+ ```python
67
+ from aether_browser import AgentBrowserError
68
+
69
+ try:
70
+ browser.create_session()
71
+ except AgentBrowserError as error:
72
+ if error.is_capacity_reached:
73
+ print(f"busy; retry in {error.retry_after_seconds}s")
74
+ ```
75
+
76
+ Codes are `AUTH_REQUIRED`, `AUTH_FORBIDDEN`, `SESSION_CAPACITY_REACHED`, `SESSION_NOT_FOUND`,
77
+ `SESSION_EXPIRED`, `VISION_BUDGET_EXHAUSTED`, `INVALID_URL`, `DESTINATION_BLOCKED`,
78
+ `INVALID_INTERACTION`, `BROWSER_NOT_READY`, and `INTERNAL_ERROR`. A transport failure raises the
79
+ same class with `code` left `None`, so a refused connection is never mistaken for a refusal by the
80
+ server.
81
+
82
+ ## CLI
83
+
84
+ ```bash
85
+ aether-browser doctor # check Docker, platform, and server health; say what is wrong
86
+ aether-browser up # build and start the runtime
87
+ aether-browser status # print the health document
88
+ aether-browser open # open the live noVNC view
89
+ aether-browser down # stop and clean up
90
+ ```
91
+
92
+ Run `doctor` first. It checks the things that actually break a first run and tells you which one
93
+ failed, instead of leaving you to read a build log.
94
+
95
+ ### What `up` really does, and its limits
96
+
97
+ Agent Browser publishes **no Chrome-containing image** — distribution is source-only. So `up` builds
98
+ the image locally from source, and **the first build takes several minutes** because it installs a
99
+ hash-locked Python environment and the current Google Chrome Stable package. It uses the checkout
100
+ you are standing in if there is one, and otherwise downloads the matching tagged source tarball from
101
+ the official repository over HTTPS into your cache directory.
102
+
103
+ `up` requires **Linux** with Docker Compose v2. The documented quickstart uses Docker host
104
+ networking so both the API and the noVNC listeners stay bound to numeric loopback; Docker Desktop on
105
+ macOS and Windows is outside that contract, and `doctor` will tell you so rather than half-working.
106
+
107
+ **The library has no such limit.** It is plain HTTP over `urllib` and runs anywhere Python does —
108
+ point it at a server on a Linux host and drive it from macOS, Windows, or CI.
109
+
110
+ ## Security
111
+
112
+ The v0.1 noVNC surface is **unauthenticated** and intended for numeric loopback on a machine you
113
+ control. Treat every process and user that can reach that loopback interface as trusted with the
114
+ live browser view. Do not expose it through a tunnel, reverse proxy, or container bridge. See the
115
+ [security model](https://github.com/AetherAI3/agent-browser/blob/main/docs/SECURITY-MODEL.md).
116
+
117
+ The API is deliberately closed: `click`, `type`, `scroll`, and `press` are the only interactions,
118
+ and there is no arbitrary JavaScript, CDP, upload, clipboard, download, extension, shell,
119
+ filesystem, credential, or cookie field. This client cannot widen that surface, because the server
120
+ rejects unknown fields.
121
+
122
+ ## Status
123
+
124
+ `0.1.0rc1` is the same release as the npm client's `0.1.0-rc.1`, and tracks Agent Browser
125
+ `v0.1.0-rc.1` and its `api_version: "v1"` contract. This is a release candidate: the API may change
126
+ before `0.1.0`. Issues and design discussion are welcome on
127
+ [the repository](https://github.com/AetherAI3/agent-browser/issues).
128
+
129
+ Apache-2.0 · [Aether AI](https://github.com/AetherAI3)
@@ -0,0 +1,66 @@
1
+ [build-system]
2
+ requires = ["hatchling==1.28.0"]
3
+ build-backend = "hatchling.build"
4
+
5
+ # The Python sibling of the `aether-browser` npm package. Same name, same commands, same
6
+ # closed v1 contract; the version tracks the npm client exactly (0.1.0-rc.1 there is
7
+ # 0.1.0rc1 here, the same release under PEP 440 normalisation) and
8
+ # tests/test_packaging.py fails the build if the two ever drift apart.
9
+ [project]
10
+ name = "aether-browser"
11
+ version = "0.1.0rc1"
12
+ description = "Client and CLI for Agent Browser by Aether AI: drive one self-hosted Chrome session over a closed HTTP API and watch or take over that same session through noVNC."
13
+ readme = "README.md"
14
+ requires-python = ">=3.10"
15
+ license = "Apache-2.0"
16
+ license-files = ["LICENSE"]
17
+ authors = [{ name = "Aether AI", email = "aetherai@aethersystems.net" }]
18
+ keywords = [
19
+ "agent-browser",
20
+ "browser",
21
+ "automation",
22
+ "ai-agents",
23
+ "chrome",
24
+ "novnc",
25
+ "self-hosted",
26
+ "human-in-the-loop",
27
+ "computer-use",
28
+ ]
29
+ classifiers = [
30
+ "Development Status :: 4 - Beta",
31
+ "Environment :: Console",
32
+ "Intended Audience :: Developers",
33
+ "Operating System :: OS Independent",
34
+ "Programming Language :: Python :: 3",
35
+ "Programming Language :: Python :: 3.10",
36
+ "Programming Language :: Python :: 3.11",
37
+ "Programming Language :: Python :: 3.12",
38
+ "Programming Language :: Python :: 3.13",
39
+ "Topic :: Internet :: WWW/HTTP :: Browsers",
40
+ "Topic :: Software Development :: Testing",
41
+ "Typing :: Typed",
42
+ ]
43
+ # No runtime dependencies, deliberately: the transport is urllib from the standard
44
+ # library, exactly as the npm client uses the platform's own fetch.
45
+ dependencies = []
46
+
47
+ [project.urls]
48
+ Homepage = "https://github.com/AetherAI3/agent-browser"
49
+ Repository = "https://github.com/AetherAI3/agent-browser"
50
+ Issues = "https://github.com/AetherAI3/agent-browser/issues"
51
+ Changelog = "https://github.com/AetherAI3/agent-browser/blob/main/CHANGELOG.md"
52
+
53
+ [project.scripts]
54
+ aether-browser = "aether_browser.cli:main"
55
+
56
+ [tool.hatch.build.targets.wheel]
57
+ packages = ["src/aether_browser"]
58
+
59
+ [tool.hatch.build.targets.sdist]
60
+ include = ["src", "tests", "README.md", "LICENSE", "pyproject.toml"]
61
+
62
+ [tool.mypy]
63
+ python_version = "3.10"
64
+ strict = true
65
+ packages = ["aether_browser"]
66
+ mypy_path = "src"
@@ -0,0 +1,38 @@
1
+ """Client for the Agent Browser v1 API.
2
+
3
+ The server exposes one closed JSON API. Every request and response carries
4
+ ``api_version: "v1"`` and unknown fields are rejected, so this client sends exactly
5
+ the documented fields and omits anything left unset.
6
+
7
+ This is the Python sibling of the ``aether-browser`` npm package: same name, same
8
+ surface, same closed contract.
9
+
10
+ See https://github.com/AetherAI3/agent-browser/blob/main/docs/API.md
11
+ """
12
+
13
+ from __future__ import annotations
14
+
15
+ from ._client import (
16
+ ALLOWED_KEYS,
17
+ API_VERSION,
18
+ DEFAULT_BASE_URL,
19
+ AgentBrowser,
20
+ AgentBrowserError,
21
+ Response,
22
+ Session,
23
+ session,
24
+ )
25
+
26
+ __all__ = [
27
+ "ALLOWED_KEYS",
28
+ "API_VERSION",
29
+ "DEFAULT_BASE_URL",
30
+ "AgentBrowser",
31
+ "AgentBrowserError",
32
+ "Response",
33
+ "Session",
34
+ "__version__",
35
+ "session",
36
+ ]
37
+
38
+ __version__ = "0.1.0rc1"