openai4s 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.
Files changed (623) hide show
  1. openai4s-0.1.0/LICENSE +21 -0
  2. openai4s-0.1.0/MANIFEST.in +12 -0
  3. openai4s-0.1.0/PKG-INFO +299 -0
  4. openai4s-0.1.0/README.md +268 -0
  5. openai4s-0.1.0/docs/README.md +35 -0
  6. openai4s-0.1.0/docs/README_zh.md +32 -0
  7. openai4s-0.1.0/docs/architecture.md +360 -0
  8. openai4s-0.1.0/docs/backend-extension-guide.md +259 -0
  9. openai4s-0.1.0/docs/backend-refactor-architecture.md +341 -0
  10. openai4s-0.1.0/docs/compute.md +59 -0
  11. openai4s-0.1.0/docs/configuration.md +72 -0
  12. openai4s-0.1.0/docs/jupyter.md +93 -0
  13. openai4s-0.1.0/docs/package-architecture.md +216 -0
  14. openai4s-0.1.0/docs/plan-corecoder-refactor.md +87 -0
  15. openai4s-0.1.0/docs/refactor-plan.md +1333 -0
  16. openai4s-0.1.0/docs/release-validation.md +114 -0
  17. openai4s-0.1.0/docs/security.md +134 -0
  18. openai4s-0.1.0/docs/skills.md +90 -0
  19. openai4s-0.1.0/docs/webapp-api.md +494 -0
  20. openai4s-0.1.0/docs/webapp.md +116 -0
  21. openai4s-0.1.0/envs/README.md +21 -0
  22. openai4s-0.1.0/envs/README_zh.md +18 -0
  23. openai4s-0.1.0/envs/phylo.yml +30 -0
  24. openai4s-0.1.0/envs/python.yml +54 -0
  25. openai4s-0.1.0/envs/r.yml +19 -0
  26. openai4s-0.1.0/envs/struct.yml +31 -0
  27. openai4s-0.1.0/openai4s/README.md +61 -0
  28. openai4s-0.1.0/openai4s/README_zh.md +61 -0
  29. openai4s-0.1.0/openai4s/__init__.py +7 -0
  30. openai4s-0.1.0/openai4s/__main__.py +7 -0
  31. openai4s-0.1.0/openai4s/adapters/README.md +27 -0
  32. openai4s-0.1.0/openai4s/adapters/README_zh.md +27 -0
  33. openai4s-0.1.0/openai4s/adapters/__init__.py +3 -0
  34. openai4s-0.1.0/openai4s/adapters/jupyter/README.md +25 -0
  35. openai4s-0.1.0/openai4s/adapters/jupyter/README_zh.md +25 -0
  36. openai4s-0.1.0/openai4s/adapters/jupyter/__init__.py +22 -0
  37. openai4s-0.1.0/openai4s/adapters/jupyter/bridge.py +290 -0
  38. openai4s-0.1.0/openai4s/adapters/jupyter/kernelspec.py +251 -0
  39. openai4s-0.1.0/openai4s/agent/README.md +42 -0
  40. openai4s-0.1.0/openai4s/agent/README_zh.md +42 -0
  41. openai4s-0.1.0/openai4s/agent/__init__.py +23 -0
  42. openai4s-0.1.0/openai4s/agent/actions.py +258 -0
  43. openai4s-0.1.0/openai4s/agent/compaction.py +748 -0
  44. openai4s-0.1.0/openai4s/agent/control.py +292 -0
  45. openai4s-0.1.0/openai4s/agent/delegation.py +1349 -0
  46. openai4s-0.1.0/openai4s/agent/engine.py +143 -0
  47. openai4s-0.1.0/openai4s/agent/events.py +60 -0
  48. openai4s-0.1.0/openai4s/agent/finalize.py +224 -0
  49. openai4s-0.1.0/openai4s/agent/ledger.py +828 -0
  50. openai4s-0.1.0/openai4s/agent/loop.py +627 -0
  51. openai4s-0.1.0/openai4s/agent/models.py +127 -0
  52. openai4s-0.1.0/openai4s/agent/ports.py +78 -0
  53. openai4s-0.1.0/openai4s/agent/runtime.py +458 -0
  54. openai4s-0.1.0/openai4s/artifact_restore.py +228 -0
  55. openai4s-0.1.0/openai4s/bash_capability.py +20 -0
  56. openai4s-0.1.0/openai4s/capabilities.py +210 -0
  57. openai4s-0.1.0/openai4s/cli/README.md +23 -0
  58. openai4s-0.1.0/openai4s/cli/README_zh.md +23 -0
  59. openai4s-0.1.0/openai4s/cli/__init__.py +4 -0
  60. openai4s-0.1.0/openai4s/cli/main.py +608 -0
  61. openai4s-0.1.0/openai4s/compute/README.md +49 -0
  62. openai4s-0.1.0/openai4s/compute/README_zh.md +49 -0
  63. openai4s-0.1.0/openai4s/compute/__init__.py +4 -0
  64. openai4s-0.1.0/openai4s/compute/manager.py +560 -0
  65. openai4s-0.1.0/openai4s/compute/registry.py +230 -0
  66. openai4s-0.1.0/openai4s/compute/templates/README.md +34 -0
  67. openai4s-0.1.0/openai4s/compute/templates/README_zh.md +34 -0
  68. openai4s-0.1.0/openai4s/compute/templates/run.sh.tmpl +5 -0
  69. openai4s-0.1.0/openai4s/compute/templates/wrapper.sh.tmpl +178 -0
  70. openai4s-0.1.0/openai4s/config.py +372 -0
  71. openai4s-0.1.0/openai4s/egress.py +268 -0
  72. openai4s-0.1.0/openai4s/execution/README.md +28 -0
  73. openai4s-0.1.0/openai4s/execution/README_zh.md +28 -0
  74. openai4s-0.1.0/openai4s/execution/__init__.py +32 -0
  75. openai4s-0.1.0/openai4s/execution/coordinator.py +851 -0
  76. openai4s-0.1.0/openai4s/execution/dependencies.py +740 -0
  77. openai4s-0.1.0/openai4s/execution/models.py +51 -0
  78. openai4s-0.1.0/openai4s/execution/watchdog.py +153 -0
  79. openai4s-0.1.0/openai4s/host/README.md +50 -0
  80. openai4s-0.1.0/openai4s/host/README_zh.md +50 -0
  81. openai4s-0.1.0/openai4s/host/__init__.py +32 -0
  82. openai4s-0.1.0/openai4s/host/bash.py +607 -0
  83. openai4s-0.1.0/openai4s/host/completion.py +128 -0
  84. openai4s-0.1.0/openai4s/host/credentials.py +116 -0
  85. openai4s-0.1.0/openai4s/host/data.py +499 -0
  86. openai4s-0.1.0/openai4s/host/delegation.py +189 -0
  87. openai4s-0.1.0/openai4s/host/delegation_policy.py +343 -0
  88. openai4s-0.1.0/openai4s/host/endpoints.py +218 -0
  89. openai4s-0.1.0/openai4s/host/files.py +122 -0
  90. openai4s-0.1.0/openai4s/host/llm.py +80 -0
  91. openai4s-0.1.0/openai4s/host/mcp.py +193 -0
  92. openai4s-0.1.0/openai4s/host/progress.py +161 -0
  93. openai4s-0.1.0/openai4s/host/remote_capabilities.py +253 -0
  94. openai4s-0.1.0/openai4s/host/remote_science.py +344 -0
  95. openai4s-0.1.0/openai4s/host/science.py +658 -0
  96. openai4s-0.1.0/openai4s/host/session.py +301 -0
  97. openai4s-0.1.0/openai4s/host/skills.py +333 -0
  98. openai4s-0.1.0/openai4s/host_dispatch.py +1915 -0
  99. openai4s-0.1.0/openai4s/jobs.py +180 -0
  100. openai4s-0.1.0/openai4s/kernel/README.md +51 -0
  101. openai4s-0.1.0/openai4s/kernel/README_zh.md +51 -0
  102. openai4s-0.1.0/openai4s/kernel/__init__.py +5 -0
  103. openai4s-0.1.0/openai4s/kernel/background.py +183 -0
  104. openai4s-0.1.0/openai4s/kernel/environment.py +229 -0
  105. openai4s-0.1.0/openai4s/kernel/environments.py +309 -0
  106. openai4s-0.1.0/openai4s/kernel/guards.py +193 -0
  107. openai4s-0.1.0/openai4s/kernel/lazy.py +140 -0
  108. openai4s-0.1.0/openai4s/kernel/manager.py +417 -0
  109. openai4s-0.1.0/openai4s/kernel/preinstall.py +302 -0
  110. openai4s-0.1.0/openai4s/kernel/provenance.py +497 -0
  111. openai4s-0.1.0/openai4s/kernel/r_kernel.py +99 -0
  112. openai4s-0.1.0/openai4s/kernel/r_worker.R +523 -0
  113. openai4s-0.1.0/openai4s/kernel/recovery.py +1111 -0
  114. openai4s-0.1.0/openai4s/kernel/supervisor.py +721 -0
  115. openai4s-0.1.0/openai4s/kernel/worker.py +879 -0
  116. openai4s-0.1.0/openai4s/llm/README.md +38 -0
  117. openai4s-0.1.0/openai4s/llm/README_zh.md +38 -0
  118. openai4s-0.1.0/openai4s/llm/__init__.py +132 -0
  119. openai4s-0.1.0/openai4s/llm/capabilities.py +904 -0
  120. openai4s-0.1.0/openai4s/llm/catalog.py +139 -0
  121. openai4s-0.1.0/openai4s/llm/client.py +120 -0
  122. openai4s-0.1.0/openai4s/llm/messages.py +322 -0
  123. openai4s-0.1.0/openai4s/llm/models.py +7 -0
  124. openai4s-0.1.0/openai4s/llm/providers/README.md +26 -0
  125. openai4s-0.1.0/openai4s/llm/providers/README_zh.md +26 -0
  126. openai4s-0.1.0/openai4s/llm/providers/__init__.py +13 -0
  127. openai4s-0.1.0/openai4s/llm/providers/anthropic.py +78 -0
  128. openai4s-0.1.0/openai4s/llm/providers/gemini.py +79 -0
  129. openai4s-0.1.0/openai4s/llm/providers/openai.py +232 -0
  130. openai4s-0.1.0/openai4s/llm/providers/responses.py +205 -0
  131. openai4s-0.1.0/openai4s/llm/registry.py +132 -0
  132. openai4s-0.1.0/openai4s/llm/tooling.py +307 -0
  133. openai4s-0.1.0/openai4s/llm/transport.py +85 -0
  134. openai4s-0.1.0/openai4s/mcp_client.py +348 -0
  135. openai4s-0.1.0/openai4s/mcp_servers/README.md +23 -0
  136. openai4s-0.1.0/openai4s/mcp_servers/README_zh.md +23 -0
  137. openai4s-0.1.0/openai4s/mcp_servers/__init__.py +2 -0
  138. openai4s-0.1.0/openai4s/mcp_servers/example_server.py +260 -0
  139. openai4s-0.1.0/openai4s/onboarding.py +167 -0
  140. openai4s-0.1.0/openai4s/permissions.py +737 -0
  141. openai4s-0.1.0/openai4s/pkgscan.py +225 -0
  142. openai4s-0.1.0/openai4s/prompts.py +196 -0
  143. openai4s-0.1.0/openai4s/replay.py +191 -0
  144. openai4s-0.1.0/openai4s/review.py +371 -0
  145. openai4s-0.1.0/openai4s/sdk/README.md +44 -0
  146. openai4s-0.1.0/openai4s/sdk/README_zh.md +44 -0
  147. openai4s-0.1.0/openai4s/sdk/__init__.py +4 -0
  148. openai4s-0.1.0/openai4s/sdk/bash.py +432 -0
  149. openai4s-0.1.0/openai4s/sdk/compute.py +563 -0
  150. openai4s-0.1.0/openai4s/sdk/host.py +1113 -0
  151. openai4s-0.1.0/openai4s/security/README.md +49 -0
  152. openai4s-0.1.0/openai4s/security/README_zh.md +49 -0
  153. openai4s-0.1.0/openai4s/security/__init__.py +45 -0
  154. openai4s-0.1.0/openai4s/security/audit_hook.py +206 -0
  155. openai4s-0.1.0/openai4s/security/biosecurity.py +165 -0
  156. openai4s-0.1.0/openai4s/security/classifier.py +410 -0
  157. openai4s-0.1.0/openai4s/security/injection.py +137 -0
  158. openai4s-0.1.0/openai4s/security/sandbox.py +795 -0
  159. openai4s-0.1.0/openai4s/security/shellcheck.py +90 -0
  160. openai4s-0.1.0/openai4s/server/README.md +83 -0
  161. openai4s-0.1.0/openai4s/server/README_zh.md +83 -0
  162. openai4s-0.1.0/openai4s/server/__init__.py +10 -0
  163. openai4s-0.1.0/openai4s/server/action_timeline.py +434 -0
  164. openai4s-0.1.0/openai4s/server/agent_run.py +591 -0
  165. openai4s-0.1.0/openai4s/server/artifacts.py +804 -0
  166. openai4s-0.1.0/openai4s/server/cell_run.py +646 -0
  167. openai4s-0.1.0/openai4s/server/completions.py +372 -0
  168. openai4s-0.1.0/openai4s/server/daemon.py +139 -0
  169. openai4s-0.1.0/openai4s/server/execution_coordinator.py +457 -0
  170. openai4s-0.1.0/openai4s/server/execution_views.py +309 -0
  171. openai4s-0.1.0/openai4s/server/gateway.py +8975 -0
  172. openai4s-0.1.0/openai4s/server/global_views.py +170 -0
  173. openai4s-0.1.0/openai4s/server/model_discovery.py +221 -0
  174. openai4s-0.1.0/openai4s/server/model_profiles.py +290 -0
  175. openai4s-0.1.0/openai4s/server/notebook_export.py +304 -0
  176. openai4s-0.1.0/openai4s/server/plans.py +510 -0
  177. openai4s-0.1.0/openai4s/server/recovery_control.py +655 -0
  178. openai4s-0.1.0/openai4s/server/recovery_execution.py +231 -0
  179. openai4s-0.1.0/openai4s/server/recovery_recipe.py +452 -0
  180. openai4s-0.1.0/openai4s/server/recovery_runtime.py +684 -0
  181. openai4s-0.1.0/openai4s/server/renderers.py +206 -0
  182. openai4s-0.1.0/openai4s/server/reviews.py +683 -0
  183. openai4s-0.1.0/openai4s/server/session_branching.py +637 -0
  184. openai4s-0.1.0/openai4s/server/session_deletion.py +284 -0
  185. openai4s-0.1.0/openai4s/server/session_domain.py +984 -0
  186. openai4s-0.1.0/openai4s/server/session_package.py +3042 -0
  187. openai4s-0.1.0/openai4s/server/session_recovery.py +264 -0
  188. openai4s-0.1.0/openai4s/server/session_runtime.py +52 -0
  189. openai4s-0.1.0/openai4s/server/skill_sidecars.py +155 -0
  190. openai4s-0.1.0/openai4s/server/skills.py +391 -0
  191. openai4s-0.1.0/openai4s/server/titles.py +157 -0
  192. openai4s-0.1.0/openai4s/server/variable_inspector.py +207 -0
  193. openai4s-0.1.0/openai4s/server/webui/README.md +41 -0
  194. openai4s-0.1.0/openai4s/server/webui/README_zh.md +41 -0
  195. openai4s-0.1.0/openai4s/server/webui/app.js +7548 -0
  196. openai4s-0.1.0/openai4s/server/webui/favicon.js +66 -0
  197. openai4s-0.1.0/openai4s/server/webui/favicon_anim_64.gif +0 -0
  198. openai4s-0.1.0/openai4s/server/webui/index.html +172 -0
  199. openai4s-0.1.0/openai4s/server/webui/scientific_renderers.js +334 -0
  200. openai4s-0.1.0/openai4s/server/webui/style.css +1433 -0
  201. openai4s-0.1.0/openai4s/server/webui/vendor/3Dmol-min.js +2 -0
  202. openai4s-0.1.0/openai4s/server/webui/vendor/fonts/AnthropicMono-Italic-Web-DHGc3er-.woff2 +0 -0
  203. openai4s-0.1.0/openai4s/server/webui/vendor/fonts/AnthropicMono-Roman-Web-B88FVziN.woff2 +0 -0
  204. openai4s-0.1.0/openai4s/server/webui/vendor/fonts/AnthropicSans-Italic-Variable-BI1hrwN4.woff2 +0 -0
  205. openai4s-0.1.0/openai4s/server/webui/vendor/fonts/AnthropicSans-Roman-Variable-CFxw3nG7.woff2 +0 -0
  206. openai4s-0.1.0/openai4s/server/webui/vendor/fonts/AnthropicSerif-Italic-Variable-DH94ugQz.woff2 +0 -0
  207. openai4s-0.1.0/openai4s/server/webui/vendor/fonts/AnthropicSerif-Roman-Variable-C-BHYa_K.woff2 +0 -0
  208. openai4s-0.1.0/openai4s/server/webui/vendor/fonts/anthropicons-variable-DICoRAgs.woff2 +0 -0
  209. openai4s-0.1.0/openai4s/server/workbench_state.py +389 -0
  210. openai4s-0.1.0/openai4s/skills_loader/README.md +26 -0
  211. openai4s-0.1.0/openai4s/skills_loader/README_zh.md +26 -0
  212. openai4s-0.1.0/openai4s/skills_loader/__init__.py +16 -0
  213. openai4s-0.1.0/openai4s/skills_loader/loader.py +772 -0
  214. openai4s-0.1.0/openai4s/skills_loader/versions.py +657 -0
  215. openai4s-0.1.0/openai4s/storage/README.md +62 -0
  216. openai4s-0.1.0/openai4s/storage/README_zh.md +62 -0
  217. openai4s-0.1.0/openai4s/storage/__init__.py +52 -0
  218. openai4s-0.1.0/openai4s/storage/actions.py +979 -0
  219. openai4s-0.1.0/openai4s/storage/activation.py +409 -0
  220. openai4s-0.1.0/openai4s/storage/agents.py +109 -0
  221. openai4s-0.1.0/openai4s/storage/annotations.py +151 -0
  222. openai4s-0.1.0/openai4s/storage/artifacts.py +1008 -0
  223. openai4s-0.1.0/openai4s/storage/branch_projection.py +209 -0
  224. openai4s-0.1.0/openai4s/storage/capabilities.py +374 -0
  225. openai4s-0.1.0/openai4s/storage/checkpoint_state.py +1188 -0
  226. openai4s-0.1.0/openai4s/storage/connectors.py +119 -0
  227. openai4s-0.1.0/openai4s/storage/delegation.py +612 -0
  228. openai4s-0.1.0/openai4s/storage/deletion.py +502 -0
  229. openai4s-0.1.0/openai4s/storage/frames.py +850 -0
  230. openai4s-0.1.0/openai4s/storage/kernels.py +438 -0
  231. openai4s-0.1.0/openai4s/storage/memories.py +99 -0
  232. openai4s-0.1.0/openai4s/storage/metadata.py +431 -0
  233. openai4s-0.1.0/openai4s/storage/permissions.py +686 -0
  234. openai4s-0.1.0/openai4s/storage/plans.py +187 -0
  235. openai4s-0.1.0/openai4s/storage/recovery.py +169 -0
  236. openai4s-0.1.0/openai4s/storage/settings.py +89 -0
  237. openai4s-0.1.0/openai4s/storage/skills.py +541 -0
  238. openai4s-0.1.0/openai4s/storage/snapshots.py +1150 -0
  239. openai4s-0.1.0/openai4s/store.py +2570 -0
  240. openai4s-0.1.0/openai4s/tools/README.md +63 -0
  241. openai4s-0.1.0/openai4s/tools/README_zh.md +63 -0
  242. openai4s-0.1.0/openai4s/tools/__init__.py +243 -0
  243. openai4s-0.1.0/openai4s/tools/artifacts.py +199 -0
  244. openai4s-0.1.0/openai4s/tools/background.py +135 -0
  245. openai4s-0.1.0/openai4s/tools/base.py +261 -0
  246. openai4s-0.1.0/openai4s/tools/capabilities.py +35 -0
  247. openai4s-0.1.0/openai4s/tools/catalog.py +666 -0
  248. openai4s-0.1.0/openai4s/tools/content_search.py +83 -0
  249. openai4s-0.1.0/openai4s/tools/contexts.py +109 -0
  250. openai4s-0.1.0/openai4s/tools/data.py +192 -0
  251. openai4s-0.1.0/openai4s/tools/delegation.py +153 -0
  252. openai4s-0.1.0/openai4s/tools/dynamic.py +1137 -0
  253. openai4s-0.1.0/openai4s/tools/dynamic_control.py +201 -0
  254. openai4s-0.1.0/openai4s/tools/dynamic_scopes.py +422 -0
  255. openai4s-0.1.0/openai4s/tools/edit.py +102 -0
  256. openai4s-0.1.0/openai4s/tools/env.py +19 -0
  257. openai4s-0.1.0/openai4s/tools/env_create.py +67 -0
  258. openai4s-0.1.0/openai4s/tools/env_list.py +91 -0
  259. openai4s-0.1.0/openai4s/tools/env_use.py +92 -0
  260. openai4s-0.1.0/openai4s/tools/fs.py +19 -0
  261. openai4s-0.1.0/openai4s/tools/glob_files.py +54 -0
  262. openai4s-0.1.0/openai4s/tools/list_directory.py +50 -0
  263. openai4s-0.1.0/openai4s/tools/mcp.py +227 -0
  264. openai4s-0.1.0/openai4s/tools/native.py +74 -0
  265. openai4s-0.1.0/openai4s/tools/network_access.py +38 -0
  266. openai4s-0.1.0/openai4s/tools/progress.py +122 -0
  267. openai4s-0.1.0/openai4s/tools/read_text_file.py +69 -0
  268. openai4s-0.1.0/openai4s/tools/registry.py +743 -0
  269. openai4s-0.1.0/openai4s/tools/remote_capabilities.py +63 -0
  270. openai4s-0.1.0/openai4s/tools/remote_compute.py +249 -0
  271. openai4s-0.1.0/openai4s/tools/schema.py +459 -0
  272. openai4s-0.1.0/openai4s/tools/science.py +114 -0
  273. openai4s-0.1.0/openai4s/tools/search.py +15 -0
  274. openai4s-0.1.0/openai4s/tools/session.py +210 -0
  275. openai4s-0.1.0/openai4s/tools/skills.py +206 -0
  276. openai4s-0.1.0/openai4s/tools/taxonomy.py +56 -0
  277. openai4s-0.1.0/openai4s/tools/web.py +15 -0
  278. openai4s-0.1.0/openai4s/tools/web_fetch.py +73 -0
  279. openai4s-0.1.0/openai4s/tools/web_search.py +59 -0
  280. openai4s-0.1.0/openai4s/tools/write_file.py +45 -0
  281. openai4s-0.1.0/openai4s/webtools.py +802 -0
  282. openai4s-0.1.0/openai4s.egg-info/PKG-INFO +299 -0
  283. openai4s-0.1.0/openai4s.egg-info/SOURCES.txt +621 -0
  284. openai4s-0.1.0/openai4s.egg-info/dependency_links.txt +1 -0
  285. openai4s-0.1.0/openai4s.egg-info/entry_points.txt +2 -0
  286. openai4s-0.1.0/openai4s.egg-info/requires.txt +8 -0
  287. openai4s-0.1.0/openai4s.egg-info/top_level.txt +5 -0
  288. openai4s-0.1.0/openai4s_compute_provider/README.md +40 -0
  289. openai4s-0.1.0/openai4s_compute_provider/README_zh.md +40 -0
  290. openai4s-0.1.0/openai4s_compute_provider/__init__.py +70 -0
  291. openai4s-0.1.0/openai4s_compute_provider/__main__.py +45 -0
  292. openai4s-0.1.0/openai4s_compute_provider/_channel.py +78 -0
  293. openai4s-0.1.0/openai4s_compute_provider/_constants.py +92 -0
  294. openai4s-0.1.0/openai4s_compute_provider/_protocol.py +104 -0
  295. openai4s-0.1.0/openai4s_compute_provider/_resident.py +930 -0
  296. openai4s-0.1.0/openai4s_worker_runtime/README.md +27 -0
  297. openai4s-0.1.0/openai4s_worker_runtime/README_zh.md +27 -0
  298. openai4s-0.1.0/openai4s_worker_runtime/__init__.py +71 -0
  299. openai4s-0.1.0/pyproject.toml +160 -0
  300. openai4s-0.1.0/scripts/check_directory_readmes.py +177 -0
  301. openai4s-0.1.0/scripts/make_app_icon.py +146 -0
  302. openai4s-0.1.0/scripts/release_import_smoke.py +98 -0
  303. openai4s-0.1.0/scripts/setup_envs.sh +13 -0
  304. openai4s-0.1.0/scripts/source_secret_scan.py +189 -0
  305. openai4s-0.1.0/scripts/update_contributors.py +191 -0
  306. openai4s-0.1.0/scripts/verify_macos_bundle.py +417 -0
  307. openai4s-0.1.0/scripts/verify_release_artifacts.py +214 -0
  308. openai4s-0.1.0/scripts/verify_release_tag.py +85 -0
  309. openai4s-0.1.0/setup.cfg +4 -0
  310. openai4s-0.1.0/skills/README.md +59 -0
  311. openai4s-0.1.0/skills/README_zh.md +56 -0
  312. openai4s-0.1.0/skills/admet_genetic/README.md +19 -0
  313. openai4s-0.1.0/skills/admet_genetic/README_zh.md +19 -0
  314. openai4s-0.1.0/skills/admet_genetic/SKILL.md +173 -0
  315. openai4s-0.1.0/skills/admet_genetic/examples/README.md +18 -0
  316. openai4s-0.1.0/skills/admet_genetic/examples/README_zh.md +18 -0
  317. openai4s-0.1.0/skills/admet_genetic/examples/build_example.py +447 -0
  318. openai4s-0.1.0/skills/admet_genetic/examples/optimization_dashboard.html +478 -0
  319. openai4s-0.1.0/skills/admet_genetic/examples/report.md +94 -0
  320. openai4s-0.1.0/skills/admet_genetic/kernel.py +994 -0
  321. openai4s-0.1.0/skills/admet_genetic/references/README.md +11 -0
  322. openai4s-0.1.0/skills/admet_genetic/references/README_zh.md +11 -0
  323. openai4s-0.1.0/skills/admet_genetic/references/admet.md +93 -0
  324. openai4s-0.1.0/skills/admet_genetic/references/data_contracts.md +102 -0
  325. openai4s-0.1.0/skills/admet_genetic/references/ga.md +88 -0
  326. openai4s-0.1.0/skills/alphafold2/README.md +13 -0
  327. openai4s-0.1.0/skills/alphafold2/README_zh.md +13 -0
  328. openai4s-0.1.0/skills/alphafold2/SKILL.md +100 -0
  329. openai4s-0.1.0/skills/audit-dataset/README.md +12 -0
  330. openai4s-0.1.0/skills/audit-dataset/README_zh.md +12 -0
  331. openai4s-0.1.0/skills/audit-dataset/SKILL.md +62 -0
  332. openai4s-0.1.0/skills/audit-dataset/kernel.py +175 -0
  333. openai4s-0.1.0/skills/boltz/README.md +11 -0
  334. openai4s-0.1.0/skills/boltz/README_zh.md +11 -0
  335. openai4s-0.1.0/skills/boltz/SKILL.md +123 -0
  336. openai4s-0.1.0/skills/borzoi/README.md +11 -0
  337. openai4s-0.1.0/skills/borzoi/README_zh.md +11 -0
  338. openai4s-0.1.0/skills/borzoi/SKILL.md +103 -0
  339. openai4s-0.1.0/skills/catalyst_sar_screening/README.md +21 -0
  340. openai4s-0.1.0/skills/catalyst_sar_screening/README_zh.md +21 -0
  341. openai4s-0.1.0/skills/catalyst_sar_screening/SKILL.md +152 -0
  342. openai4s-0.1.0/skills/catalyst_sar_screening/build_example.py +110 -0
  343. openai4s-0.1.0/skills/catalyst_sar_screening/contcar_catalog.json +1 -0
  344. openai4s-0.1.0/skills/catalyst_sar_screening/kernel.py +2197 -0
  345. openai4s-0.1.0/skills/catalyst_sar_screening/metal_center_dissolution_dashboard.html +62 -0
  346. openai4s-0.1.0/skills/catalyst_sar_screening/metal_center_dissolution_descriptions.json +5 -0
  347. openai4s-0.1.0/skills/catalyst_sar_screening/metal_center_dissolution_report.md +42 -0
  348. openai4s-0.1.0/skills/catalyst_sar_screening/metal_center_dissolution_summary.json +64 -0
  349. openai4s-0.1.0/skills/chai1/README.md +11 -0
  350. openai4s-0.1.0/skills/chai1/README_zh.md +11 -0
  351. openai4s-0.1.0/skills/chai1/SKILL.md +112 -0
  352. openai4s-0.1.0/skills/diffdock/README.md +17 -0
  353. openai4s-0.1.0/skills/diffdock/README_zh.md +17 -0
  354. openai4s-0.1.0/skills/diffdock/SKILL.md +97 -0
  355. openai4s-0.1.0/skills/diffdock/references/README.md +9 -0
  356. openai4s-0.1.0/skills/diffdock/references/README_zh.md +9 -0
  357. openai4s-0.1.0/skills/diffdock/references/workflows.md +48 -0
  358. openai4s-0.1.0/skills/esmfold2/README.md +17 -0
  359. openai4s-0.1.0/skills/esmfold2/README_zh.md +17 -0
  360. openai4s-0.1.0/skills/esmfold2/SKILL.md +229 -0
  361. openai4s-0.1.0/skills/esmfold2/references/README.md +10 -0
  362. openai4s-0.1.0/skills/esmfold2/references/README_zh.md +10 -0
  363. openai4s-0.1.0/skills/esmfold2/references/design-hook.md +31 -0
  364. openai4s-0.1.0/skills/esmfold2/references/esmc.md +73 -0
  365. openai4s-0.1.0/skills/evaluate-model/README.md +12 -0
  366. openai4s-0.1.0/skills/evaluate-model/README_zh.md +12 -0
  367. openai4s-0.1.0/skills/evaluate-model/SKILL.md +52 -0
  368. openai4s-0.1.0/skills/evaluate-model/kernel.py +197 -0
  369. openai4s-0.1.0/skills/evo2/README.md +11 -0
  370. openai4s-0.1.0/skills/evo2/README_zh.md +11 -0
  371. openai4s-0.1.0/skills/evo2/SKILL.md +154 -0
  372. openai4s-0.1.0/skills/example_stats/README.md +12 -0
  373. openai4s-0.1.0/skills/example_stats/README_zh.md +12 -0
  374. openai4s-0.1.0/skills/example_stats/SKILL.md +54 -0
  375. openai4s-0.1.0/skills/example_stats/kernel.py +92 -0
  376. openai4s-0.1.0/skills/fair-esm2/README.md +11 -0
  377. openai4s-0.1.0/skills/fair-esm2/README_zh.md +11 -0
  378. openai4s-0.1.0/skills/fair-esm2/SKILL.md +141 -0
  379. openai4s-0.1.0/skills/figure-composer/README.md +12 -0
  380. openai4s-0.1.0/skills/figure-composer/README_zh.md +12 -0
  381. openai4s-0.1.0/skills/figure-composer/SKILL.md +142 -0
  382. openai4s-0.1.0/skills/figure-composer/kernel.py +389 -0
  383. openai4s-0.1.0/skills/figure-style/README.md +12 -0
  384. openai4s-0.1.0/skills/figure-style/README_zh.md +12 -0
  385. openai4s-0.1.0/skills/figure-style/SKILL.md +330 -0
  386. openai4s-0.1.0/skills/figure-style/kernel.py +393 -0
  387. openai4s-0.1.0/skills/indication-dossier/README.md +17 -0
  388. openai4s-0.1.0/skills/indication-dossier/README_zh.md +17 -0
  389. openai4s-0.1.0/skills/indication-dossier/SKILL.md +136 -0
  390. openai4s-0.1.0/skills/indication-dossier/references/00-research-standards.md +25 -0
  391. openai4s-0.1.0/skills/indication-dossier/references/01-meta-initialization.md +46 -0
  392. openai4s-0.1.0/skills/indication-dossier/references/02-epidemiology-research.md +46 -0
  393. openai4s-0.1.0/skills/indication-dossier/references/03-biology-soc-research.md +55 -0
  394. openai4s-0.1.0/skills/indication-dossier/references/04-regulatory-trials-research.md +64 -0
  395. openai4s-0.1.0/skills/indication-dossier/references/05-synthesis.md +164 -0
  396. openai4s-0.1.0/skills/indication-dossier/references/06-writing-style.md +46 -0
  397. openai4s-0.1.0/skills/indication-dossier/references/README.md +16 -0
  398. openai4s-0.1.0/skills/indication-dossier/references/README_zh.md +16 -0
  399. openai4s-0.1.0/skills/indication-dossier/references/waypoint-schemas.md +103 -0
  400. openai4s-0.1.0/skills/ligandmpnn/README.md +11 -0
  401. openai4s-0.1.0/skills/ligandmpnn/README_zh.md +11 -0
  402. openai4s-0.1.0/skills/ligandmpnn/SKILL.md +124 -0
  403. openai4s-0.1.0/skills/literature-review/README.md +12 -0
  404. openai4s-0.1.0/skills/literature-review/README_zh.md +12 -0
  405. openai4s-0.1.0/skills/literature-review/SKILL.md +71 -0
  406. openai4s-0.1.0/skills/literature-review/kernel.py +359 -0
  407. openai4s-0.1.0/skills/mineral_spectra_analysis/README.md +18 -0
  408. openai4s-0.1.0/skills/mineral_spectra_analysis/README_zh.md +18 -0
  409. openai4s-0.1.0/skills/mineral_spectra_analysis/SKILL.md +236 -0
  410. openai4s-0.1.0/skills/mineral_spectra_analysis/examples/README.md +20 -0
  411. openai4s-0.1.0/skills/mineral_spectra_analysis/examples/README_zh.md +20 -0
  412. openai4s-0.1.0/skills/mineral_spectra_analysis/examples/build_example.py +125 -0
  413. openai4s-0.1.0/skills/mineral_spectra_analysis/examples/case1/README.md +11 -0
  414. openai4s-0.1.0/skills/mineral_spectra_analysis/examples/case1/README_zh.md +11 -0
  415. openai4s-0.1.0/skills/mineral_spectra_analysis/examples/case1/truth.json +18 -0
  416. openai4s-0.1.0/skills/mineral_spectra_analysis/examples/case1_analysis.json +124 -0
  417. openai4s-0.1.0/skills/mineral_spectra_analysis/examples/case1_components.json +34 -0
  418. openai4s-0.1.0/skills/mineral_spectra_analysis/examples/case1_mineral_spectra_report.md +56 -0
  419. openai4s-0.1.0/skills/mineral_spectra_analysis/kernel.py +1205 -0
  420. openai4s-0.1.0/skills/openfold3/README.md +11 -0
  421. openai4s-0.1.0/skills/openfold3/README_zh.md +11 -0
  422. openai4s-0.1.0/skills/openfold3/SKILL.md +185 -0
  423. openai4s-0.1.0/skills/paper-narrative/README.md +12 -0
  424. openai4s-0.1.0/skills/paper-narrative/README_zh.md +12 -0
  425. openai4s-0.1.0/skills/paper-narrative/SKILL.md +47 -0
  426. openai4s-0.1.0/skills/paper-narrative/kernel.py +187 -0
  427. openai4s-0.1.0/skills/pdf-explore/README.md +12 -0
  428. openai4s-0.1.0/skills/pdf-explore/README_zh.md +12 -0
  429. openai4s-0.1.0/skills/pdf-explore/SKILL.md +273 -0
  430. openai4s-0.1.0/skills/pdf-explore/kernel.py +1320 -0
  431. openai4s-0.1.0/skills/plan-ml-experiment/README.md +12 -0
  432. openai4s-0.1.0/skills/plan-ml-experiment/README_zh.md +12 -0
  433. openai4s-0.1.0/skills/plan-ml-experiment/SKILL.md +58 -0
  434. openai4s-0.1.0/skills/plan-ml-experiment/kernel.py +151 -0
  435. openai4s-0.1.0/skills/protein-mutation-enhancement/README.md +12 -0
  436. openai4s-0.1.0/skills/protein-mutation-enhancement/README_zh.md +12 -0
  437. openai4s-0.1.0/skills/protein-mutation-enhancement/SKILL.md +170 -0
  438. openai4s-0.1.0/skills/protein-mutation-enhancement/kernel.py +603 -0
  439. openai4s-0.1.0/skills/proteinmpnn/README.md +11 -0
  440. openai4s-0.1.0/skills/proteinmpnn/README_zh.md +11 -0
  441. openai4s-0.1.0/skills/proteinmpnn/SKILL.md +95 -0
  442. openai4s-0.1.0/skills/remote-compute-nvidia/README.md +13 -0
  443. openai4s-0.1.0/skills/remote-compute-nvidia/README_zh.md +13 -0
  444. openai4s-0.1.0/skills/remote-compute-nvidia/SKILL.md +224 -0
  445. openai4s-0.1.0/skills/remote-compute-nvidia/provider.json +22 -0
  446. openai4s-0.1.0/skills/remote-compute-nvidia/provider.py +384 -0
  447. openai4s-0.1.0/skills/remote-compute-ssh/README.md +11 -0
  448. openai4s-0.1.0/skills/remote-compute-ssh/README_zh.md +11 -0
  449. openai4s-0.1.0/skills/remote-compute-ssh/SKILL.md +359 -0
  450. openai4s-0.1.0/skills/retrosynthesis_planning/README.md +18 -0
  451. openai4s-0.1.0/skills/retrosynthesis_planning/README_zh.md +18 -0
  452. openai4s-0.1.0/skills/retrosynthesis_planning/SKILL.md +415 -0
  453. openai4s-0.1.0/skills/retrosynthesis_planning/examples/README.md +13 -0
  454. openai4s-0.1.0/skills/retrosynthesis_planning/examples/README_zh.md +13 -0
  455. openai4s-0.1.0/skills/retrosynthesis_planning/examples/aspirin_annotations.json +361 -0
  456. openai4s-0.1.0/skills/retrosynthesis_planning/examples/aspirin_retrosynthesis.html +1342 -0
  457. openai4s-0.1.0/skills/retrosynthesis_planning/examples/aspirin_retrosynthesis_report.md +124 -0
  458. openai4s-0.1.0/skills/retrosynthesis_planning/examples/aspirin_routes.json +206 -0
  459. openai4s-0.1.0/skills/retrosynthesis_planning/examples/build_example.py +57 -0
  460. openai4s-0.1.0/skills/retrosynthesis_planning/kernel.py +4115 -0
  461. openai4s-0.1.0/skills/scgpt/README.md +11 -0
  462. openai4s-0.1.0/skills/scgpt/README_zh.md +11 -0
  463. openai4s-0.1.0/skills/scgpt/SKILL.md +150 -0
  464. openai4s-0.1.0/skills/scvi-tools/README.md +12 -0
  465. openai4s-0.1.0/skills/scvi-tools/README_zh.md +12 -0
  466. openai4s-0.1.0/skills/scvi-tools/SKILL.md +171 -0
  467. openai4s-0.1.0/skills/scvi-tools/kernel.py +56 -0
  468. openai4s-0.1.0/skills/solublempnn/README.md +11 -0
  469. openai4s-0.1.0/skills/solublempnn/README_zh.md +11 -0
  470. openai4s-0.1.0/skills/solublempnn/SKILL.md +88 -0
  471. openai4s-0.1.0/skills/using-model-endpoint/README.md +14 -0
  472. openai4s-0.1.0/skills/using-model-endpoint/README_zh.md +14 -0
  473. openai4s-0.1.0/skills/using-model-endpoint/SKILL.md +31 -0
  474. openai4s-0.1.0/skills/using-model-endpoint/provider.json +12 -0
  475. openai4s-0.1.0/skills/using-model-endpoint/provider.py +156 -0
  476. openai4s-0.1.0/skills/using-model-endpoint/requirements.lock +33 -0
  477. openai4s-0.1.0/tests/test_action_ledger_repository.py +353 -0
  478. openai4s-0.1.0/tests/test_action_ledger_runtime.py +390 -0
  479. openai4s-0.1.0/tests/test_action_routing_eval.py +40 -0
  480. openai4s-0.1.0/tests/test_action_timeline_service.py +289 -0
  481. openai4s-0.1.0/tests/test_actions.py +179 -0
  482. openai4s-0.1.0/tests/test_admet_genetic.py +267 -0
  483. openai4s-0.1.0/tests/test_agent.py +676 -0
  484. openai4s-0.1.0/tests/test_agent_control.py +193 -0
  485. openai4s-0.1.0/tests/test_agent_engine.py +391 -0
  486. openai4s-0.1.0/tests/test_agent_hybrid.py +136 -0
  487. openai4s-0.1.0/tests/test_agent_profile_repository.py +183 -0
  488. openai4s-0.1.0/tests/test_agent_runtime.py +482 -0
  489. openai4s-0.1.0/tests/test_analysis_skills.py +153 -0
  490. openai4s-0.1.0/tests/test_annotation_repository.py +110 -0
  491. openai4s-0.1.0/tests/test_artifact_control_tools.py +292 -0
  492. openai4s-0.1.0/tests/test_artifact_manager.py +736 -0
  493. openai4s-0.1.0/tests/test_artifact_mutation_service.py +310 -0
  494. openai4s-0.1.0/tests/test_artifact_repository.py +492 -0
  495. openai4s-0.1.0/tests/test_artifact_scope.py +243 -0
  496. openai4s-0.1.0/tests/test_backend_import_contract.py +237 -0
  497. openai4s-0.1.0/tests/test_background_cleanup.py +49 -0
  498. openai4s-0.1.0/tests/test_bash_authorization.py +338 -0
  499. openai4s-0.1.0/tests/test_capability_state.py +245 -0
  500. openai4s-0.1.0/tests/test_catalyst_sar_screening.py +512 -0
  501. openai4s-0.1.0/tests/test_cell_dependencies.py +87 -0
  502. openai4s-0.1.0/tests/test_cell_execution_service.py +708 -0
  503. openai4s-0.1.0/tests/test_cell_watchdog.py +257 -0
  504. openai4s-0.1.0/tests/test_checkpoint_state_snapshots.py +562 -0
  505. openai4s-0.1.0/tests/test_cli_contract.py +215 -0
  506. openai4s-0.1.0/tests/test_compute_nvidia.py +463 -0
  507. openai4s-0.1.0/tests/test_config.py +67 -0
  508. openai4s-0.1.0/tests/test_connector_repository.py +211 -0
  509. openai4s-0.1.0/tests/test_context_policy_web.py +104 -0
  510. openai4s-0.1.0/tests/test_data_background_tools.py +213 -0
  511. openai4s-0.1.0/tests/test_delegation_persistence.py +238 -0
  512. openai4s-0.1.0/tests/test_delegation_policy.py +161 -0
  513. openai4s-0.1.0/tests/test_delegation_runtime.py +481 -0
  514. openai4s-0.1.0/tests/test_dynamic_tool_scopes.py +316 -0
  515. openai4s-0.1.0/tests/test_dynamic_tools.py +302 -0
  516. openai4s-0.1.0/tests/test_e2e.py +180 -0
  517. openai4s-0.1.0/tests/test_egress.py +371 -0
  518. openai4s-0.1.0/tests/test_environments.py +214 -0
  519. openai4s-0.1.0/tests/test_execution_coordinator.py +381 -0
  520. openai4s-0.1.0/tests/test_execution_view_service.py +562 -0
  521. openai4s-0.1.0/tests/test_frame_repository.py +792 -0
  522. openai4s-0.1.0/tests/test_gateway.py +2560 -0
  523. openai4s-0.1.0/tests/test_gateway_engine.py +573 -0
  524. openai4s-0.1.0/tests/test_gateway_kernel_lifecycle.py +553 -0
  525. openai4s-0.1.0/tests/test_gateway_lazy_runtime.py +492 -0
  526. openai4s-0.1.0/tests/test_gateway_session_domain_routes.py +1012 -0
  527. openai4s-0.1.0/tests/test_gateway_session_lifecycle.py +262 -0
  528. openai4s-0.1.0/tests/test_global_research_views.py +93 -0
  529. openai4s-0.1.0/tests/test_governance.py +67 -0
  530. openai4s-0.1.0/tests/test_harness_characterization.py +110 -0
  531. openai4s-0.1.0/tests/test_harness_contract.py +273 -0
  532. openai4s-0.1.0/tests/test_host_completion_service.py +156 -0
  533. openai4s-0.1.0/tests/test_host_contract.py +167 -0
  534. openai4s-0.1.0/tests/test_host_credentials_service.py +169 -0
  535. openai4s-0.1.0/tests/test_host_data_service.py +261 -0
  536. openai4s-0.1.0/tests/test_host_delegation_service.py +157 -0
  537. openai4s-0.1.0/tests/test_host_endpoint_service.py +323 -0
  538. openai4s-0.1.0/tests/test_host_llm_service.py +218 -0
  539. openai4s-0.1.0/tests/test_host_mcp_service.py +334 -0
  540. openai4s-0.1.0/tests/test_host_progress_service.py +274 -0
  541. openai4s-0.1.0/tests/test_host_remote_capability_service.py +237 -0
  542. openai4s-0.1.0/tests/test_host_remote_science_service.py +426 -0
  543. openai4s-0.1.0/tests/test_host_skill_service.py +128 -0
  544. openai4s-0.1.0/tests/test_host_workspace_service.py +167 -0
  545. openai4s-0.1.0/tests/test_jupyter_adapter.py +405 -0
  546. openai4s-0.1.0/tests/test_kernel.py +676 -0
  547. openai4s-0.1.0/tests/test_kernel_generation_storage.py +210 -0
  548. openai4s-0.1.0/tests/test_kernel_generation_supervisor.py +181 -0
  549. openai4s-0.1.0/tests/test_kernel_recovery.py +533 -0
  550. openai4s-0.1.0/tests/test_kernel_sandbox.py +422 -0
  551. openai4s-0.1.0/tests/test_kernel_supervisor.py +391 -0
  552. openai4s-0.1.0/tests/test_lazy_kernel.py +101 -0
  553. openai4s-0.1.0/tests/test_llm_anthropic_tool_calls.py +264 -0
  554. openai4s-0.1.0/tests/test_llm_capabilities.py +241 -0
  555. openai4s-0.1.0/tests/test_llm_gemini_tool_calls.py +362 -0
  556. openai4s-0.1.0/tests/test_llm_openai_tool_calls.py +477 -0
  557. openai4s-0.1.0/tests/test_llm_providers.py +295 -0
  558. openai4s-0.1.0/tests/test_llm_responses_tool_calls.py +304 -0
  559. openai4s-0.1.0/tests/test_local_model_discovery.py +156 -0
  560. openai4s-0.1.0/tests/test_marker_policy.py +70 -0
  561. openai4s-0.1.0/tests/test_mcp_client.py +150 -0
  562. openai4s-0.1.0/tests/test_mcp_control_tools.py +164 -0
  563. openai4s-0.1.0/tests/test_memory_repository.py +99 -0
  564. openai4s-0.1.0/tests/test_metadata_repositories.py +333 -0
  565. openai4s-0.1.0/tests/test_methodology_skills.py +114 -0
  566. openai4s-0.1.0/tests/test_mineral_spectra_analysis.py +226 -0
  567. openai4s-0.1.0/tests/test_model_catalog.py +300 -0
  568. openai4s-0.1.0/tests/test_native_tools.py +121 -0
  569. openai4s-0.1.0/tests/test_notebook_export.py +106 -0
  570. openai4s-0.1.0/tests/test_onboarding.py +169 -0
  571. openai4s-0.1.0/tests/test_orchestration_skills.py +225 -0
  572. openai4s-0.1.0/tests/test_permission_repository.py +601 -0
  573. openai4s-0.1.0/tests/test_permissions.py +1070 -0
  574. openai4s-0.1.0/tests/test_plan.py +263 -0
  575. openai4s-0.1.0/tests/test_plan_repository.py +83 -0
  576. openai4s-0.1.0/tests/test_plan_service.py +306 -0
  577. openai4s-0.1.0/tests/test_protein_mutation_enhancement_skill.py +169 -0
  578. openai4s-0.1.0/tests/test_provenance_paths.py +201 -0
  579. openai4s-0.1.0/tests/test_public_api_contract.py +241 -0
  580. openai4s-0.1.0/tests/test_r_kernel.py +346 -0
  581. openai4s-0.1.0/tests/test_recovery_recipe.py +124 -0
  582. openai4s-0.1.0/tests/test_release_gates.py +224 -0
  583. openai4s-0.1.0/tests/test_remote_capability_probe.py +301 -0
  584. openai4s-0.1.0/tests/test_remote_compute_control_tools.py +283 -0
  585. openai4s-0.1.0/tests/test_renderer_registry.py +49 -0
  586. openai4s-0.1.0/tests/test_retrosynthesis_evidence_regressions.py +256 -0
  587. openai4s-0.1.0/tests/test_retrosynthesis_planning.py +926 -0
  588. openai4s-0.1.0/tests/test_retrosynthesis_scoring_regressions.py +256 -0
  589. openai4s-0.1.0/tests/test_revert_projection.py +315 -0
  590. openai4s-0.1.0/tests/test_review.py +910 -0
  591. openai4s-0.1.0/tests/test_review_service.py +584 -0
  592. openai4s-0.1.0/tests/test_science_connectors.py +269 -0
  593. openai4s-0.1.0/tests/test_science_control_tools.py +64 -0
  594. openai4s-0.1.0/tests/test_sdk_compute.py +426 -0
  595. openai4s-0.1.0/tests/test_security.py +603 -0
  596. openai4s-0.1.0/tests/test_server_agent_run.py +649 -0
  597. openai4s-0.1.0/tests/test_server_completions.py +154 -0
  598. openai4s-0.1.0/tests/test_server_execution_coordinator.py +413 -0
  599. openai4s-0.1.0/tests/test_session_branching.py +188 -0
  600. openai4s-0.1.0/tests/test_session_control_tools.py +245 -0
  601. openai4s-0.1.0/tests/test_session_deletion.py +461 -0
  602. openai4s-0.1.0/tests/test_session_domain_service.py +520 -0
  603. openai4s-0.1.0/tests/test_session_package.py +1089 -0
  604. openai4s-0.1.0/tests/test_session_recovery.py +185 -0
  605. openai4s-0.1.0/tests/test_session_snapshots.py +244 -0
  606. openai4s-0.1.0/tests/test_session_title_service.py +255 -0
  607. openai4s-0.1.0/tests/test_session_tool_catalog.py +206 -0
  608. openai4s-0.1.0/tests/test_settings_repository.py +130 -0
  609. openai4s-0.1.0/tests/test_setup_environments.py +219 -0
  610. openai4s-0.1.0/tests/test_skill_customization_service.py +359 -0
  611. openai4s-0.1.0/tests/test_skill_product_surface.py +266 -0
  612. openai4s-0.1.0/tests/test_skill_sidecar_recovery.py +242 -0
  613. openai4s-0.1.0/tests/test_skill_versions.py +478 -0
  614. openai4s-0.1.0/tests/test_skills.py +345 -0
  615. openai4s-0.1.0/tests/test_store.py +621 -0
  616. openai4s-0.1.0/tests/test_structured_finalize.py +351 -0
  617. openai4s-0.1.0/tests/test_tool_schema.py +152 -0
  618. openai4s-0.1.0/tests/test_tools.py +453 -0
  619. openai4s-0.1.0/tests/test_variable_inspector_service.py +149 -0
  620. openai4s-0.1.0/tests/test_webtools.py +283 -0
  621. openai4s-0.1.0/tests/test_webui_static_contract.py +910 -0
  622. openai4s-0.1.0/tests/test_workbench_state_service.py +263 -0
  623. openai4s-0.1.0/tests/test_worker_runtime_alias.py +96 -0
openai4s-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 openai4s contributors
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.
@@ -0,0 +1,12 @@
1
+ # Ship the default conda env specs and the setup wrapper in the sdist so
2
+ # `openai4s setup` (and scripts/setup_envs.sh) work from a source distribution.
3
+ include envs/*.yml
4
+ include scripts/setup_envs.sh
5
+ include scripts/*.py
6
+ recursive-include docs *.md
7
+ recursive-include skills *.html *.json *.lock *.md *.py
8
+ recursive-include openai4s/compute/templates *.tmpl
9
+ recursive-include openai4s/kernel *.R
10
+ recursive-include openai4s/server/webui *.css *.gif *.html *.js *.woff2
11
+ global-exclude *.py[cod]
12
+ global-exclude __pycache__
@@ -0,0 +1,299 @@
1
+ Metadata-Version: 2.4
2
+ Name: openai4s
3
+ Version: 0.1.0
4
+ Summary: A pure-stdlib hybrid Code-as-Action scientific research agent.
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/PKU-YuanGroup/OpenAI4S
7
+ Project-URL: Documentation, https://openai4s.org/docs/
8
+ Project-URL: Issues, https://github.com/PKU-YuanGroup/OpenAI4S/issues
9
+ Project-URL: Source, https://github.com/PKU-YuanGroup/OpenAI4S
10
+ Keywords: agent,scientific-computing,code-as-action,llm
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Environment :: Console
13
+ Classifier: Operating System :: MacOS
14
+ Classifier: Operating System :: POSIX :: Linux
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3 :: Only
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Topic :: Scientific/Engineering
21
+ Requires-Python: >=3.10
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Provides-Extra: science
25
+ Requires-Dist: numpy>=1.24; extra == "science"
26
+ Requires-Dist: pandas>=2.0; extra == "science"
27
+ Requires-Dist: matplotlib>=3.7; extra == "science"
28
+ Provides-Extra: chemistry
29
+ Requires-Dist: rdkit>=2024.9; extra == "chemistry"
30
+ Dynamic: license-file
31
+
32
+ <div align="center">
33
+
34
+ <img src="readme-gifs-hd/openai4s_penta.gif" alt="OpenAI4S · Open AI for Scientist" width="480"/>
35
+
36
+ ### Open AI for Scientist
37
+
38
+ ## 💸 Replicating Claude Science in two cuts or less
39
+
40
+ **An open-source hybrid scientific research agent.**<br/>
41
+ <sub>JSON tools orchestrate; persistent Python/R kernels do the science.</sub>
42
+
43
+ <p>
44
+ <a href="LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-d97706.svg"></a>
45
+ <img alt="Python" src="https://img.shields.io/badge/Python-3.10%2B-3fb950.svg">
46
+ <img alt="Core deps" src="https://img.shields.io/badge/core-pure%20stdlib-58a6ff.svg">
47
+ <img alt="Paradigm" src="https://img.shields.io/badge/paradigm-Code--as--Action-bc8cff.svg">
48
+ <img alt="Tests" src="https://img.shields.io/badge/tests-offline%20suite-3fb950.svg">
49
+ </p>
50
+ <p>
51
+ <a href="https://github.com/PKU-YuanGroup/OpenAI4S/stargazers"><img alt="Stars" src="https://img.shields.io/github/stars/PKU-YuanGroup/OpenAI4S?style=social"></a>
52
+ <a href="https://github.com/PKU-YuanGroup/OpenAI4S/network/members"><img alt="Forks" src="https://img.shields.io/github/forks/PKU-YuanGroup/OpenAI4S?style=social"></a>
53
+ <a href="https://github.com/PKU-YuanGroup/OpenAI4S/issues"><img alt="Issues" src="https://img.shields.io/github/issues/PKU-YuanGroup/OpenAI4S"></a>
54
+ <a href="https://github.com/PKU-YuanGroup/OpenAI4S/pulls"><img alt="PRs Welcome" src="https://img.shields.io/badge/PRs-welcome-3fb950.svg"></a>
55
+ </p>
56
+
57
+ **English** · [简体中文](README_zh.md)
58
+
59
+ </div>
60
+
61
+ ---
62
+
63
+ > [!TIP]
64
+ > **Why "two cuts"?** No pricey frontier-model key needed — OpenAI4S runs on **Doubao (豆包)** via the cheapest **"Small" plan on Volcengine Ark (火山方舟)**: **¥9.9 / month (≈ US$1.4)**. Pick the `ark` provider in the UI and you get a Claude-Science-class agent for less than a cup of coffee.
65
+
66
+ <div align="center">
67
+ <img src="docs/ark-agent-plan-9.9.png" alt="Volcengine Ark · Agent Plan — Small tier at ¥9.9/month" width="760"/>
68
+ <br/>
69
+ <sub>Volcengine Ark · Agent Plan (Personal) — the entry <b>Small</b> tier is <b>¥9.9 / month</b>.</sub>
70
+ </div>
71
+
72
+ ---
73
+
74
+ ## 🧬 JSON orchestration, Code-as-Action science
75
+
76
+ OpenAI4S deliberately has two action planes. Provider-native **JSON tool
77
+ calls** handle deterministic orchestration, permissions, metadata, external
78
+ services, and human approval. **Python/R Code-as-Action** handles computation,
79
+ exploration, analysis, simulation, and long-running scientific work in
80
+ persistent kernels. Python cells can synchronously call the in-kernel `host`
81
+ API while they run; R is an independent persistent analysis channel.
82
+
83
+ This is not a choice between tools and code: each does the job it is good at.
84
+ Tool-only and conversational work can finish through the Engine-owned,
85
+ strictly structured `finalize_response` action. Scientific cells keep the
86
+ important `host.submit_output(...)` completion contract, including structured
87
+ artifacts and metrics. `host.submit_output` is the only completion signal that
88
+ can fire *inside* a Cell; a later sole `finalize_response` may still close the
89
+ Engine after earlier Cells have run.
90
+
91
+ <table>
92
+ <tr><th></th><th>JSON control plane</th><th>Python/R science plane</th></tr>
93
+ <tr><td align="right"><b>Best for</b></td><td>workflow, permissions, metadata, services</td><td>computation, analysis, simulation</td></tr>
94
+ <tr><td align="right"><b>Action unit</b></td><td>One ordered native-tool batch</td><td><b>One complete code cell</b></td></tr>
95
+ <tr><td align="right"><b>Composition</b></td><td>auditable schemas and resource policy</td><td><code>for</code>, <code>if</code>, libraries; Python also has mid-cell Host RPC</td></tr>
96
+ <tr><td align="right"><b>State</b></td><td>append-only Action Ledger</td><td>kernel memory + versioned artifacts</td></tr>
97
+ <tr><td align="right"><b>Completion</b></td><td>Engine-owned <code>finalize_response</code></td><td>Python: <code>host.submit_output(...)</code>; R: no in-cell completion</td></tr>
98
+ <tr><td align="right"><b>Extending</b></td><td>named <code>Tool</code> subclass</td><td>import a library or load a Skill</td></tr>
99
+ <tr><td colspan="3">
100
+
101
+ ```python
102
+ # ReAct: ~14 round-trips (read → … → filter → sort → plot). OpenAI4S: one code cell.
103
+ hits = [f for f in files if pattern in host.read_file(f)]
104
+ top3 = sorted(hits, key=os.path.getsize, reverse=True)[:3]
105
+ frames = [pd.read_csv(f) for f in top3] # a 100k-row DataFrame stays in the kernel...
106
+ host.save_artifact(plot(frames)) # ...only "<DataFrame 100000×20>" hits context
107
+ ```
108
+
109
+ </td></tr>
110
+ </table>
111
+
112
+ ---
113
+
114
+ ## 📣 News
115
+
116
+ - **`2026-07-06`** 🎉 **Open-sourced** — the pure-stdlib Code-as-Action engine, the scientific web app, 24 science Skills, and BYOC remote compute.
117
+
118
+ ---
119
+
120
+ ## 😮 Highlights
121
+
122
+ - **🧬 Hybrid action engine** — class-based native JSON tools orchestrate while persistent Python/R kernels execute science. CLI and Web adapters start foreground language slots lazily, so tool/finalize routing itself does not spawn one; individual tools may still manage dedicated workers.
123
+ - **📒 Ledger-first runtime** — action groups/events and terminal facts are append-only; execution attempts, generation lifecycle, usage, and completion records remain durable and reconstructable.
124
+ - **🐍 Pure-stdlib core** — the engine **and** the web server are stdlib-only (`http.server` + hand-rolled WebSocket, no framework, no deps). The LLM client speaks OpenAI / Anthropic / Gemini over `urllib` alone.
125
+ - **🔌 One-line multi-provider** — `ark` (doubao · glm · kimi · deepseek · minimax) plus official `chatgpt · claude · gemini`, behind a single `host.llm`; switch from the UI.
126
+ - **🖥️ Scientific workbench** — live streaming, versioned artifacts, provenance, an Action Timeline surface, and a **read-only-by-default Notebook**. An explicit developer flag enables multiline Python/R input against the shared kernels.
127
+ - **🔐 Hardened local execution** — strict child-environment allowlists, durable approvals, one-shot generation-bound `host.bash` capabilities, and OS sandbox adapters (Seatbelt on macOS, bubblewrap on Linux) with visible degraded/fail-closed modes.
128
+ - **🔬 32 bundled Skills** — GPU/model science Skills (AlphaFold2 · ESMFold2 · Boltz · Chai-1 · OpenFold3 · ProteinMPNN · ESM-2 · Evo2 · Borzoi · scGPT · scVI · DiffDock …) + research-workflow Skills. Skills are **recipes of code**, not JSON schemas; user-authored Skills stay under the data directory and cannot shadow bundled trust.
129
+ - **☁️ BYOC remote compute** — with a configured, reachable provider, dispatch GPU jobs via `ssh:<alias>` or the bundled **NVIDIA NIM** integration. General remote compute remains a Prototype surface; `host.fold` uses a strict no-fabrication policy.
130
+
131
+ ---
132
+
133
+ ## 🎬 Demo
134
+
135
+ <table>
136
+ <tr>
137
+ <td width="50%"><b>Live API workflow</b> — from UniProt / RCSB to a 3D structure &amp; report<br/><img src="readme-gifs-hd/demo-01-hd.gif" alt="Live API workflow: from UniProt / RCSB to a 3D structure and report"></td>
138
+ <td width="50%"><b>Real-data analysis</b> — human insulin INS (P01308): from UniProt / RCSB to a reproducible report<br/><img src="readme-gifs-hd/demo-05-hd.gif" alt="Real-data analysis: human insulin INS / UniProt P01308 from UniProt / RCSB to a reproducible report"></td>
139
+ </tr>
140
+ <tr>
141
+ <td width="50%"><b>Visual artifact editing</b> — “raise the confidence cutoff to 75” in one line<br/><img src="readme-gifs-hd/demo-02-hd.gif" alt="Visual artifact editing: raise the confidence cutoff to 75 in one line"></td>
142
+ <td width="50%"><b>Annotation-driven chart editing</b> — lasso a region &amp; recolor the legend<br/><img src="readme-gifs-hd/demo-06-hd.gif" alt="Annotation-driven chart editing: lasso a region and recolor the legend"></td>
143
+ </tr>
144
+ <tr>
145
+ <td width="50%"><b>Plan-mode research</b> — artemisinin &amp; paclitaxel solubility prediction<br/><img src="readme-gifs-hd/demo-03-hd.gif" alt="Plan-mode research: artemisinin and paclitaxel solubility prediction"></td>
146
+ <td width="50%"><b>Protein engineering</b> — from sequence to ranked mutants &amp; structural rationale<br/><img src="readme-gifs-hd/demo-04-hd.gif" alt="Protein engineering: from sequence to ranked mutants and structural rationale"></td>
147
+ </tr>
148
+ </table>
149
+
150
+ ---
151
+
152
+ ## ⚡ Quickstart
153
+
154
+ ```bash
155
+ git clone https://github.com/PKU-YuanGroup/OpenAI4S && cd OpenAI4S
156
+ ./setup.sh # one-time: build the environment with uv
157
+ ./start.sh # launch the web UI at http://127.0.0.1:8760/
158
+ ```
159
+
160
+ `setup.sh` creates the lightweight control `.venv` with **uv**. For the comprehensive Python + R scientific kernels, install a Conda-family manager (`micromamba`, `mamba`, or `conda`) and run `./setup.sh --with-kernel-envs` instead. Existing kernel environments can be synchronized with `./setup.sh --update-kernel-envs`; updates do not prune user-installed packages. `start.sh` launches the daemon + web UI. No API key is needed to boot — **set your model in the UI** (Customize → Models). One-shot without the UI: `uv run openai4s run "Compute the mean of [4,8,15,16,23,42] and submit it." -v`.
161
+
162
+ ### macOS app (no toolchain required)
163
+
164
+ Apple Silicon users can skip the checkout entirely: download `OpenAI4S-<version>-macos-arm64.dmg` from the [latest release](https://github.com/PKU-YuanGroup/OpenAI4S/releases/latest), drag it to Applications, and launch. The image embeds its own Python plus the default kernel science stack — numpy · pandas · scipy · matplotlib · scikit-learn · **rdkit** (cheminformatics) · **scanpy** and the single-cell stack · umap · numba · biopython — so the first launch needs no network and no `pip`. Data lives in `~/.openai4s`.
165
+
166
+ The build is ad-hoc signed but **not notarized**, so Gatekeeper refuses it the first time. On **macOS 15+**, open it once, then allow it under System Settings → Privacy & Security → **Open Anyway**; on **macOS 12–14**, right-click the app → **Open** → **Open**. Either way, `xattr -dr com.apple.quarantine /Applications/OpenAI4S.app` also clears it.
167
+
168
+ The CLI ships inside the app — symlink it if you want it on your PATH:
169
+
170
+ ```bash
171
+ sudo ln -sf /Applications/OpenAI4S.app/Contents/Resources/runtime/bin/openai4s /usr/local/bin/openai4s
172
+ openai4s setup # only if you want the R kernel: needs micromamba/mamba/conda
173
+ ```
174
+
175
+ The R kernel is not bundled (it needs a conda environment). On Intel Macs and Linux, install from PyPI (`pip install openai4s`) instead.
176
+
177
+ ---
178
+
179
+ ## 📚 Documentation
180
+
181
+ The canonical bilingual documentation is published at **[openai4s.org/docs](https://openai4s.org/docs/)**. Its public source and issue tracker live in [Nobody-Zhang/openai4s-docs](https://github.com/Nobody-Zhang/openai4s-docs); the links below point to the code-adjacent copies kept with this repository.
182
+
183
+ | doc | what's inside |
184
+ |---|---|
185
+ | [**Architecture**](docs/architecture.md) | the hybrid action router, Action Ledger, `host` RPC, and lazy kernels |
186
+ | [**Backend extension guide**](docs/backend-extension-guide.md) | where new Tool classes, host services, repositories, and session behaviour belong |
187
+ | [**Skills**](docs/skills.md) | the 32 bundled Skills + how to write your own |
188
+ | [**Remote compute**](docs/compute.md) | BYOC GPU jobs, `host.fold`, auto-provisioning |
189
+ | [**Web app**](docs/webapp.md) | UI features, Action Timeline, read-only Notebook, artifacts, and implementation status |
190
+ | [**Jupyter adapter**](docs/jupyter.md) | optional standalone Python/R KernelSpecs, install commands, and compatibility limits |
191
+ | [**Configuration**](docs/configuration.md) | model providers, env vars, conda envs, CLI |
192
+ | [**Security**](docs/security.md) | defense-in-depth safety layers & remote-access notes |
193
+
194
+ ---
195
+
196
+ ## 🗺️ Roadmap
197
+
198
+ - [x] Ship the next-generation workbench foundation: branch activation and
199
+ append-only Revert/Undo projections, verified recovery with explicit
200
+ Partial/Failed state, dependency-level stale propagation, durable delegation,
201
+ quarantined portable Session packages, checkpointed plan/review/memory state,
202
+ and dedicated 2D chemistry/genome/sequence/MSA/LaTeX renderers. Arbitrary
203
+ in-memory namespace objects are deliberately not serialized; recovery remains
204
+ Partial unless a safe recipe can rebuild and verify them, and Fork is offered
205
+ only on records that carry a proven checkpoint mapping, so older history
206
+ returns 409.
207
+ - [ ] Add stronger Linux isolation beyond bubblewrap where available (for example seccomp) and expand packaged sandbox smoke coverage.
208
+ - [ ] Keyless `web_search` beyond DuckDuckGo (rate-limit resilience).
209
+ - [ ] More BYOC providers (Modal / SLURM) beyond SSH + NVIDIA NIM.
210
+ - [ ] A public benchmark of end-to-end scientific workflows.
211
+ - [ ] Local GPU model serving so structure/design Skills run without remote compute.
212
+
213
+ ---
214
+
215
+ ## 💡 Contributing
216
+
217
+ OpenAI4S is a community effort to keep the **Code-as-Action** paradigm open.
218
+
219
+ Before opening a PR, please read [`CONTRIBUTING.md`](CONTRIBUTING.md) — it defines branch naming, the PR checklist ([`.github/pull_request_template.md`](.github/pull_request_template.md)), code ownership ([`.github/CODEOWNERS`](.github/CODEOWNERS)), review & release policy, and the offline-test policy.
220
+
221
+ ### Development setup
222
+
223
+ Requires **Python ≥ 3.10** and [**uv**](https://docs.astral.sh/uv/).
224
+
225
+ ```bash
226
+ git clone https://github.com/PKU-YuanGroup/OpenAI4S && cd OpenAI4S
227
+ ./setup.sh # uv sync --locked --extra science + pre-commit hook
228
+ ./setup.sh --with-kernel-envs # optional: full Python + R kernel stacks
229
+ uv run pytest # offline test suite (LLM mocked)
230
+ uv run pre-commit run --all-files # format + lint everything
231
+ ```
232
+
233
+ Style is enforced by **pre-commit** — `black`, `isort` (`--profile black`), and `ruff`, pinned in [`.pre-commit-config.yaml`](.pre-commit-config.yaml). Runtime deps: the core is **zero-dependency** (pure stdlib); the optional `science` extra pins `numpy>=1.24 · pandas>=2.0 · matplotlib>=3.7`.
234
+
235
+ ### What we welcome
236
+
237
+ - **New Skills** — a `SKILL.md` (+ optional `kernel.py`) under `skills/` — recipes of code, not schemas.
238
+ - **New providers** — a wire adapter under [`openai4s/llm/providers/`](openai4s/llm/providers/) plus its provider definition and registry entry, or a BYOC compute provider.
239
+ - **Engine & UI** — the core is pure stdlib and readable; the web app is framework-free.
240
+
241
+ Keep the core dependency-free, guard optional science imports behind `try/except ImportError`, and make sure `uv run pytest` and `uv run pre-commit run --all-files` pass before opening a PR.
242
+
243
+ ---
244
+
245
+ ## 👍 Acknowledgement & related work
246
+
247
+ - **Claude Science** (Anthropic) — the closed reference architecture whose Code-as-Action design, persistent kernel, host-RPC protocol, and safety layers OpenAI4S independently reproduces in open source.
248
+ - **CodeAct** — *"Executable Code Actions Elicit Better LLM Agents"* — code as a unified action interface.
249
+ - **ReAct** — *"Synergizing Reasoning and Acting in Language Models"* — the `tool_use` baseline this project departs from.
250
+ - The science Skills stand on **ColabFold / AlphaFold, ESM, OpenFold, Boltz, Chai, ProteinMPNN, DiffDock, Evo2, Borzoi, scGPT, scVI-tools** and open data services (NCBI, UniProt, RCSB PDB, EBI, OpenAlex, Crossref).
251
+
252
+ ---
253
+
254
+ ## 🔒 License
255
+
256
+ Released under the **MIT License** — see [`LICENSE`](LICENSE).
257
+
258
+ ---
259
+
260
+ ## ✨ Star history
261
+
262
+ <a href="https://www.star-history.com/?repos=PKU-YuanGroup%2FOpenAI4S&type=date&legend=top-left">
263
+ <picture>
264
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=PKU-YuanGroup/OpenAI4S&type=date&theme=dark&legend=top-left&sealed_token=tXwdGRCr3f-z1z8jgUOb1LUaPHwq9008wrTkaLBHVH4lQQDeSr_uyDT_1NcLONdaOxKx9l0uvSHEToe73WVGac02UiFVnXE-W_0z8C1AFwJfPJ0S87FJYQ" />
265
+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=PKU-YuanGroup/OpenAI4S&type=date&legend=top-left&sealed_token=tXwdGRCr3f-z1z8jgUOb1LUaPHwq9008wrTkaLBHVH4lQQDeSr_uyDT_1NcLONdaOxKx9l0uvSHEToe73WVGac02UiFVnXE-W_0z8C1AFwJfPJ0S87FJYQ" />
266
+ <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=PKU-YuanGroup/OpenAI4S&type=date&legend=top-left&sealed_token=tXwdGRCr3f-z1z8jgUOb1LUaPHwq9008wrTkaLBHVH4lQQDeSr_uyDT_1NcLONdaOxKx9l0uvSHEToe73WVGac02UiFVnXE-W_0z8C1AFwJfPJ0S87FJYQ" />
267
+ </picture>
268
+ </a>
269
+
270
+ ---
271
+
272
+ ## ✏️ Citing
273
+
274
+ ```bibtex
275
+ @software{openai4s2026,
276
+ title = {OpenAI4S: An Open-Source Code-as-Action Scientific Research Agent},
277
+ author = {OpenAI4S contributors},
278
+ year = {2026},
279
+ url = {https://github.com/PKU-YuanGroup/OpenAI4S},
280
+ note = {Open AI for Scientist — a pure-stdlib reproduction of the Code-as-Action paradigm}
281
+ }
282
+ ```
283
+
284
+ ## 🤝 Community contributors
285
+
286
+ <!-- CONTRIBUTORS:START -->
287
+ <a href="https://github.com/Nobody-Zhang" title="Nobody-Zhang"><img src=".github/contributors/Nobody-Zhang.png" width="64" height="64" alt="Nobody-Zhang" /></a>
288
+ <a href="https://github.com/Grace-xyx" title="Grace-xyx"><img src=".github/contributors/Grace-xyx.png" width="64" height="64" alt="Grace-xyx" /></a>
289
+ <a href="https://github.com/wangyu-sd" title="wangyu-sd"><img src=".github/contributors/wangyu-sd.png" width="64" height="64" alt="wangyu-sd" /></a>
290
+ <a href="https://github.com/yusowa0716" title="yusowa0716"><img src=".github/contributors/yusowa0716.png" width="64" height="64" alt="yusowa0716" /></a>
291
+ <!-- CONTRIBUTORS:END -->
292
+
293
+ <sub>Auto-generated from the GitHub <a href="https://github.com/PKU-YuanGroup/OpenAI4S/graphs/contributors">contributors graph</a> by <code>scripts/update_contributors.py</code> (Contributors workflow).</sub>
294
+
295
+ ---
296
+
297
+ <div align="center">
298
+ <sub><b>OpenAI4S</b> · code is the action, the kernel is the environment. · <a href="README_zh.md">简体中文 </a> · Friend Link https://linux.do </sub>
299
+ </div>
@@ -0,0 +1,268 @@
1
+ <div align="center">
2
+
3
+ <img src="readme-gifs-hd/openai4s_penta.gif" alt="OpenAI4S · Open AI for Scientist" width="480"/>
4
+
5
+ ### Open AI for Scientist
6
+
7
+ ## 💸 Replicating Claude Science in two cuts or less
8
+
9
+ **An open-source hybrid scientific research agent.**<br/>
10
+ <sub>JSON tools orchestrate; persistent Python/R kernels do the science.</sub>
11
+
12
+ <p>
13
+ <a href="LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-d97706.svg"></a>
14
+ <img alt="Python" src="https://img.shields.io/badge/Python-3.10%2B-3fb950.svg">
15
+ <img alt="Core deps" src="https://img.shields.io/badge/core-pure%20stdlib-58a6ff.svg">
16
+ <img alt="Paradigm" src="https://img.shields.io/badge/paradigm-Code--as--Action-bc8cff.svg">
17
+ <img alt="Tests" src="https://img.shields.io/badge/tests-offline%20suite-3fb950.svg">
18
+ </p>
19
+ <p>
20
+ <a href="https://github.com/PKU-YuanGroup/OpenAI4S/stargazers"><img alt="Stars" src="https://img.shields.io/github/stars/PKU-YuanGroup/OpenAI4S?style=social"></a>
21
+ <a href="https://github.com/PKU-YuanGroup/OpenAI4S/network/members"><img alt="Forks" src="https://img.shields.io/github/forks/PKU-YuanGroup/OpenAI4S?style=social"></a>
22
+ <a href="https://github.com/PKU-YuanGroup/OpenAI4S/issues"><img alt="Issues" src="https://img.shields.io/github/issues/PKU-YuanGroup/OpenAI4S"></a>
23
+ <a href="https://github.com/PKU-YuanGroup/OpenAI4S/pulls"><img alt="PRs Welcome" src="https://img.shields.io/badge/PRs-welcome-3fb950.svg"></a>
24
+ </p>
25
+
26
+ **English** · [简体中文](README_zh.md)
27
+
28
+ </div>
29
+
30
+ ---
31
+
32
+ > [!TIP]
33
+ > **Why "two cuts"?** No pricey frontier-model key needed — OpenAI4S runs on **Doubao (豆包)** via the cheapest **"Small" plan on Volcengine Ark (火山方舟)**: **¥9.9 / month (≈ US$1.4)**. Pick the `ark` provider in the UI and you get a Claude-Science-class agent for less than a cup of coffee.
34
+
35
+ <div align="center">
36
+ <img src="docs/ark-agent-plan-9.9.png" alt="Volcengine Ark · Agent Plan — Small tier at ¥9.9/month" width="760"/>
37
+ <br/>
38
+ <sub>Volcengine Ark · Agent Plan (Personal) — the entry <b>Small</b> tier is <b>¥9.9 / month</b>.</sub>
39
+ </div>
40
+
41
+ ---
42
+
43
+ ## 🧬 JSON orchestration, Code-as-Action science
44
+
45
+ OpenAI4S deliberately has two action planes. Provider-native **JSON tool
46
+ calls** handle deterministic orchestration, permissions, metadata, external
47
+ services, and human approval. **Python/R Code-as-Action** handles computation,
48
+ exploration, analysis, simulation, and long-running scientific work in
49
+ persistent kernels. Python cells can synchronously call the in-kernel `host`
50
+ API while they run; R is an independent persistent analysis channel.
51
+
52
+ This is not a choice between tools and code: each does the job it is good at.
53
+ Tool-only and conversational work can finish through the Engine-owned,
54
+ strictly structured `finalize_response` action. Scientific cells keep the
55
+ important `host.submit_output(...)` completion contract, including structured
56
+ artifacts and metrics. `host.submit_output` is the only completion signal that
57
+ can fire *inside* a Cell; a later sole `finalize_response` may still close the
58
+ Engine after earlier Cells have run.
59
+
60
+ <table>
61
+ <tr><th></th><th>JSON control plane</th><th>Python/R science plane</th></tr>
62
+ <tr><td align="right"><b>Best for</b></td><td>workflow, permissions, metadata, services</td><td>computation, analysis, simulation</td></tr>
63
+ <tr><td align="right"><b>Action unit</b></td><td>One ordered native-tool batch</td><td><b>One complete code cell</b></td></tr>
64
+ <tr><td align="right"><b>Composition</b></td><td>auditable schemas and resource policy</td><td><code>for</code>, <code>if</code>, libraries; Python also has mid-cell Host RPC</td></tr>
65
+ <tr><td align="right"><b>State</b></td><td>append-only Action Ledger</td><td>kernel memory + versioned artifacts</td></tr>
66
+ <tr><td align="right"><b>Completion</b></td><td>Engine-owned <code>finalize_response</code></td><td>Python: <code>host.submit_output(...)</code>; R: no in-cell completion</td></tr>
67
+ <tr><td align="right"><b>Extending</b></td><td>named <code>Tool</code> subclass</td><td>import a library or load a Skill</td></tr>
68
+ <tr><td colspan="3">
69
+
70
+ ```python
71
+ # ReAct: ~14 round-trips (read → … → filter → sort → plot). OpenAI4S: one code cell.
72
+ hits = [f for f in files if pattern in host.read_file(f)]
73
+ top3 = sorted(hits, key=os.path.getsize, reverse=True)[:3]
74
+ frames = [pd.read_csv(f) for f in top3] # a 100k-row DataFrame stays in the kernel...
75
+ host.save_artifact(plot(frames)) # ...only "<DataFrame 100000×20>" hits context
76
+ ```
77
+
78
+ </td></tr>
79
+ </table>
80
+
81
+ ---
82
+
83
+ ## 📣 News
84
+
85
+ - **`2026-07-06`** 🎉 **Open-sourced** — the pure-stdlib Code-as-Action engine, the scientific web app, 24 science Skills, and BYOC remote compute.
86
+
87
+ ---
88
+
89
+ ## 😮 Highlights
90
+
91
+ - **🧬 Hybrid action engine** — class-based native JSON tools orchestrate while persistent Python/R kernels execute science. CLI and Web adapters start foreground language slots lazily, so tool/finalize routing itself does not spawn one; individual tools may still manage dedicated workers.
92
+ - **📒 Ledger-first runtime** — action groups/events and terminal facts are append-only; execution attempts, generation lifecycle, usage, and completion records remain durable and reconstructable.
93
+ - **🐍 Pure-stdlib core** — the engine **and** the web server are stdlib-only (`http.server` + hand-rolled WebSocket, no framework, no deps). The LLM client speaks OpenAI / Anthropic / Gemini over `urllib` alone.
94
+ - **🔌 One-line multi-provider** — `ark` (doubao · glm · kimi · deepseek · minimax) plus official `chatgpt · claude · gemini`, behind a single `host.llm`; switch from the UI.
95
+ - **🖥️ Scientific workbench** — live streaming, versioned artifacts, provenance, an Action Timeline surface, and a **read-only-by-default Notebook**. An explicit developer flag enables multiline Python/R input against the shared kernels.
96
+ - **🔐 Hardened local execution** — strict child-environment allowlists, durable approvals, one-shot generation-bound `host.bash` capabilities, and OS sandbox adapters (Seatbelt on macOS, bubblewrap on Linux) with visible degraded/fail-closed modes.
97
+ - **🔬 32 bundled Skills** — GPU/model science Skills (AlphaFold2 · ESMFold2 · Boltz · Chai-1 · OpenFold3 · ProteinMPNN · ESM-2 · Evo2 · Borzoi · scGPT · scVI · DiffDock …) + research-workflow Skills. Skills are **recipes of code**, not JSON schemas; user-authored Skills stay under the data directory and cannot shadow bundled trust.
98
+ - **☁️ BYOC remote compute** — with a configured, reachable provider, dispatch GPU jobs via `ssh:<alias>` or the bundled **NVIDIA NIM** integration. General remote compute remains a Prototype surface; `host.fold` uses a strict no-fabrication policy.
99
+
100
+ ---
101
+
102
+ ## 🎬 Demo
103
+
104
+ <table>
105
+ <tr>
106
+ <td width="50%"><b>Live API workflow</b> — from UniProt / RCSB to a 3D structure &amp; report<br/><img src="readme-gifs-hd/demo-01-hd.gif" alt="Live API workflow: from UniProt / RCSB to a 3D structure and report"></td>
107
+ <td width="50%"><b>Real-data analysis</b> — human insulin INS (P01308): from UniProt / RCSB to a reproducible report<br/><img src="readme-gifs-hd/demo-05-hd.gif" alt="Real-data analysis: human insulin INS / UniProt P01308 from UniProt / RCSB to a reproducible report"></td>
108
+ </tr>
109
+ <tr>
110
+ <td width="50%"><b>Visual artifact editing</b> — “raise the confidence cutoff to 75” in one line<br/><img src="readme-gifs-hd/demo-02-hd.gif" alt="Visual artifact editing: raise the confidence cutoff to 75 in one line"></td>
111
+ <td width="50%"><b>Annotation-driven chart editing</b> — lasso a region &amp; recolor the legend<br/><img src="readme-gifs-hd/demo-06-hd.gif" alt="Annotation-driven chart editing: lasso a region and recolor the legend"></td>
112
+ </tr>
113
+ <tr>
114
+ <td width="50%"><b>Plan-mode research</b> — artemisinin &amp; paclitaxel solubility prediction<br/><img src="readme-gifs-hd/demo-03-hd.gif" alt="Plan-mode research: artemisinin and paclitaxel solubility prediction"></td>
115
+ <td width="50%"><b>Protein engineering</b> — from sequence to ranked mutants &amp; structural rationale<br/><img src="readme-gifs-hd/demo-04-hd.gif" alt="Protein engineering: from sequence to ranked mutants and structural rationale"></td>
116
+ </tr>
117
+ </table>
118
+
119
+ ---
120
+
121
+ ## ⚡ Quickstart
122
+
123
+ ```bash
124
+ git clone https://github.com/PKU-YuanGroup/OpenAI4S && cd OpenAI4S
125
+ ./setup.sh # one-time: build the environment with uv
126
+ ./start.sh # launch the web UI at http://127.0.0.1:8760/
127
+ ```
128
+
129
+ `setup.sh` creates the lightweight control `.venv` with **uv**. For the comprehensive Python + R scientific kernels, install a Conda-family manager (`micromamba`, `mamba`, or `conda`) and run `./setup.sh --with-kernel-envs` instead. Existing kernel environments can be synchronized with `./setup.sh --update-kernel-envs`; updates do not prune user-installed packages. `start.sh` launches the daemon + web UI. No API key is needed to boot — **set your model in the UI** (Customize → Models). One-shot without the UI: `uv run openai4s run "Compute the mean of [4,8,15,16,23,42] and submit it." -v`.
130
+
131
+ ### macOS app (no toolchain required)
132
+
133
+ Apple Silicon users can skip the checkout entirely: download `OpenAI4S-<version>-macos-arm64.dmg` from the [latest release](https://github.com/PKU-YuanGroup/OpenAI4S/releases/latest), drag it to Applications, and launch. The image embeds its own Python plus the default kernel science stack — numpy · pandas · scipy · matplotlib · scikit-learn · **rdkit** (cheminformatics) · **scanpy** and the single-cell stack · umap · numba · biopython — so the first launch needs no network and no `pip`. Data lives in `~/.openai4s`.
134
+
135
+ The build is ad-hoc signed but **not notarized**, so Gatekeeper refuses it the first time. On **macOS 15+**, open it once, then allow it under System Settings → Privacy & Security → **Open Anyway**; on **macOS 12–14**, right-click the app → **Open** → **Open**. Either way, `xattr -dr com.apple.quarantine /Applications/OpenAI4S.app` also clears it.
136
+
137
+ The CLI ships inside the app — symlink it if you want it on your PATH:
138
+
139
+ ```bash
140
+ sudo ln -sf /Applications/OpenAI4S.app/Contents/Resources/runtime/bin/openai4s /usr/local/bin/openai4s
141
+ openai4s setup # only if you want the R kernel: needs micromamba/mamba/conda
142
+ ```
143
+
144
+ The R kernel is not bundled (it needs a conda environment). On Intel Macs and Linux, install from PyPI (`pip install openai4s`) instead.
145
+
146
+ ---
147
+
148
+ ## 📚 Documentation
149
+
150
+ The canonical bilingual documentation is published at **[openai4s.org/docs](https://openai4s.org/docs/)**. Its public source and issue tracker live in [Nobody-Zhang/openai4s-docs](https://github.com/Nobody-Zhang/openai4s-docs); the links below point to the code-adjacent copies kept with this repository.
151
+
152
+ | doc | what's inside |
153
+ |---|---|
154
+ | [**Architecture**](docs/architecture.md) | the hybrid action router, Action Ledger, `host` RPC, and lazy kernels |
155
+ | [**Backend extension guide**](docs/backend-extension-guide.md) | where new Tool classes, host services, repositories, and session behaviour belong |
156
+ | [**Skills**](docs/skills.md) | the 32 bundled Skills + how to write your own |
157
+ | [**Remote compute**](docs/compute.md) | BYOC GPU jobs, `host.fold`, auto-provisioning |
158
+ | [**Web app**](docs/webapp.md) | UI features, Action Timeline, read-only Notebook, artifacts, and implementation status |
159
+ | [**Jupyter adapter**](docs/jupyter.md) | optional standalone Python/R KernelSpecs, install commands, and compatibility limits |
160
+ | [**Configuration**](docs/configuration.md) | model providers, env vars, conda envs, CLI |
161
+ | [**Security**](docs/security.md) | defense-in-depth safety layers & remote-access notes |
162
+
163
+ ---
164
+
165
+ ## 🗺️ Roadmap
166
+
167
+ - [x] Ship the next-generation workbench foundation: branch activation and
168
+ append-only Revert/Undo projections, verified recovery with explicit
169
+ Partial/Failed state, dependency-level stale propagation, durable delegation,
170
+ quarantined portable Session packages, checkpointed plan/review/memory state,
171
+ and dedicated 2D chemistry/genome/sequence/MSA/LaTeX renderers. Arbitrary
172
+ in-memory namespace objects are deliberately not serialized; recovery remains
173
+ Partial unless a safe recipe can rebuild and verify them, and Fork is offered
174
+ only on records that carry a proven checkpoint mapping, so older history
175
+ returns 409.
176
+ - [ ] Add stronger Linux isolation beyond bubblewrap where available (for example seccomp) and expand packaged sandbox smoke coverage.
177
+ - [ ] Keyless `web_search` beyond DuckDuckGo (rate-limit resilience).
178
+ - [ ] More BYOC providers (Modal / SLURM) beyond SSH + NVIDIA NIM.
179
+ - [ ] A public benchmark of end-to-end scientific workflows.
180
+ - [ ] Local GPU model serving so structure/design Skills run without remote compute.
181
+
182
+ ---
183
+
184
+ ## 💡 Contributing
185
+
186
+ OpenAI4S is a community effort to keep the **Code-as-Action** paradigm open.
187
+
188
+ Before opening a PR, please read [`CONTRIBUTING.md`](CONTRIBUTING.md) — it defines branch naming, the PR checklist ([`.github/pull_request_template.md`](.github/pull_request_template.md)), code ownership ([`.github/CODEOWNERS`](.github/CODEOWNERS)), review & release policy, and the offline-test policy.
189
+
190
+ ### Development setup
191
+
192
+ Requires **Python ≥ 3.10** and [**uv**](https://docs.astral.sh/uv/).
193
+
194
+ ```bash
195
+ git clone https://github.com/PKU-YuanGroup/OpenAI4S && cd OpenAI4S
196
+ ./setup.sh # uv sync --locked --extra science + pre-commit hook
197
+ ./setup.sh --with-kernel-envs # optional: full Python + R kernel stacks
198
+ uv run pytest # offline test suite (LLM mocked)
199
+ uv run pre-commit run --all-files # format + lint everything
200
+ ```
201
+
202
+ Style is enforced by **pre-commit** — `black`, `isort` (`--profile black`), and `ruff`, pinned in [`.pre-commit-config.yaml`](.pre-commit-config.yaml). Runtime deps: the core is **zero-dependency** (pure stdlib); the optional `science` extra pins `numpy>=1.24 · pandas>=2.0 · matplotlib>=3.7`.
203
+
204
+ ### What we welcome
205
+
206
+ - **New Skills** — a `SKILL.md` (+ optional `kernel.py`) under `skills/` — recipes of code, not schemas.
207
+ - **New providers** — a wire adapter under [`openai4s/llm/providers/`](openai4s/llm/providers/) plus its provider definition and registry entry, or a BYOC compute provider.
208
+ - **Engine & UI** — the core is pure stdlib and readable; the web app is framework-free.
209
+
210
+ Keep the core dependency-free, guard optional science imports behind `try/except ImportError`, and make sure `uv run pytest` and `uv run pre-commit run --all-files` pass before opening a PR.
211
+
212
+ ---
213
+
214
+ ## 👍 Acknowledgement & related work
215
+
216
+ - **Claude Science** (Anthropic) — the closed reference architecture whose Code-as-Action design, persistent kernel, host-RPC protocol, and safety layers OpenAI4S independently reproduces in open source.
217
+ - **CodeAct** — *"Executable Code Actions Elicit Better LLM Agents"* — code as a unified action interface.
218
+ - **ReAct** — *"Synergizing Reasoning and Acting in Language Models"* — the `tool_use` baseline this project departs from.
219
+ - The science Skills stand on **ColabFold / AlphaFold, ESM, OpenFold, Boltz, Chai, ProteinMPNN, DiffDock, Evo2, Borzoi, scGPT, scVI-tools** and open data services (NCBI, UniProt, RCSB PDB, EBI, OpenAlex, Crossref).
220
+
221
+ ---
222
+
223
+ ## 🔒 License
224
+
225
+ Released under the **MIT License** — see [`LICENSE`](LICENSE).
226
+
227
+ ---
228
+
229
+ ## ✨ Star history
230
+
231
+ <a href="https://www.star-history.com/?repos=PKU-YuanGroup%2FOpenAI4S&type=date&legend=top-left">
232
+ <picture>
233
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=PKU-YuanGroup/OpenAI4S&type=date&theme=dark&legend=top-left&sealed_token=tXwdGRCr3f-z1z8jgUOb1LUaPHwq9008wrTkaLBHVH4lQQDeSr_uyDT_1NcLONdaOxKx9l0uvSHEToe73WVGac02UiFVnXE-W_0z8C1AFwJfPJ0S87FJYQ" />
234
+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=PKU-YuanGroup/OpenAI4S&type=date&legend=top-left&sealed_token=tXwdGRCr3f-z1z8jgUOb1LUaPHwq9008wrTkaLBHVH4lQQDeSr_uyDT_1NcLONdaOxKx9l0uvSHEToe73WVGac02UiFVnXE-W_0z8C1AFwJfPJ0S87FJYQ" />
235
+ <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=PKU-YuanGroup/OpenAI4S&type=date&legend=top-left&sealed_token=tXwdGRCr3f-z1z8jgUOb1LUaPHwq9008wrTkaLBHVH4lQQDeSr_uyDT_1NcLONdaOxKx9l0uvSHEToe73WVGac02UiFVnXE-W_0z8C1AFwJfPJ0S87FJYQ" />
236
+ </picture>
237
+ </a>
238
+
239
+ ---
240
+
241
+ ## ✏️ Citing
242
+
243
+ ```bibtex
244
+ @software{openai4s2026,
245
+ title = {OpenAI4S: An Open-Source Code-as-Action Scientific Research Agent},
246
+ author = {OpenAI4S contributors},
247
+ year = {2026},
248
+ url = {https://github.com/PKU-YuanGroup/OpenAI4S},
249
+ note = {Open AI for Scientist — a pure-stdlib reproduction of the Code-as-Action paradigm}
250
+ }
251
+ ```
252
+
253
+ ## 🤝 Community contributors
254
+
255
+ <!-- CONTRIBUTORS:START -->
256
+ <a href="https://github.com/Nobody-Zhang" title="Nobody-Zhang"><img src=".github/contributors/Nobody-Zhang.png" width="64" height="64" alt="Nobody-Zhang" /></a>
257
+ <a href="https://github.com/Grace-xyx" title="Grace-xyx"><img src=".github/contributors/Grace-xyx.png" width="64" height="64" alt="Grace-xyx" /></a>
258
+ <a href="https://github.com/wangyu-sd" title="wangyu-sd"><img src=".github/contributors/wangyu-sd.png" width="64" height="64" alt="wangyu-sd" /></a>
259
+ <a href="https://github.com/yusowa0716" title="yusowa0716"><img src=".github/contributors/yusowa0716.png" width="64" height="64" alt="yusowa0716" /></a>
260
+ <!-- CONTRIBUTORS:END -->
261
+
262
+ <sub>Auto-generated from the GitHub <a href="https://github.com/PKU-YuanGroup/OpenAI4S/graphs/contributors">contributors graph</a> by <code>scripts/update_contributors.py</code> (Contributors workflow).</sub>
263
+
264
+ ---
265
+
266
+ <div align="center">
267
+ <sub><b>OpenAI4S</b> · code is the action, the kernel is the environment. · <a href="README_zh.md">简体中文 </a> · Friend Link https://linux.do </sub>
268
+ </div>