autonomous-lab 0.5.1__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.
Files changed (105) hide show
  1. autonomous_lab-0.5.1/.gitignore +87 -0
  2. autonomous_lab-0.5.1/.python-version +1 -0
  3. autonomous_lab-0.5.1/LICENSE +191 -0
  4. autonomous_lab-0.5.1/NOTICE +10 -0
  5. autonomous_lab-0.5.1/PKG-INFO +153 -0
  6. autonomous_lab-0.5.1/README.md +117 -0
  7. autonomous_lab-0.5.1/demo/advance_state.py +204 -0
  8. autonomous_lab-0.5.1/demo/mock_project.py +718 -0
  9. autonomous_lab-0.5.1/demo/run_server.py +33 -0
  10. autonomous_lab-0.5.1/demo/serve_demo.py +184 -0
  11. autonomous_lab-0.5.1/demo/setup_mock.py +312 -0
  12. autonomous_lab-0.5.1/docs/CNAME +1 -0
  13. autonomous_lab-0.5.1/docs/characters/alex-kumar.yaml +19 -0
  14. autonomous_lab-0.5.1/docs/characters/maria-chen.yaml +18 -0
  15. autonomous_lab-0.5.1/docs/css/style.css +1699 -0
  16. autonomous_lab-0.5.1/docs/index.html +676 -0
  17. autonomous_lab-0.5.1/docs/js/main.js +1399 -0
  18. autonomous_lab-0.5.1/docs/js/sprites.js +127 -0
  19. autonomous_lab-0.5.1/pyproject.toml +58 -0
  20. autonomous_lab-0.5.1/src/autonomous_lab/__init__.py +29 -0
  21. autonomous_lab-0.5.1/src/autonomous_lab/__main__.py +34 -0
  22. autonomous_lab-0.5.1/src/autonomous_lab/debug.py +79 -0
  23. autonomous_lab-0.5.1/src/autonomous_lab/i18n.py +379 -0
  24. autonomous_lab-0.5.1/src/autonomous_lab/integrations/__init__.py +11 -0
  25. autonomous_lab-0.5.1/src/autonomous_lab/integrations/biomni.py +292 -0
  26. autonomous_lab-0.5.1/src/autonomous_lab/lab/__init__.py +38 -0
  27. autonomous_lab-0.5.1/src/autonomous_lab/lab/citations.py +298 -0
  28. autonomous_lab-0.5.1/src/autonomous_lab/lab/latex_template.py +106 -0
  29. autonomous_lab-0.5.1/src/autonomous_lab/lab/prompts.py +1027 -0
  30. autonomous_lab-0.5.1/src/autonomous_lab/lab/state.py +736 -0
  31. autonomous_lab-0.5.1/src/autonomous_lab/py.typed +0 -0
  32. autonomous_lab-0.5.1/src/autonomous_lab/server.py +2663 -0
  33. autonomous_lab-0.5.1/src/autonomous_lab/utils/__init__.py +28 -0
  34. autonomous_lab-0.5.1/src/autonomous_lab/utils/error_handler.py +449 -0
  35. autonomous_lab-0.5.1/src/autonomous_lab/utils/memory_monitor.py +519 -0
  36. autonomous_lab-0.5.1/src/autonomous_lab/utils/resource_manager.py +801 -0
  37. autonomous_lab-0.5.1/src/autonomous_lab/web/__init__.py +26 -0
  38. autonomous_lab-0.5.1/src/autonomous_lab/web/constants/__init__.py +8 -0
  39. autonomous_lab-0.5.1/src/autonomous_lab/web/constants/message_codes.py +173 -0
  40. autonomous_lab-0.5.1/src/autonomous_lab/web/locales/en/translation.json +644 -0
  41. autonomous_lab-0.5.1/src/autonomous_lab/web/locales/zh-CN/translation.json +630 -0
  42. autonomous_lab-0.5.1/src/autonomous_lab/web/locales/zh-TW/translation.json +649 -0
  43. autonomous_lab-0.5.1/src/autonomous_lab/web/main.py +1239 -0
  44. autonomous_lab-0.5.1/src/autonomous_lab/web/models/__init__.py +13 -0
  45. autonomous_lab-0.5.1/src/autonomous_lab/web/models/feedback_result.py +16 -0
  46. autonomous_lab-0.5.1/src/autonomous_lab/web/models/feedback_session.py +1107 -0
  47. autonomous_lab-0.5.1/src/autonomous_lab/web/routes/__init__.py +12 -0
  48. autonomous_lab-0.5.1/src/autonomous_lab/web/routes/main_routes.py +1000 -0
  49. autonomous_lab-0.5.1/src/autonomous_lab/web/static/css/audio-management.css +545 -0
  50. autonomous_lab-0.5.1/src/autonomous_lab/web/static/css/lab-dashboard.css +176 -0
  51. autonomous_lab-0.5.1/src/autonomous_lab/web/static/css/lab.css +1172 -0
  52. autonomous_lab-0.5.1/src/autonomous_lab/web/static/css/notification-settings.css +152 -0
  53. autonomous_lab-0.5.1/src/autonomous_lab/web/static/css/prompt-management.css +566 -0
  54. autonomous_lab-0.5.1/src/autonomous_lab/web/static/css/session-management.css +1428 -0
  55. autonomous_lab-0.5.1/src/autonomous_lab/web/static/css/styles.css +2203 -0
  56. autonomous_lab-0.5.1/src/autonomous_lab/web/static/favicon.ico +0 -0
  57. autonomous_lab-0.5.1/src/autonomous_lab/web/static/icon-192.png +0 -0
  58. autonomous_lab-0.5.1/src/autonomous_lab/web/static/icon.svg +16 -0
  59. autonomous_lab-0.5.1/src/autonomous_lab/web/static/index.html +158 -0
  60. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/app.js +2213 -0
  61. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/i18n.js +376 -0
  62. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/lab.js +1229 -0
  63. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/audio/audio-manager.js +610 -0
  64. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/audio/audio-settings-ui.js +732 -0
  65. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/connection-monitor.js +435 -0
  66. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/constants/message-codes.js +168 -0
  67. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/file-upload-manager.js +555 -0
  68. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/image-handler.js +199 -0
  69. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/lab-dashboard.js +150 -0
  70. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/logger.js +404 -0
  71. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/notification/notification-manager.js +360 -0
  72. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/notification/notification-settings.js +344 -0
  73. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/prompt/prompt-input-buttons.js +427 -0
  74. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/prompt/prompt-manager.js +414 -0
  75. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/prompt/prompt-modal.js +458 -0
  76. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/prompt/prompt-settings-ui.js +524 -0
  77. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/session/session-data-manager.js +1040 -0
  78. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/session/session-details-modal.js +594 -0
  79. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/session/session-ui-renderer.js +817 -0
  80. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/session-manager.js +1059 -0
  81. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/settings-manager.js +1002 -0
  82. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/tab-manager.js +235 -0
  83. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/textarea-height-manager.js +267 -0
  84. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/ui-manager.js +568 -0
  85. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/utils/dom-utils.js +392 -0
  86. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/utils/status-utils.js +403 -0
  87. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/utils/time-utils.js +440 -0
  88. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/utils.js +472 -0
  89. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/modules/websocket-manager.js +625 -0
  90. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/vendor/marked.min.js +6 -0
  91. autonomous_lab-0.5.1/src/autonomous_lab/web/static/js/vendor/purify.min.js +3 -0
  92. autonomous_lab-0.5.1/src/autonomous_lab/web/templates/components/image-upload.html +43 -0
  93. autonomous_lab-0.5.1/src/autonomous_lab/web/templates/components/settings-card.html +58 -0
  94. autonomous_lab-0.5.1/src/autonomous_lab/web/templates/components/status-indicator.html +31 -0
  95. autonomous_lab-0.5.1/src/autonomous_lab/web/templates/components/toggle-switch.html +19 -0
  96. autonomous_lab-0.5.1/src/autonomous_lab/web/templates/feedback.html +1373 -0
  97. autonomous_lab-0.5.1/src/autonomous_lab/web/templates/index.html +330 -0
  98. autonomous_lab-0.5.1/src/autonomous_lab/web/templates/lab.html +281 -0
  99. autonomous_lab-0.5.1/src/autonomous_lab/web/utils/__init__.py +13 -0
  100. autonomous_lab-0.5.1/src/autonomous_lab/web/utils/browser.py +152 -0
  101. autonomous_lab-0.5.1/src/autonomous_lab/web/utils/compression_config.py +190 -0
  102. autonomous_lab-0.5.1/src/autonomous_lab/web/utils/compression_monitor.py +314 -0
  103. autonomous_lab-0.5.1/src/autonomous_lab/web/utils/network.py +66 -0
  104. autonomous_lab-0.5.1/src/autonomous_lab/web/utils/port_manager.py +321 -0
  105. autonomous_lab-0.5.1/src/autonomous_lab/web/utils/session_cleanup_manager.py +525 -0
@@ -0,0 +1,87 @@
1
+ # Python-generated files
2
+ __pycache__/
3
+ *.py[oc]
4
+ build/
5
+ dist/
6
+ wheels/
7
+ *.egg-info
8
+
9
+ # Development tool caches
10
+ .mypy_cache/
11
+ .pytest_cache/
12
+ .ruff_cache/
13
+ .coverage
14
+ htmlcov/
15
+
16
+ # Virtual environments
17
+ .venv*/
18
+ venv*/
19
+
20
+
21
+
22
+ # Logs
23
+ *.log
24
+
25
+ # macOS
26
+ .DS_Store
27
+ .AppleDouble
28
+ .LSOverride
29
+
30
+ # Windows
31
+ Thumbs.db
32
+ ehthumbs.db
33
+ Desktop.ini
34
+
35
+ # Linux
36
+ *~
37
+
38
+ # IDE
39
+ .vscode/
40
+ .idea/
41
+ *.swp
42
+ *.swo
43
+
44
+ # Others
45
+ .cursor/rules/
46
+ uv.lock
47
+ .mcp_feedback_settings.json
48
+ test_reports/
49
+
50
+ # Temporary test files
51
+ test_*.py
52
+
53
+ # User configuration files
54
+ ui_settings.json
55
+ .config/
56
+
57
+ # Backup files
58
+ *.bak
59
+ *.backup
60
+ *.orig
61
+
62
+ # Environment files
63
+ .env
64
+ .env.local
65
+ .env.*.local
66
+
67
+ # Rust/Tauri build artifacts
68
+ src-tauri/target/
69
+ src-tauri/Cargo.lock
70
+ src-tauri/WixTools/
71
+ src-tauri/gen/
72
+
73
+
74
+
75
+
76
+ # Tauri bundle outputs
77
+ src-tauri/target/bundle/
78
+ src-tauri/target/release/bundle/
79
+
80
+ # Node.js (if using Tauri with frontend framework)
81
+ node_modules/
82
+ package-lock.json
83
+ yarn.lock
84
+
85
+ # Temporary build files
86
+ *.tmp
87
+ *.temp
@@ -0,0 +1 @@
1
+ 3.11
@@ -0,0 +1,191 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to the Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by the Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding any notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ Copyright 2025-2026 Albert Ying
180
+
181
+ Licensed under the Apache License, Version 2.0 (the "License");
182
+ you may not use this file except in compliance with the License.
183
+ You may obtain a copy of the License at
184
+
185
+ http://www.apache.org/licenses/LICENSE-2.0
186
+
187
+ Unless required by applicable law or agreed to in writing, software
188
+ distributed under the License is distributed on an "AS IS" BASIS,
189
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
190
+ See the License for the specific language governing permissions and
191
+ limitations under the License.
@@ -0,0 +1,10 @@
1
+ Autonomous Lab
2
+ Copyright 2025-2026 Albert Ying
3
+
4
+ This project contains code originally derived from work by:
5
+
6
+ - Fábio Ferreira (2024), MIT License
7
+ - Minidoracat (2024), MIT License (modifications and enhancements)
8
+
9
+ The original MIT-licensed code has been substantially modified,
10
+ extended, and re-architected for the Autonomous Lab project.
@@ -0,0 +1,153 @@
1
+ Metadata-Version: 2.4
2
+ Name: autonomous-lab
3
+ Version: 0.5.1
4
+ Summary: MCP server that turns any Senior-Junior workflow into an autonomous loop with a human decision maker. Seamless integration with Cursor, Claude Code, Codex, and any MCP client.
5
+ Project-URL: Homepage, https://autolab.kejunying.com
6
+ Project-URL: Repository, https://github.com/albert-ying/autonomous-lab
7
+ Project-URL: Issues, https://github.com/albert-ying/autonomous-lab/issues
8
+ Author: Albert Ying
9
+ License: Apache-2.0
10
+ License-File: LICENSE
11
+ License-File: NOTICE
12
+ Keywords: agent,ai,autonomous,claude-code,cursor,mcp,skill-container,workflow
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Intended Audience :: Science/Research
16
+ Classifier: License :: OSI Approved :: Apache Software License
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Topic :: Scientific/Engineering
21
+ Classifier: Topic :: Software Development :: Libraries
22
+ Requires-Python: >=3.11
23
+ Provides-Extra: biotools
24
+ Requires-Dist: biomni; extra == 'biotools'
25
+ Provides-Extra: dependencies
26
+ Requires-Dist: aiohttp>=3.8.0; extra == 'dependencies'
27
+ Requires-Dist: fastapi>=0.115.0; extra == 'dependencies'
28
+ Requires-Dist: fastmcp>=2.0.0; extra == 'dependencies'
29
+ Requires-Dist: jinja2>=3.1.0; extra == 'dependencies'
30
+ Requires-Dist: mcp>=1.9.3; extra == 'dependencies'
31
+ Requires-Dist: psutil>=7.0.0; extra == 'dependencies'
32
+ Requires-Dist: pyyaml>=6.0; extra == 'dependencies'
33
+ Requires-Dist: uvicorn>=0.30.0; extra == 'dependencies'
34
+ Requires-Dist: websockets>=13.0.0; extra == 'dependencies'
35
+ Description-Content-Type: text/markdown
36
+
37
+ # Autonomous Lab
38
+
39
+ MCP server that turns any senior-junior workflow into an autonomous loop. AI handles the execution. You make the decisions.
40
+
41
+ The server runs inside your existing agentic coding tool (Cursor, Claude Code, Codex CLI, Windsurf, or any MCP client). Your SKILL.md files become character configurations. The loop runs for hours without stopping. You step in as editor when the work is ready for judgment.
42
+
43
+ ## Install
44
+
45
+ ```bash
46
+ # From PyPI
47
+ uv pip install autonomous-lab
48
+
49
+ # With biomedical toolkit (optional)
50
+ uv pip install autonomous-lab[biotools]
51
+ ```
52
+
53
+ ## Quick start
54
+
55
+ Add to your MCP client config (e.g. Cursor `~/.cursor/mcp.json`):
56
+
57
+ ```json
58
+ {
59
+ "mcpServers": {
60
+ "autonomous-lab": {
61
+ "command": "uvx",
62
+ "args": ["autonomous-lab"],
63
+ "timeout": 600,
64
+ "env": {
65
+ "MCP_WEB_PORT": "8766"
66
+ }
67
+ }
68
+ }
69
+ }
70
+ ```
71
+
72
+ Or if you installed via `uv pip install`:
73
+
74
+ ```json
75
+ {
76
+ "mcpServers": {
77
+ "autonomous-lab": {
78
+ "command": "autonomous-lab",
79
+ "timeout": 600,
80
+ "env": {
81
+ "MCP_WEB_PORT": "8766"
82
+ }
83
+ }
84
+ }
85
+ }
86
+ ```
87
+
88
+ Then tell your agent: "Initialize an autonomous lab project on [your topic]."
89
+
90
+ ## What it does
91
+
92
+ Two AI personas (senior + junior) iterate on your project in a loop. They design, execute, write, and revise. You sit above them as the decision maker: editor, code reviewer, creative director, or whatever the domain calls for.
93
+
94
+ The loop:
95
+
96
+ ```
97
+ autolab_next → (AI acts as role) → autolab_record → lab_meeting → autolab_next → ...
98
+ ```
99
+
100
+ When work is ready, you review it. Accept, request revisions, or reject. The loop continues until you're satisfied.
101
+
102
+ ## Key capabilities
103
+
104
+ - **Skill containers**: configure characters with any combination of SKILL.md files you already have. A PI with `scanpy + scientific-writing + statistical-analysis` skills behaves differently from a Tech Lead with `react + typescript + code-review` skills.
105
+ - **24-hour sessions**: the loop runs indefinitely. No timeout, no context loss. Sessions persist across disconnects with `autolab_resume`.
106
+ - **Fully configurable**: YAML character profiles control personality, expertise, goals, and available tools. Swap them in seconds.
107
+ - **Domain-agnostic**: research, software, consulting, legal, medical, creative, or anything with a senior-junior structure.
108
+ - **Expert consultation**: invite domain specialists mid-session for one-off advice without breaking the loop.
109
+ - **Verified citations**: built-in CrossRef integration for real, validated references (no hallucinated papers).
110
+ - **Game-style monitoring UI**: browser dashboard shows live progress, iteration history, and editorial controls.
111
+
112
+ ## MCP tools
113
+
114
+ | Tool | What it does |
115
+ |------|-------------|
116
+ | `autolab_init` | Initialize a new project |
117
+ | `autolab_resume` | Resume an interrupted session |
118
+ | `autolab_next` | Get the next role prompt (PI or Trainee) |
119
+ | `autolab_record` | Record a completed turn |
120
+ | `autolab_status` | Check project state |
121
+ | `autolab_cite` | Search, validate, and format citations |
122
+ | `autolab_consult` | Invite a domain expert |
123
+ | `autolab_editorial` | Wait for editor decision |
124
+ | `autolab_editor_act` | Execute editorial decision (AI fallback) |
125
+ | `autolab_create_character` | Build a character profile |
126
+ | `lab_meeting` | Pause for user feedback between turns |
127
+
128
+ ## Character example
129
+
130
+ ```yaml
131
+ name: Dr. Maria Chen
132
+ role: pi
133
+ title: Computational Biology PI
134
+ expertise: single-cell genomics, machine learning
135
+ goal: discover cell-type-specific regulatory programs
136
+ skills:
137
+ - scanpy
138
+ - scvi-tools
139
+ - scientific-writing
140
+ - statistical-analysis
141
+ personality:
142
+ - "Visionary: spots novel research directions"
143
+ - "Rigorous: demands statistical reproducibility"
144
+ ```
145
+
146
+ ## Requirements
147
+
148
+ - Python >= 3.11
149
+ - An MCP-compatible client (Cursor, Claude Code, Codex CLI, Windsurf, etc.)
150
+
151
+ ## License
152
+
153
+ Apache 2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE).
@@ -0,0 +1,117 @@
1
+ # Autonomous Lab
2
+
3
+ MCP server that turns any senior-junior workflow into an autonomous loop. AI handles the execution. You make the decisions.
4
+
5
+ The server runs inside your existing agentic coding tool (Cursor, Claude Code, Codex CLI, Windsurf, or any MCP client). Your SKILL.md files become character configurations. The loop runs for hours without stopping. You step in as editor when the work is ready for judgment.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ # From PyPI
11
+ uv pip install autonomous-lab
12
+
13
+ # With biomedical toolkit (optional)
14
+ uv pip install autonomous-lab[biotools]
15
+ ```
16
+
17
+ ## Quick start
18
+
19
+ Add to your MCP client config (e.g. Cursor `~/.cursor/mcp.json`):
20
+
21
+ ```json
22
+ {
23
+ "mcpServers": {
24
+ "autonomous-lab": {
25
+ "command": "uvx",
26
+ "args": ["autonomous-lab"],
27
+ "timeout": 600,
28
+ "env": {
29
+ "MCP_WEB_PORT": "8766"
30
+ }
31
+ }
32
+ }
33
+ }
34
+ ```
35
+
36
+ Or if you installed via `uv pip install`:
37
+
38
+ ```json
39
+ {
40
+ "mcpServers": {
41
+ "autonomous-lab": {
42
+ "command": "autonomous-lab",
43
+ "timeout": 600,
44
+ "env": {
45
+ "MCP_WEB_PORT": "8766"
46
+ }
47
+ }
48
+ }
49
+ }
50
+ ```
51
+
52
+ Then tell your agent: "Initialize an autonomous lab project on [your topic]."
53
+
54
+ ## What it does
55
+
56
+ Two AI personas (senior + junior) iterate on your project in a loop. They design, execute, write, and revise. You sit above them as the decision maker: editor, code reviewer, creative director, or whatever the domain calls for.
57
+
58
+ The loop:
59
+
60
+ ```
61
+ autolab_next → (AI acts as role) → autolab_record → lab_meeting → autolab_next → ...
62
+ ```
63
+
64
+ When work is ready, you review it. Accept, request revisions, or reject. The loop continues until you're satisfied.
65
+
66
+ ## Key capabilities
67
+
68
+ - **Skill containers**: configure characters with any combination of SKILL.md files you already have. A PI with `scanpy + scientific-writing + statistical-analysis` skills behaves differently from a Tech Lead with `react + typescript + code-review` skills.
69
+ - **24-hour sessions**: the loop runs indefinitely. No timeout, no context loss. Sessions persist across disconnects with `autolab_resume`.
70
+ - **Fully configurable**: YAML character profiles control personality, expertise, goals, and available tools. Swap them in seconds.
71
+ - **Domain-agnostic**: research, software, consulting, legal, medical, creative, or anything with a senior-junior structure.
72
+ - **Expert consultation**: invite domain specialists mid-session for one-off advice without breaking the loop.
73
+ - **Verified citations**: built-in CrossRef integration for real, validated references (no hallucinated papers).
74
+ - **Game-style monitoring UI**: browser dashboard shows live progress, iteration history, and editorial controls.
75
+
76
+ ## MCP tools
77
+
78
+ | Tool | What it does |
79
+ |------|-------------|
80
+ | `autolab_init` | Initialize a new project |
81
+ | `autolab_resume` | Resume an interrupted session |
82
+ | `autolab_next` | Get the next role prompt (PI or Trainee) |
83
+ | `autolab_record` | Record a completed turn |
84
+ | `autolab_status` | Check project state |
85
+ | `autolab_cite` | Search, validate, and format citations |
86
+ | `autolab_consult` | Invite a domain expert |
87
+ | `autolab_editorial` | Wait for editor decision |
88
+ | `autolab_editor_act` | Execute editorial decision (AI fallback) |
89
+ | `autolab_create_character` | Build a character profile |
90
+ | `lab_meeting` | Pause for user feedback between turns |
91
+
92
+ ## Character example
93
+
94
+ ```yaml
95
+ name: Dr. Maria Chen
96
+ role: pi
97
+ title: Computational Biology PI
98
+ expertise: single-cell genomics, machine learning
99
+ goal: discover cell-type-specific regulatory programs
100
+ skills:
101
+ - scanpy
102
+ - scvi-tools
103
+ - scientific-writing
104
+ - statistical-analysis
105
+ personality:
106
+ - "Visionary: spots novel research directions"
107
+ - "Rigorous: demands statistical reproducibility"
108
+ ```
109
+
110
+ ## Requirements
111
+
112
+ - Python >= 3.11
113
+ - An MCP-compatible client (Cursor, Claude Code, Codex CLI, Windsurf, etc.)
114
+
115
+ ## License
116
+
117
+ Apache 2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE).