agentic-proteins 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 (235) hide show
  1. agentic_proteins-0.1.0/.github/workflows/ci.yml +65 -0
  2. agentic_proteins-0.1.0/.github/workflows/docs.yml +43 -0
  3. agentic_proteins-0.1.0/.github/workflows/release.yml +44 -0
  4. agentic_proteins-0.1.0/.gitignore +155 -0
  5. agentic_proteins-0.1.0/CHANGELOG.md +15 -0
  6. agentic_proteins-0.1.0/CITATION.cff +8 -0
  7. agentic_proteins-0.1.0/CODE_OF_CONDUCT.md +165 -0
  8. agentic_proteins-0.1.0/CONTRIBUTING.md +22 -0
  9. agentic_proteins-0.1.0/LICENSE +192 -0
  10. agentic_proteins-0.1.0/LICENSES/Apache-2.0.txt +176 -0
  11. agentic_proteins-0.1.0/LICENSES/CC0-1.0.txt +121 -0
  12. agentic_proteins-0.1.0/Makefile +85 -0
  13. agentic_proteins-0.1.0/PKG-INFO +266 -0
  14. agentic_proteins-0.1.0/README.md +177 -0
  15. agentic_proteins-0.1.0/REUSE.toml +28 -0
  16. agentic_proteins-0.1.0/config/agentic_proteins.dic +11 -0
  17. agentic_proteins-0.1.0/config/coveragerc.ini +16 -0
  18. agentic_proteins-0.1.0/config/mypy.ini +28 -0
  19. agentic_proteins-0.1.0/config/pyrightconfig.json +57 -0
  20. agentic_proteins-0.1.0/config/ruff.toml +28 -0
  21. agentic_proteins-0.1.0/docs/architecture/agents.md +54 -0
  22. agentic_proteins-0.1.0/docs/architecture/architecture.md +57 -0
  23. agentic_proteins-0.1.0/docs/architecture/evaluation.md +22 -0
  24. agentic_proteins-0.1.0/docs/architecture/execution.md +25 -0
  25. agentic_proteins-0.1.0/docs/architecture/observability.md +23 -0
  26. agentic_proteins-0.1.0/docs/architecture/planning.md +26 -0
  27. agentic_proteins-0.1.0/docs/artifact/provenance.md +36 -0
  28. agentic_proteins-0.1.0/docs/assets/bijux_icon.png +0 -0
  29. agentic_proteins-0.1.0/docs/assets/bijux_logo_hq.png +0 -0
  30. agentic_proteins-0.1.0/docs/cli/cli.md +76 -0
  31. agentic_proteins-0.1.0/docs/concepts/agent.md +25 -0
  32. agentic_proteins-0.1.0/docs/concepts/artifact.md +22 -0
  33. agentic_proteins-0.1.0/docs/concepts/candidate.md +23 -0
  34. agentic_proteins-0.1.0/docs/concepts/confidence.md +22 -0
  35. agentic_proteins-0.1.0/docs/concepts/plan.md +25 -0
  36. agentic_proteins-0.1.0/docs/concepts/run.md +24 -0
  37. agentic_proteins-0.1.0/docs/concepts/terminology.md +21 -0
  38. agentic_proteins-0.1.0/docs/development/extension.md +14 -0
  39. agentic_proteins-0.1.0/docs/development/index.md +14 -0
  40. agentic_proteins-0.1.0/docs/evaluation/selection.md +37 -0
  41. agentic_proteins-0.1.0/docs/execution/design-loop.md +29 -0
  42. agentic_proteins-0.1.0/docs/execution/execution-model.md +54 -0
  43. agentic_proteins-0.1.0/docs/index.md +173 -0
  44. agentic_proteins-0.1.0/docs/overview/index.md +25 -0
  45. agentic_proteins-0.1.0/docs/overview/limits.md +28 -0
  46. agentic_proteins-0.1.0/docs/workflows/cli-workflows.md +31 -0
  47. agentic_proteins-0.1.0/makefiles/api.mk +16 -0
  48. agentic_proteins-0.1.0/makefiles/build.mk +83 -0
  49. agentic_proteins-0.1.0/makefiles/citation.mk +22 -0
  50. agentic_proteins-0.1.0/makefiles/dictionary.mk +29 -0
  51. agentic_proteins-0.1.0/makefiles/docs.mk +25 -0
  52. agentic_proteins-0.1.0/makefiles/lint.mk +77 -0
  53. agentic_proteins-0.1.0/makefiles/quality.mk +113 -0
  54. agentic_proteins-0.1.0/makefiles/sbom.mk +117 -0
  55. agentic_proteins-0.1.0/makefiles/security.mk +56 -0
  56. agentic_proteins-0.1.0/makefiles/test.mk +176 -0
  57. agentic_proteins-0.1.0/mkdocs.yml +80 -0
  58. agentic_proteins-0.1.0/pyproject.toml +145 -0
  59. agentic_proteins-0.1.0/pytest.ini +58 -0
  60. agentic_proteins-0.1.0/scripts/check_docs_consistency.py +136 -0
  61. agentic_proteins-0.1.0/scripts/check_md_links.py +68 -0
  62. agentic_proteins-0.1.0/scripts/helper_pip_audit.py +153 -0
  63. agentic_proteins-0.1.0/scripts/manage_examples.py +362 -0
  64. agentic_proteins-0.1.0/scripts/manage_models.py +535 -0
  65. agentic_proteins-0.1.0/src/agentic_proteins/__init__.py +22 -0
  66. agentic_proteins-0.1.0/src/agentic_proteins/agents/__init__.py +8 -0
  67. agentic_proteins-0.1.0/src/agentic_proteins/agents/analysis/__init__.py +8 -0
  68. agentic_proteins-0.1.0/src/agentic_proteins/agents/analysis/failure_analysis.py +79 -0
  69. agentic_proteins-0.1.0/src/agentic_proteins/agents/analysis/sequence_analysis.py +75 -0
  70. agentic_proteins-0.1.0/src/agentic_proteins/agents/analysis/structure.py +82 -0
  71. agentic_proteins-0.1.0/src/agentic_proteins/agents/base/__init__.py +7 -0
  72. agentic_proteins-0.1.0/src/agentic_proteins/agents/base/base.py +63 -0
  73. agentic_proteins-0.1.0/src/agentic_proteins/agents/execution/__init__.py +8 -0
  74. agentic_proteins-0.1.0/src/agentic_proteins/agents/execution/coordinator.py +199 -0
  75. agentic_proteins-0.1.0/src/agentic_proteins/agents/planning/__init__.py +8 -0
  76. agentic_proteins-0.1.0/src/agentic_proteins/agents/planning/compiler.py +51 -0
  77. agentic_proteins-0.1.0/src/agentic_proteins/agents/planning/generation.py +36 -0
  78. agentic_proteins-0.1.0/src/agentic_proteins/agents/planning/planner.py +127 -0
  79. agentic_proteins-0.1.0/src/agentic_proteins/agents/planning/schemas.py +202 -0
  80. agentic_proteins-0.1.0/src/agentic_proteins/agents/planning/validation.py +121 -0
  81. agentic_proteins-0.1.0/src/agentic_proteins/agents/reporting/__init__.py +8 -0
  82. agentic_proteins-0.1.0/src/agentic_proteins/agents/reporting/reporting.py +76 -0
  83. agentic_proteins-0.1.0/src/agentic_proteins/agents/schemas.py +389 -0
  84. agentic_proteins-0.1.0/src/agentic_proteins/agents/verification/__init__.py +8 -0
  85. agentic_proteins-0.1.0/src/agentic_proteins/agents/verification/critic.py +96 -0
  86. agentic_proteins-0.1.0/src/agentic_proteins/agents/verification/input_validation.py +80 -0
  87. agentic_proteins-0.1.0/src/agentic_proteins/agents/verification/quality_control.py +93 -0
  88. agentic_proteins-0.1.0/src/agentic_proteins/contracts/__init__.py +44 -0
  89. agentic_proteins-0.1.0/src/agentic_proteins/contracts/agents.py +10 -0
  90. agentic_proteins-0.1.0/src/agentic_proteins/contracts/runtime.py +12 -0
  91. agentic_proteins-0.1.0/src/agentic_proteins/contracts/tools.py +30 -0
  92. agentic_proteins-0.1.0/src/agentic_proteins/core/__init__.py +35 -0
  93. agentic_proteins-0.1.0/src/agentic_proteins/core/costs.py +23 -0
  94. agentic_proteins-0.1.0/src/agentic_proteins/core/decisions.py +69 -0
  95. agentic_proteins-0.1.0/src/agentic_proteins/core/determinism.py +20 -0
  96. agentic_proteins-0.1.0/src/agentic_proteins/core/execution.py +124 -0
  97. agentic_proteins-0.1.0/src/agentic_proteins/core/failures.py +55 -0
  98. agentic_proteins-0.1.0/src/agentic_proteins/core/fingerprints.py +21 -0
  99. agentic_proteins-0.1.0/src/agentic_proteins/core/hashing.py +13 -0
  100. agentic_proteins-0.1.0/src/agentic_proteins/core/identifiers.py +15 -0
  101. agentic_proteins-0.1.0/src/agentic_proteins/core/observations.py +113 -0
  102. agentic_proteins-0.1.0/src/agentic_proteins/core/status.py +43 -0
  103. agentic_proteins-0.1.0/src/agentic_proteins/core/tooling.py +156 -0
  104. agentic_proteins-0.1.0/src/agentic_proteins/design_loop/__init__.py +24 -0
  105. agentic_proteins-0.1.0/src/agentic_proteins/design_loop/convergence.py +11 -0
  106. agentic_proteins-0.1.0/src/agentic_proteins/design_loop/loop.py +256 -0
  107. agentic_proteins-0.1.0/src/agentic_proteins/design_loop/stagnation.py +15 -0
  108. agentic_proteins-0.1.0/src/agentic_proteins/domain/__init__.py +54 -0
  109. agentic_proteins-0.1.0/src/agentic_proteins/domain/candidates/__init__.py +44 -0
  110. agentic_proteins-0.1.0/src/agentic_proteins/domain/candidates/filters.py +28 -0
  111. agentic_proteins-0.1.0/src/agentic_proteins/domain/candidates/model.py +45 -0
  112. agentic_proteins-0.1.0/src/agentic_proteins/domain/candidates/schema.py +57 -0
  113. agentic_proteins-0.1.0/src/agentic_proteins/domain/candidates/selection.py +126 -0
  114. agentic_proteins-0.1.0/src/agentic_proteins/domain/candidates/store.py +198 -0
  115. agentic_proteins-0.1.0/src/agentic_proteins/domain/candidates/transform.py +21 -0
  116. agentic_proteins-0.1.0/src/agentic_proteins/domain/candidates/updates.py +75 -0
  117. agentic_proteins-0.1.0/src/agentic_proteins/domain/confidence/__init__.py +10 -0
  118. agentic_proteins-0.1.0/src/agentic_proteins/domain/confidence/segments.py +23 -0
  119. agentic_proteins-0.1.0/src/agentic_proteins/domain/metrics/__init__.py +10 -0
  120. agentic_proteins-0.1.0/src/agentic_proteins/domain/metrics/compute.py +92 -0
  121. agentic_proteins-0.1.0/src/agentic_proteins/domain/metrics/quality.py +57 -0
  122. agentic_proteins-0.1.0/src/agentic_proteins/domain/metrics/validation.py +16 -0
  123. agentic_proteins-0.1.0/src/agentic_proteins/domain/sequence/__init__.py +22 -0
  124. agentic_proteins-0.1.0/src/agentic_proteins/domain/sequence/summary.py +87 -0
  125. agentic_proteins-0.1.0/src/agentic_proteins/domain/sequence/validation.py +18 -0
  126. agentic_proteins-0.1.0/src/agentic_proteins/domain/structure/__init__.py +38 -0
  127. agentic_proteins-0.1.0/src/agentic_proteins/domain/structure/structure.py +396 -0
  128. agentic_proteins-0.1.0/src/agentic_proteins/execution/__init__.py +8 -0
  129. agentic_proteins-0.1.0/src/agentic_proteins/execution/compiler/__init__.py +8 -0
  130. agentic_proteins-0.1.0/src/agentic_proteins/execution/compiler/boundary.py +62 -0
  131. agentic_proteins-0.1.0/src/agentic_proteins/execution/evaluation/__init__.py +5 -0
  132. agentic_proteins-0.1.0/src/agentic_proteins/execution/evaluation/evaluation.py +313 -0
  133. agentic_proteins-0.1.0/src/agentic_proteins/execution/evaluation/observations.py +26 -0
  134. agentic_proteins-0.1.0/src/agentic_proteins/execution/evaluation/schemas.py +107 -0
  135. agentic_proteins-0.1.0/src/agentic_proteins/execution/runtime/__init__.py +15 -0
  136. agentic_proteins-0.1.0/src/agentic_proteins/execution/runtime/executor.py +128 -0
  137. agentic_proteins-0.1.0/src/agentic_proteins/execution/runtime/integration.py +49 -0
  138. agentic_proteins-0.1.0/src/agentic_proteins/execution/schemas.py +40 -0
  139. agentic_proteins-0.1.0/src/agentic_proteins/execution/validation.py +14 -0
  140. agentic_proteins-0.1.0/src/agentic_proteins/interfaces/__init__.py +8 -0
  141. agentic_proteins-0.1.0/src/agentic_proteins/interfaces/cli.py +467 -0
  142. agentic_proteins-0.1.0/src/agentic_proteins/memory/__init__.py +11 -0
  143. agentic_proteins-0.1.0/src/agentic_proteins/memory/schemas.py +80 -0
  144. agentic_proteins-0.1.0/src/agentic_proteins/memory/store.py +26 -0
  145. agentic_proteins-0.1.0/src/agentic_proteins/providers/__init__.py +60 -0
  146. agentic_proteins-0.1.0/src/agentic_proteins/providers/base.py +93 -0
  147. agentic_proteins-0.1.0/src/agentic_proteins/providers/errors.py +24 -0
  148. agentic_proteins-0.1.0/src/agentic_proteins/providers/experimental/__init__.py +13 -0
  149. agentic_proteins-0.1.0/src/agentic_proteins/providers/experimental/_async_utils.py +45 -0
  150. agentic_proteins-0.1.0/src/agentic_proteins/providers/experimental/colabfold.py +263 -0
  151. agentic_proteins-0.1.0/src/agentic_proteins/providers/experimental/openprotein.py +352 -0
  152. agentic_proteins-0.1.0/src/agentic_proteins/providers/factory.py +126 -0
  153. agentic_proteins-0.1.0/src/agentic_proteins/providers/heuristic.py +45 -0
  154. agentic_proteins-0.1.0/src/agentic_proteins/providers/local/__init__.py +16 -0
  155. agentic_proteins-0.1.0/src/agentic_proteins/providers/local/esmfold.py +473 -0
  156. agentic_proteins-0.1.0/src/agentic_proteins/providers/local/rosettafold.py +231 -0
  157. agentic_proteins-0.1.0/src/agentic_proteins/registry/__init__.py +11 -0
  158. agentic_proteins-0.1.0/src/agentic_proteins/registry/agents.py +31 -0
  159. agentic_proteins-0.1.0/src/agentic_proteins/registry/base.py +32 -0
  160. agentic_proteins-0.1.0/src/agentic_proteins/registry/tools.py +30 -0
  161. agentic_proteins-0.1.0/src/agentic_proteins/report/__init__.py +60 -0
  162. agentic_proteins-0.1.0/src/agentic_proteins/report/compute.py +369 -0
  163. agentic_proteins-0.1.0/src/agentic_proteins/report/model.py +26 -0
  164. agentic_proteins-0.1.0/src/agentic_proteins/report/render.py +415 -0
  165. agentic_proteins-0.1.0/src/agentic_proteins/runtime/__init__.py +10 -0
  166. agentic_proteins-0.1.0/src/agentic_proteins/runtime/context/__init__.py +24 -0
  167. agentic_proteins-0.1.0/src/agentic_proteins/runtime/context/context.py +65 -0
  168. agentic_proteins-0.1.0/src/agentic_proteins/runtime/context/lifecycle.py +19 -0
  169. agentic_proteins-0.1.0/src/agentic_proteins/runtime/context/output.py +66 -0
  170. agentic_proteins-0.1.0/src/agentic_proteins/runtime/context/request.py +17 -0
  171. agentic_proteins-0.1.0/src/agentic_proteins/runtime/control/__init__.py +23 -0
  172. agentic_proteins-0.1.0/src/agentic_proteins/runtime/control/artifacts.py +298 -0
  173. agentic_proteins-0.1.0/src/agentic_proteins/runtime/control/execution.py +1130 -0
  174. agentic_proteins-0.1.0/src/agentic_proteins/runtime/control/state_machine.py +42 -0
  175. agentic_proteins-0.1.0/src/agentic_proteins/runtime/infra/__init__.py +15 -0
  176. agentic_proteins-0.1.0/src/agentic_proteins/runtime/infra/analysis.py +81 -0
  177. agentic_proteins-0.1.0/src/agentic_proteins/runtime/infra/capabilities.py +67 -0
  178. agentic_proteins-0.1.0/src/agentic_proteins/runtime/infra/config.py +124 -0
  179. agentic_proteins-0.1.0/src/agentic_proteins/runtime/infra/observability.py +82 -0
  180. agentic_proteins-0.1.0/src/agentic_proteins/runtime/infra/reliability.py +64 -0
  181. agentic_proteins-0.1.0/src/agentic_proteins/runtime/infra/telemetry.py +95 -0
  182. agentic_proteins-0.1.0/src/agentic_proteins/runtime/workspace.py +205 -0
  183. agentic_proteins-0.1.0/src/agentic_proteins/state/__init__.py +11 -0
  184. agentic_proteins-0.1.0/src/agentic_proteins/state/schemas.py +75 -0
  185. agentic_proteins-0.1.0/src/agentic_proteins/state/snapshot.py +88 -0
  186. agentic_proteins-0.1.0/src/agentic_proteins/tools/__init__.py +14 -0
  187. agentic_proteins-0.1.0/src/agentic_proteins/tools/base.py +37 -0
  188. agentic_proteins-0.1.0/src/agentic_proteins/tools/heuristic.py +63 -0
  189. agentic_proteins-0.1.0/src/agentic_proteins/tools/schemas.py +32 -0
  190. agentic_proteins-0.1.0/src/agentic_proteins/validation/__init__.py +8 -0
  191. agentic_proteins-0.1.0/src/agentic_proteins/validation/agents.py +131 -0
  192. agentic_proteins-0.1.0/src/agentic_proteins/validation/state.py +55 -0
  193. agentic_proteins-0.1.0/src/agentic_proteins/validation/tools.py +36 -0
  194. agentic_proteins-0.1.0/tests/README.md +14 -0
  195. agentic_proteins-0.1.0/tests/conftest.py +28 -0
  196. agentic_proteins-0.1.0/tests/e2e/test_abuse_case.py +23 -0
  197. agentic_proteins-0.1.0/tests/e2e/test_failure_fixtures.py +116 -0
  198. agentic_proteins-0.1.0/tests/e2e/test_lab_story.py +27 -0
  199. agentic_proteins-0.1.0/tests/e2e/test_observability.py +25 -0
  200. agentic_proteins-0.1.0/tests/e2e/test_runtime_flow.py +25 -0
  201. agentic_proteins-0.1.0/tests/e2e/test_stress_batch.py +21 -0
  202. agentic_proteins-0.1.0/tests/helpers/__init__.py +3 -0
  203. agentic_proteins-0.1.0/tests/helpers/artifacts.py +37 -0
  204. agentic_proteins-0.1.0/tests/integration/test_agent_contracts.py +220 -0
  205. agentic_proteins-0.1.0/tests/integration/test_agentic_e2e.py +179 -0
  206. agentic_proteins-0.1.0/tests/integration/test_agentic_loop.py +111 -0
  207. agentic_proteins-0.1.0/tests/integration/test_artifact_first.py +28 -0
  208. agentic_proteins-0.1.0/tests/integration/test_cli.py +63 -0
  209. agentic_proteins-0.1.0/tests/integration/test_delete_simulation.py +17 -0
  210. agentic_proteins-0.1.0/tests/integration/test_execution_model.py +172 -0
  211. agentic_proteins-0.1.0/tests/integration/test_observations.py +43 -0
  212. agentic_proteins-0.1.0/tests/integration/test_planning_model.py +187 -0
  213. agentic_proteins-0.1.0/tests/integration/test_providers.py +549 -0
  214. agentic_proteins-0.1.0/tests/integration/test_public_api_safety.py +15 -0
  215. agentic_proteins-0.1.0/tests/integration/test_state_memory.py +107 -0
  216. agentic_proteins-0.1.0/tests/integration/test_telemetry.py +22 -0
  217. agentic_proteins-0.1.0/tests/integration/test_tool_contracts.py +144 -0
  218. agentic_proteins-0.1.0/tests/real_local/README.md +22 -0
  219. agentic_proteins-0.1.0/tests/real_local/__init__.py +2 -0
  220. agentic_proteins-0.1.0/tests/real_local/conftest.py +32 -0
  221. agentic_proteins-0.1.0/tests/real_local/test_local_real_models.py +240 -0
  222. agentic_proteins-0.1.0/tests/regression/benchmarks/cases.json +78 -0
  223. agentic_proteins-0.1.0/tests/regression/test_agentic_regression.py +181 -0
  224. agentic_proteins-0.1.0/tests/regression/test_evaluation_regression.py +92 -0
  225. agentic_proteins-0.1.0/tests/regression/test_real_protein_regression.py +36 -0
  226. agentic_proteins-0.1.0/tests/unit/__init__.py +4 -0
  227. agentic_proteins-0.1.0/tests/unit/test_capabilities.py +33 -0
  228. agentic_proteins-0.1.0/tests/unit/test_import_boundaries.py +103 -0
  229. agentic_proteins-0.1.0/tests/unit/test_provider_factory.py +20 -0
  230. agentic_proteins-0.1.0/tests/unit/test_report.py +368 -0
  231. agentic_proteins-0.1.0/tests/unit/test_schema_strictness.py +40 -0
  232. agentic_proteins-0.1.0/tests/unit/test_sequence_validation.py +14 -0
  233. agentic_proteins-0.1.0/tests/unit/test_test_stratification.py +54 -0
  234. agentic_proteins-0.1.0/tests/unit/test_utils.py +258 -0
  235. agentic_proteins-0.1.0/tox.ini +85 -0
@@ -0,0 +1,65 @@
1
+ name: ci
2
+
3
+ on:
4
+ push:
5
+ pull_request:
6
+
7
+ jobs:
8
+ tests:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - uses: actions/setup-python@v5
13
+ with:
14
+ python-version: "3.11"
15
+ cache: pip
16
+ - name: Install tox
17
+ run: python -m pip install -U pip tox
18
+ - name: Tests
19
+ run: make test
20
+
21
+ checks:
22
+ runs-on: ubuntu-latest
23
+ strategy:
24
+ fail-fast: false
25
+ matrix:
26
+ target:
27
+ - quality
28
+ - security
29
+ - docs
30
+ - build
31
+ - sbom
32
+ - api
33
+ - citation
34
+ - dictionary-check
35
+ steps:
36
+ - uses: actions/checkout@v4
37
+ - uses: actions/setup-python@v5
38
+ with:
39
+ python-version: "3.11"
40
+ cache: pip
41
+ - name: Install tox
42
+ run: python -m pip install -U pip tox
43
+ - name: Run gate
44
+ run: |
45
+ if [ "${{ matrix.target }}" = "dictionary-check" ]; then
46
+ make dictionary-check
47
+ else
48
+ make ${{ matrix.target }}
49
+ fi
50
+
51
+ lint:
52
+ runs-on: ubuntu-latest
53
+ needs:
54
+ - tests
55
+ - checks
56
+ steps:
57
+ - uses: actions/checkout@v4
58
+ - uses: actions/setup-python@v5
59
+ with:
60
+ python-version: "3.11"
61
+ cache: pip
62
+ - name: Install tox
63
+ run: python -m pip install -U pip tox
64
+ - name: Lint
65
+ run: make lint
@@ -0,0 +1,43 @@
1
+ name: deploy-docs
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ permissions:
9
+ contents: write
10
+ actions: read
11
+
12
+ concurrency:
13
+ group: docs-${{ github.sha }}
14
+ cancel-in-progress: true
15
+
16
+ jobs:
17
+ build-deploy:
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - name: Checkout (full history)
21
+ uses: actions/checkout@v4
22
+ with:
23
+ fetch-depth: 0
24
+
25
+ - name: Set up Python
26
+ uses: actions/setup-python@v5
27
+ with:
28
+ python-version: "3.11"
29
+ cache: pip
30
+
31
+ - name: Install tox
32
+ run: python -m pip install -U pip tox
33
+
34
+ - name: Build docs
35
+ run: make docs
36
+
37
+ - name: Configure Git author
38
+ run: |
39
+ git config user.name "github-actions[bot]"
40
+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
41
+
42
+ - name: Deploy docs
43
+ run: make docs-deploy
@@ -0,0 +1,44 @@
1
+ name: release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ permissions:
9
+ contents: write
10
+
11
+ jobs:
12
+ build-and-publish:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v4
17
+ with:
18
+ fetch-depth: 0
19
+
20
+ - name: Set up Python
21
+ uses: actions/setup-python@v5
22
+ with:
23
+ python-version: "3.11"
24
+ cache: pip
25
+
26
+ - name: Install tox
27
+ run: python -m pip install -U pip tox
28
+
29
+ - name: Build artifacts
30
+ run: make build
31
+
32
+ - name: Publish to PyPI
33
+ uses: pypa/gh-action-pypi-publish@release/v1
34
+ with:
35
+ password: ${{ secrets.PYPI_API_TOKEN }}
36
+ packages-dir: artifacts/build
37
+
38
+ - name: Publish to GitHub Packages
39
+ uses: pypa/gh-action-pypi-publish@release/v1
40
+ with:
41
+ user: __token__
42
+ password: ${{ secrets.GITHUB_TOKEN }}
43
+ packages-dir: artifacts/build
44
+ repository-url: https://upload.pypi.org/legacy/
@@ -0,0 +1,155 @@
1
+ ### Python template
2
+ # Byte-compiled / optimized / DLL files
3
+ __pycache__/
4
+ *.py[cod]
5
+ *$py.class
6
+
7
+ # C extensions
8
+ *.so
9
+
10
+ # Distribution / packaging
11
+ .Python
12
+ build/
13
+ develop-eggs/
14
+ dist/
15
+ downloads/
16
+ eggs/
17
+ .eggs/
18
+ lib/
19
+ lib64/
20
+ parts/
21
+ sdist/
22
+ var/
23
+ wheels/
24
+ share/python-wheels/
25
+ *.egg-info/
26
+ .installed.cfg
27
+ *.egg
28
+ MANIFEST
29
+
30
+ # PyInstaller
31
+ *.manifest
32
+ *.spec
33
+
34
+ # Installer logs
35
+ pip-log.txt
36
+ pip-delete-this-directory.txt
37
+
38
+ # Unit test / coverage reports
39
+ htmlcov/
40
+ .tox/
41
+ .nox/
42
+ .coverage
43
+ .coverage.*
44
+ .cache
45
+ nosetests.xml
46
+ coverage.xml
47
+ *.cover
48
+ *.py,cover
49
+ .hypothesis/
50
+ .pytest_cache/
51
+ cover/
52
+
53
+ # Translations
54
+ *.mo
55
+ *.pot
56
+
57
+ # Django stuff:
58
+ *.log
59
+ local_settings.py
60
+ db.sqlite3
61
+ db.sqlite3-journal
62
+
63
+ # Flask stuff:
64
+ instance/
65
+ .webassets-cache
66
+
67
+ # Scrapy stuff:
68
+ .scrapy
69
+
70
+ # Sphinx documentation
71
+ docs/_build/
72
+
73
+ # PyBuilder
74
+ .pybuilder/
75
+ target/
76
+
77
+ # Jupyter Notebook
78
+ .ipynb_checkpoints
79
+
80
+ # IPython
81
+ profile_default/
82
+ ipython_config.py
83
+
84
+ .pdm.toml
85
+ .pdm-python
86
+ .pdm-build/
87
+
88
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
89
+ __pypackages__/
90
+
91
+ # Celery stuff
92
+ celerybeat-schedule
93
+ celerybeat.pid
94
+
95
+ # SageMath parsed files
96
+ *.sage.py
97
+
98
+ # Environments
99
+ .env
100
+ .venv
101
+ env/
102
+ venv/
103
+ ENV/
104
+ env.bak/
105
+ venv.bak/
106
+
107
+ # Spyder project settings
108
+ .spyderproject
109
+ .spyproject
110
+
111
+ # Rope project settings
112
+ .ropeproject
113
+
114
+ # mkdocs documentation
115
+ /site
116
+
117
+ # mypy
118
+ .mypy_cache/
119
+ .dmypy.json
120
+ dmypy.json
121
+
122
+ # Pyre type checker
123
+ .pyre/
124
+
125
+ # pytype static type analyzer
126
+ .pytype/
127
+
128
+ # Cython debug symbols
129
+ cython_debug/
130
+
131
+ scripts/test.sh
132
+
133
+ models
134
+ models/
135
+
136
+ examples
137
+ examples/
138
+
139
+ artifacts
140
+ artifacts/
141
+
142
+ .venv-esm/
143
+ .venv-esm
144
+
145
+ .idea
146
+ .idea/
147
+
148
+ site
149
+ site/
150
+
151
+ candidate_store
152
+ candidate_store/
153
+
154
+ .benchmarks
155
+ .benchmarks/
@@ -0,0 +1,15 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0
4
+
5
+ ### Added
6
+ - Deterministic, artifact-first execution engine with explicit run directories and state snapshots.
7
+ - Agent-based architecture covering planning, analysis, execution, verification, and reporting.
8
+ - End-to-end design loop with failure handling, stagnation detection, and human-in-the-loop gating.
9
+ - CLI for running, resuming, inspecting, comparing, and exporting protein design runs.
10
+ - Local and remote provider abstractions with explicit capability and requirement checks.
11
+ - Structured reporting system with machine-readable artifacts and human-readable summaries.
12
+ - Integrated evaluation pipeline supporting structure-based metrics and ground-truth comparison.
13
+ - Reproducibility controls, observability hooks, and execution telemetry.
14
+ - Example datasets and reference runs for local experimentation and validation.
15
+ - Comprehensive test suite covering unit, integration, regression, and execution boundaries.
@@ -0,0 +1,8 @@
1
+ cff-version: 1.2.0
2
+ title: Agentic Proteins
3
+ version: 0.1.0
4
+ doi: 10.0000/placeholder
5
+ url: https://github.com/bijux/agentic-proteins
6
+ authors:
7
+ - family-names: Mousavi
8
+ given-names: Bijan
@@ -0,0 +1,165 @@
1
+ Owner: Bijan Mousavi
2
+ Status: stable
3
+ Scope: Code of Conduct.
4
+
5
+ # Code of Conduct
6
+ <a id="top"></a>
7
+
8
+ We pledge to make our community welcoming, safe, and equitable for all.
9
+
10
+ ---
11
+
12
+ ## Table of Contents
13
+
14
+ - [Our Pledge](#our-pledge)
15
+ - [Encouraged Behaviors](#encouraged-behaviors)
16
+ - [Restricted Behaviors](#restricted-behaviors)
17
+ - [Other Restrictions](#other-restrictions)
18
+ - [Reporting an Issue](#reporting-an-issue)
19
+ - [Addressing and Repairing Harm](#addressing-and-repairing-harm)
20
+ - [Scope](#scope)
21
+ - [Attribution](#attribution)
22
+
23
+ [Back to top](#top)
24
+
25
+ ---
26
+
27
+ <a id="our-pledge"></a>
28
+
29
+ ## Our Pledge
30
+
31
+ We pledge to make our community welcoming, safe, and equitable for all.
32
+
33
+ We are committed to fostering an environment that respects and promotes the dignity, rights, and contributions of all individuals, regardless of characteristics including race, ethnicity, caste, color, age, physical characteristics, neurodiversity, disability, sex or gender, gender identity or expression, sexual orientation, language, philosophy or religion, national or social origin, socio-economic position, level of education, or other status. The same privileges of participation are extended to everyone who participates in good faith and in accordance with this Covenant.
34
+
35
+ [Back to top](#top)
36
+
37
+ ---
38
+
39
+ <a id="encouraged-behaviors"></a>
40
+
41
+ ## Encouraged Behaviors
42
+
43
+ While acknowledging differences in social norms, we all strive to meet our community's expectations for positive behavior. We also understand that our words and actions may be interpreted differently than we intend based on culture, background, or native language.
44
+
45
+ With these considerations in mind, we agree to behave mindfully toward each other and act in ways that center our shared values, including:
46
+
47
+ 1. Respecting the **purpose of our community**, our activities, and our ways of gathering.
48
+ 2. Engaging **kindly and honestly** with others.
49
+ 3. Respecting **different viewpoints** and experiences.
50
+ 4. **Taking responsibility** for our actions and contributions.
51
+ 5. Gracefully giving and accepting **constructive feedback**.
52
+ 6. Committing to **repairing harm** when it occurs.
53
+ 7. Behaving in other ways that promote and sustain the **well-being of our community**.
54
+
55
+ [Back to top](#top)
56
+
57
+ ---
58
+
59
+ <a id="restricted-behaviors"></a>
60
+
61
+ ## Restricted Behaviors
62
+
63
+ We agree to restrict the following behaviors in our community. Instances, threats, and promotion of these behaviors are violations of this Code of Conduct.
64
+
65
+ 1. **Harassment.** Violating explicitly expressed boundaries or engaging in unnecessary personal attention after any clear request to stop.
66
+ 2. **Character attacks.** Making insulting, demeaning, or pejorative comments directed at a community member or group of people.
67
+ 3. **Stereotyping or discrimination.** Characterizing anyone's personality or behavior on the basis of immutable identities or traits.
68
+ 4. **Sexualization.** Behaving in a way that would generally be considered inappropriately intimate in the context or purpose of the community.
69
+ 5. **Violating confidentiality**. Sharing or acting on someone's personal or private information without their permission.
70
+ 6. **Endangerment.** Causing, encouraging, or threatening violence or other harm toward any person or group.
71
+ 7. Behaving in other ways that **threaten the well-being** of our community.
72
+
73
+ [Back to top](#top)
74
+
75
+ ---
76
+
77
+ <a id="other-restrictions"></a>
78
+
79
+ ## Other Restrictions
80
+
81
+ 1. **Misleading identity.** Impersonating someone else for any reason, or pretending to be someone else to evade enforcement actions.
82
+ 2. **Failing to credit sources.** Not properly crediting the sources of content you contribute.
83
+ 3. **Promotional materials**. Sharing marketing or other commercial content in a way that is outside the norms of the community.
84
+ 4. **Irresponsible communication.** Failing to responsibly present content which includes, links or describes any other restricted behaviors.
85
+
86
+ [Back to top](#top)
87
+
88
+ ---
89
+
90
+ <a id="reporting-an-issue"></a>
91
+
92
+ ## Reporting an Issue
93
+
94
+ Tensions can occur between community members even when they are trying their best to collaborate. Not every conflict represents a code of conduct violation, and this Code of Conduct reinforces encouraged behaviors and norms that can help avoid conflicts and minimize harm.
95
+
96
+ When an incident does occur, it is important to report it promptly. To report a possible violation, contact the maintainers at **[mousavi.bijan@gmail.com](mailto:mousavi.bijan@gmail.com)**.
97
+
98
+ To help us investigate, please include (to the extent you're comfortable):
99
+
100
+ - What happened, and when
101
+ - Where it occurred (link, channel, or location)
102
+ - Names of people involved and any witnesses
103
+ - Any relevant context or screenshots
104
+
105
+ We will acknowledge receipt as soon as possible and handle reports promptly and fairly. We will respect the privacy and safety of reporters and witnesses.
106
+
107
+ **Anti-retaliation:** Retaliation against anyone who reports a concern or participates in an investigation is a violation of this Code.
108
+
109
+ [Back to top](#top)
110
+
111
+ ---
112
+
113
+ <a id="addressing-and-repairing-harm"></a>
114
+
115
+ ## Addressing and Repairing Harm
116
+
117
+ If an investigation by the project maintainers finds that this Code of Conduct has been violated, the following enforcement ladder may be used to determine how best to repair harm, based on the incident's impact on the individuals involved and the community as a whole. Depending on the severity of a violation, lower rungs on the ladder may be skipped.
118
+
119
+ 1. **Warning**
120
+ - *Impact:* A violation involving a single incident or series of incidents.
121
+ - *Consequence:* A private, written warning from the maintainers.
122
+ - *Repair:* Examples of repair include a private written apology, acknowledgement of responsibility, and seeking clarification on expectations.
123
+
124
+ 2. **Temporarily Limited Activities**
125
+ - *Impact:* A repeated incidence of a violation that previously resulted in a warning, or the first incidence of a more serious violation.
126
+ - *Consequence:* A private, written warning with a time-limited cooldown period designed to underscore the seriousness of the situation and give the community members involved time to process the incident. The cooldown period may be limited to particular communication channels or interactions with particular community members.
127
+ - *Repair:* Examples of repair may include making an apology, using the cooldown period to reflect on actions and impact, and being thoughtful about re-entering community spaces after the period is over.
128
+
129
+ 3. **Temporary Suspension**
130
+ - *Impact:* A pattern of repeated violation which the maintainers have tried to address with warnings, or a single serious violation.
131
+ - *Consequence:* A private written warning with conditions for return from suspension. In general, temporary suspensions give the person being suspended time to reflect upon their behavior and possible corrective actions.
132
+ - *Repair:* Examples of repair include respecting the spirit of the suspension, meeting the specified conditions for return, and being thoughtful about how to reintegrate with the community when the suspension is lifted.
133
+
134
+ 4. **Permanent Ban**
135
+ - *Impact:* A pattern of repeated code of conduct violations that other steps on the ladder have failed to resolve, or a violation so serious that the maintainers determine there is no way to keep the community safe with this person as a member.
136
+ - *Consequence:* Access to all community spaces, tools, and communication channels is removed. In general, permanent bans should be rarely used, should have strong reasoning behind them, and should only be resorted to if working through other remedies has failed to change the behavior.
137
+ - *Repair:* There is no possible repair in cases of this severity.
138
+
139
+ This enforcement ladder is intended as a guideline. It does not limit the ability of maintainers to use their discretion and judgment, in keeping with the best interests of our community.
140
+
141
+ [Back to top](#top)
142
+
143
+ ---
144
+
145
+ <a id="scope"></a>
146
+
147
+ ## Scope
148
+
149
+ This Code of Conduct applies within all project spaces, and also applies when an individual is officially representing the project in public or other spaces. Examples of representing our project include using an official email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
150
+
151
+ [Back to top](#top)
152
+
153
+ ---
154
+
155
+ <a id="attribution"></a>
156
+
157
+ ## Attribution
158
+
159
+ This Code of Conduct is adapted from the Contributor Covenant, version 3.0, permanently available at <https://www.contributor-covenant.org/version/3/0/>.
160
+
161
+ Contributor Covenant is stewarded by the Organization for Ethical Source and licensed under CC BY-SA 4.0. To view a copy of this license, visit <https://creativecommons.org/licenses/by-sa/4.0/>.
162
+
163
+ For answers to common questions about Contributor Covenant, see the FAQ at <https://www.contributor-covenant.org/faq>. Translations are provided at <https://www.contributor-covenant.org/translations>. Additional enforcement and community guideline resources can be found at <https://www.contributor-covenant.org/resources>.
164
+
165
+ [Back to top](#top)
@@ -0,0 +1,22 @@
1
+ # Contributing
2
+
3
+ ## Quick start
4
+
5
+ - Install dev tooling: `python -m pip install -U pip tox`
6
+ - Run tests: `tox -e py311`
7
+ - Run docs build: `tox -e docs`
8
+ - Run lint: `tox -e lint`
9
+ - Run quality gates: `tox -e quality`
10
+
11
+ ## Code style
12
+
13
+ - Use Ruff formatting and linting.
14
+ - Keep modules import-safe and avoid side effects at import time.
15
+ - Prefer explicit, typed interfaces for public boundaries.
16
+
17
+ ## Pull requests
18
+
19
+ - Keep changes focused and testable.
20
+ - Add or update tests for behavioral changes.
21
+ - Update docs if a public interface changes.
22
+ - Ensure CI gates are green before review.