anton-agent 2.26.5.29.4__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 (197) hide show
  1. anton_agent-2.26.5.29.4/.github/CODEOWNERS +2 -0
  2. anton_agent-2.26.5.29.4/.github/workflows/cla.yml +28 -0
  3. anton_agent-2.26.5.29.4/.github/workflows/release.yml +94 -0
  4. anton_agent-2.26.5.29.4/.github/workflows/tests.yml +28 -0
  5. anton_agent-2.26.5.29.4/.github/workflows/tests_e2e_release.yml +33 -0
  6. anton_agent-2.26.5.29.4/.gitignore +216 -0
  7. anton_agent-2.26.5.29.4/CODE_OF_CONDUCT.md +128 -0
  8. anton_agent-2.26.5.29.4/CONTRIBUTING.md +63 -0
  9. anton_agent-2.26.5.29.4/LICENSE +7 -0
  10. anton_agent-2.26.5.29.4/PKG-INFO +353 -0
  11. anton_agent-2.26.5.29.4/README.md +320 -0
  12. anton_agent-2.26.5.29.4/anton/README.md +1069 -0
  13. anton_agent-2.26.5.29.4/anton/__init__.py +1 -0
  14. anton_agent-2.26.5.29.4/anton/__main__.py +3 -0
  15. anton_agent-2.26.5.29.4/anton/analytics.py +129 -0
  16. anton_agent-2.26.5.29.4/anton/channel/__init__.py +0 -0
  17. anton_agent-2.26.5.29.4/anton/channel/branding.py +237 -0
  18. anton_agent-2.26.5.29.4/anton/channel/theme.py +91 -0
  19. anton_agent-2.26.5.29.4/anton/chat.py +1831 -0
  20. anton_agent-2.26.5.29.4/anton/chat_session.py +132 -0
  21. anton_agent-2.26.5.29.4/anton/chat_ui.py +695 -0
  22. anton_agent-2.26.5.29.4/anton/checks.py +109 -0
  23. anton_agent-2.26.5.29.4/anton/cli.py +1645 -0
  24. anton_agent-2.26.5.29.4/anton/clipboard.py +428 -0
  25. anton_agent-2.26.5.29.4/anton/commands/__init__.py +0 -0
  26. anton_agent-2.26.5.29.4/anton/commands/datasource/__init__.py +23 -0
  27. anton_agent-2.26.5.29.4/anton/commands/datasource/connect.py +556 -0
  28. anton_agent-2.26.5.29.4/anton/commands/datasource/custom.py +348 -0
  29. anton_agent-2.26.5.29.4/anton/commands/datasource/helpers.py +121 -0
  30. anton_agent-2.26.5.29.4/anton/commands/datasource/manage.py +120 -0
  31. anton_agent-2.26.5.29.4/anton/commands/datasource/verify.py +188 -0
  32. anton_agent-2.26.5.29.4/anton/commands/goal.py +191 -0
  33. anton_agent-2.26.5.29.4/anton/commands/session.py +132 -0
  34. anton_agent-2.26.5.29.4/anton/commands/setup.py +177 -0
  35. anton_agent-2.26.5.29.4/anton/commands/share.py +529 -0
  36. anton_agent-2.26.5.29.4/anton/commands/skills.py +422 -0
  37. anton_agent-2.26.5.29.4/anton/commands/ui.py +221 -0
  38. anton_agent-2.26.5.29.4/anton/config/__init__.py +0 -0
  39. anton_agent-2.26.5.29.4/anton/config/settings.py +153 -0
  40. anton_agent-2.26.5.29.4/anton/connect_collector.py +273 -0
  41. anton_agent-2.26.5.29.4/anton/context/__init__.py +0 -0
  42. anton_agent-2.26.5.29.4/anton/context/self_awareness.py +97 -0
  43. anton_agent-2.26.5.29.4/anton/core/__init__.py +0 -0
  44. anton_agent-2.26.5.29.4/anton/core/artifacts/__init__.py +43 -0
  45. anton_agent-2.26.5.29.4/anton/core/artifacts/models.py +114 -0
  46. anton_agent-2.26.5.29.4/anton/core/artifacts/snapshot.py +89 -0
  47. anton_agent-2.26.5.29.4/anton/core/artifacts/store.py +367 -0
  48. anton_agent-2.26.5.29.4/anton/core/backends/__init__.py +0 -0
  49. anton_agent-2.26.5.29.4/anton/core/backends/base.py +251 -0
  50. anton_agent-2.26.5.29.4/anton/core/backends/local.py +719 -0
  51. anton_agent-2.26.5.29.4/anton/core/backends/manager.py +86 -0
  52. anton_agent-2.26.5.29.4/anton/core/backends/remote.py +310 -0
  53. anton_agent-2.26.5.29.4/anton/core/backends/scratchpad_boot.py +831 -0
  54. anton_agent-2.26.5.29.4/anton/core/backends/utils.py +14 -0
  55. anton_agent-2.26.5.29.4/anton/core/backends/wire.py +10 -0
  56. anton_agent-2.26.5.29.4/anton/core/datasources/__init__.py +0 -0
  57. anton_agent-2.26.5.29.4/anton/core/datasources/data_vault.py +358 -0
  58. anton_agent-2.26.5.29.4/anton/core/datasources/datasource_registry.py +213 -0
  59. anton_agent-2.26.5.29.4/anton/core/datasources/datasources.md +726 -0
  60. anton_agent-2.26.5.29.4/anton/core/dispatch/__init__.py +148 -0
  61. anton_agent-2.26.5.29.4/anton/core/dispatch/adapter.py +227 -0
  62. anton_agent-2.26.5.29.4/anton/core/dispatch/channels/__init__.py +7 -0
  63. anton_agent-2.26.5.29.4/anton/core/dispatch/channels/cli.py +221 -0
  64. anton_agent-2.26.5.29.4/anton/core/dispatch/entities.py +170 -0
  65. anton_agent-2.26.5.29.4/anton/core/dispatch/local_runtime.py +447 -0
  66. anton_agent-2.26.5.29.4/anton/core/dispatch/policy.py +241 -0
  67. anton_agent-2.26.5.29.4/anton/core/dispatch/registry.py +159 -0
  68. anton_agent-2.26.5.29.4/anton/core/dispatch/repository.py +537 -0
  69. anton_agent-2.26.5.29.4/anton/core/dispatch/router.py +641 -0
  70. anton_agent-2.26.5.29.4/anton/core/dispatch/session_store.py +189 -0
  71. anton_agent-2.26.5.29.4/anton/core/llm/__init__.py +0 -0
  72. anton_agent-2.26.5.29.4/anton/core/llm/anthropic.py +281 -0
  73. anton_agent-2.26.5.29.4/anton/core/llm/client.py +291 -0
  74. anton_agent-2.26.5.29.4/anton/core/llm/openai.py +1148 -0
  75. anton_agent-2.26.5.29.4/anton/core/llm/prompt_builder.py +179 -0
  76. anton_agent-2.26.5.29.4/anton/core/llm/prompts.py +466 -0
  77. anton_agent-2.26.5.29.4/anton/core/llm/provider.py +383 -0
  78. anton_agent-2.26.5.29.4/anton/core/llm/structured.py +128 -0
  79. anton_agent-2.26.5.29.4/anton/core/llm/tracing.py +51 -0
  80. anton_agent-2.26.5.29.4/anton/core/memory/__init__.py +0 -0
  81. anton_agent-2.26.5.29.4/anton/core/memory/acc.py +744 -0
  82. anton_agent-2.26.5.29.4/anton/core/memory/base.py +145 -0
  83. anton_agent-2.26.5.29.4/anton/core/memory/cerebellum.py +385 -0
  84. anton_agent-2.26.5.29.4/anton/core/memory/consolidator.py +194 -0
  85. anton_agent-2.26.5.29.4/anton/core/memory/cortex.py +538 -0
  86. anton_agent-2.26.5.29.4/anton/core/memory/episodes.py +300 -0
  87. anton_agent-2.26.5.29.4/anton/core/memory/hippocampus.py +579 -0
  88. anton_agent-2.26.5.29.4/anton/core/memory/skills.py +422 -0
  89. anton_agent-2.26.5.29.4/anton/core/runtime.py +209 -0
  90. anton_agent-2.26.5.29.4/anton/core/session.py +2145 -0
  91. anton_agent-2.26.5.29.4/anton/core/settings.py +22 -0
  92. anton_agent-2.26.5.29.4/anton/core/tools/recall_skill.py +130 -0
  93. anton_agent-2.26.5.29.4/anton/core/tools/registry.py +56 -0
  94. anton_agent-2.26.5.29.4/anton/core/tools/tool_defs.py +334 -0
  95. anton_agent-2.26.5.29.4/anton/core/tools/tool_handlers.py +501 -0
  96. anton_agent-2.26.5.29.4/anton/core/tools/web_tools.py +290 -0
  97. anton_agent-2.26.5.29.4/anton/core/utils/__init__.py +0 -0
  98. anton_agent-2.26.5.29.4/anton/core/utils/scratchpad.py +66 -0
  99. anton_agent-2.26.5.29.4/anton/demo_data/__init__.py +0 -0
  100. anton_agent-2.26.5.29.4/anton/demo_data/nvda_btc_scratchpad_backup.py +498 -0
  101. anton_agent-2.26.5.29.4/anton/explainability.py +271 -0
  102. anton_agent-2.26.5.29.4/anton/memory/__init__.py +0 -0
  103. anton_agent-2.26.5.29.4/anton/memory/history_store.py +200 -0
  104. anton_agent-2.26.5.29.4/anton/memory/learnings.py +86 -0
  105. anton_agent-2.26.5.29.4/anton/memory/manage.py +535 -0
  106. anton_agent-2.26.5.29.4/anton/memory/reconsolidator.py +152 -0
  107. anton_agent-2.26.5.29.4/anton/memory/store.py +160 -0
  108. anton_agent-2.26.5.29.4/anton/minds_client.py +205 -0
  109. anton_agent-2.26.5.29.4/anton/policies.py +236 -0
  110. anton_agent-2.26.5.29.4/anton/prompts.py +30 -0
  111. anton_agent-2.26.5.29.4/anton/publisher.py +204 -0
  112. anton_agent-2.26.5.29.4/anton/tools.py +540 -0
  113. anton_agent-2.26.5.29.4/anton/updater.py +158 -0
  114. anton_agent-2.26.5.29.4/anton/utils/__init__.py +0 -0
  115. anton_agent-2.26.5.29.4/anton/utils/clipboard.py +408 -0
  116. anton_agent-2.26.5.29.4/anton/utils/datasources.py +304 -0
  117. anton_agent-2.26.5.29.4/anton/utils/prompt.py +155 -0
  118. anton_agent-2.26.5.29.4/anton/workspace.py +242 -0
  119. anton_agent-2.26.5.29.4/ascii_bot.txt +6 -0
  120. anton_agent-2.26.5.29.4/assets/anton-dashboard-example.png +0 -0
  121. anton_agent-2.26.5.29.4/assets/anton-diagram.png +0 -0
  122. anton_agent-2.26.5.29.4/assets/contributions-agreement/signatures/cla.json +4 -0
  123. anton_agent-2.26.5.29.4/install.ps1 +265 -0
  124. anton_agent-2.26.5.29.4/install.sh +212 -0
  125. anton_agent-2.26.5.29.4/pyproject.toml +64 -0
  126. anton_agent-2.26.5.29.4/tests/__init__.py +0 -0
  127. anton_agent-2.26.5.29.4/tests/conftest.py +49 -0
  128. anton_agent-2.26.5.29.4/tests/e2e/README.md +68 -0
  129. anton_agent-2.26.5.29.4/tests/e2e/__init__.py +1 -0
  130. anton_agent-2.26.5.29.4/tests/e2e/conftest.py +61 -0
  131. anton_agent-2.26.5.29.4/tests/e2e/harness.py +223 -0
  132. anton_agent-2.26.5.29.4/tests/e2e/scenarios/__init__.py +1 -0
  133. anton_agent-2.26.5.29.4/tests/e2e/scenarios/test_basic_chat.py +73 -0
  134. anton_agent-2.26.5.29.4/tests/e2e/scenarios/test_boot_config.py +69 -0
  135. anton_agent-2.26.5.29.4/tests/e2e/scenarios/test_circuit_breaker_evasion.py +39 -0
  136. anton_agent-2.26.5.29.4/tests/e2e/scenarios/test_credential_scrubbing.py +48 -0
  137. anton_agent-2.26.5.29.4/tests/e2e/scenarios/test_error_handling.py +89 -0
  138. anton_agent-2.26.5.29.4/tests/e2e/scenarios/test_loop_safety.py +99 -0
  139. anton_agent-2.26.5.29.4/tests/e2e/scenarios/test_scratchpad_resilience.py +94 -0
  140. anton_agent-2.26.5.29.4/tests/e2e/scenarios/test_session_persistence.py +92 -0
  141. anton_agent-2.26.5.29.4/tests/e2e/scenarios/test_tool_execution.py +112 -0
  142. anton_agent-2.26.5.29.4/tests/e2e/stub_server.py +242 -0
  143. anton_agent-2.26.5.29.4/tests/fixtures/acc/kill_loop.json +6 -0
  144. anton_agent-2.26.5.29.4/tests/fixtures/acc/name_switch.json +7 -0
  145. anton_agent-2.26.5.29.4/tests/fixtures/acc/oversized_cell.json +8 -0
  146. anton_agent-2.26.5.29.4/tests/fixtures/acc/publish_failure_loop.json +8 -0
  147. anton_agent-2.26.5.29.4/tests/fixtures/acc/reset_churn.json +8 -0
  148. anton_agent-2.26.5.29.4/tests/test_acc.py +639 -0
  149. anton_agent-2.26.5.29.4/tests/test_artifacts.py +404 -0
  150. anton_agent-2.26.5.29.4/tests/test_cerebellum.py +399 -0
  151. anton_agent-2.26.5.29.4/tests/test_cerebellum_e2e.py +246 -0
  152. anton_agent-2.26.5.29.4/tests/test_channel_branding.py +78 -0
  153. anton_agent-2.26.5.29.4/tests/test_channel_theme.py +62 -0
  154. anton_agent-2.26.5.29.4/tests/test_chat.py +270 -0
  155. anton_agent-2.26.5.29.4/tests/test_chat_context.py +443 -0
  156. anton_agent-2.26.5.29.4/tests/test_chat_scratchpad.py +425 -0
  157. anton_agent-2.26.5.29.4/tests/test_chat_ui.py +226 -0
  158. anton_agent-2.26.5.29.4/tests/test_checks.py +124 -0
  159. anton_agent-2.26.5.29.4/tests/test_client.py +108 -0
  160. anton_agent-2.26.5.29.4/tests/test_clipboard.py +365 -0
  161. anton_agent-2.26.5.29.4/tests/test_connect_collector.py +407 -0
  162. anton_agent-2.26.5.29.4/tests/test_consolidator.py +130 -0
  163. anton_agent-2.26.5.29.4/tests/test_cortex.py +211 -0
  164. anton_agent-2.26.5.29.4/tests/test_data_vault.py +254 -0
  165. anton_agent-2.26.5.29.4/tests/test_datasource.py +4166 -0
  166. anton_agent-2.26.5.29.4/tests/test_episodes.py +318 -0
  167. anton_agent-2.26.5.29.4/tests/test_explainability.py +136 -0
  168. anton_agent-2.26.5.29.4/tests/test_goal.py +103 -0
  169. anton_agent-2.26.5.29.4/tests/test_hippocampus.py +222 -0
  170. anton_agent-2.26.5.29.4/tests/test_history_store.py +189 -0
  171. anton_agent-2.26.5.29.4/tests/test_learning_store.py +94 -0
  172. anton_agent-2.26.5.29.4/tests/test_llm_client_generate_object.py +320 -0
  173. anton_agent-2.26.5.29.4/tests/test_llm_structured_helper.py +256 -0
  174. anton_agent-2.26.5.29.4/tests/test_openai_provider.py +606 -0
  175. anton_agent-2.26.5.29.4/tests/test_openai_setup.py +251 -0
  176. anton_agent-2.26.5.29.4/tests/test_prompt_builder_skills.py +143 -0
  177. anton_agent-2.26.5.29.4/tests/test_provider.py +260 -0
  178. anton_agent-2.26.5.29.4/tests/test_publish_api_key.py +124 -0
  179. anton_agent-2.26.5.29.4/tests/test_recall_skill.py +218 -0
  180. anton_agent-2.26.5.29.4/tests/test_reconsolidator.py +113 -0
  181. anton_agent-2.26.5.29.4/tests/test_scratchpad.py +1015 -0
  182. anton_agent-2.26.5.29.4/tests/test_scratchpad_observer_dispatch.py +290 -0
  183. anton_agent-2.26.5.29.4/tests/test_scrubbing.py +68 -0
  184. anton_agent-2.26.5.29.4/tests/test_self_awareness.py +157 -0
  185. anton_agent-2.26.5.29.4/tests/test_session_acc_init.py +280 -0
  186. anton_agent-2.26.5.29.4/tests/test_session_skills_init.py +126 -0
  187. anton_agent-2.26.5.29.4/tests/test_session_store.py +181 -0
  188. anton_agent-2.26.5.29.4/tests/test_settings.py +108 -0
  189. anton_agent-2.26.5.29.4/tests/test_share.py +260 -0
  190. anton_agent-2.26.5.29.4/tests/test_skill_commands.py +409 -0
  191. anton_agent-2.26.5.29.4/tests/test_skills_e2e.py +186 -0
  192. anton_agent-2.26.5.29.4/tests/test_skills_store.py +302 -0
  193. anton_agent-2.26.5.29.4/tests/test_tools.py +421 -0
  194. anton_agent-2.26.5.29.4/tests/test_web_tools.py +437 -0
  195. anton_agent-2.26.5.29.4/tests/test_web_tools_live.py +622 -0
  196. anton_agent-2.26.5.29.4/tests/test_workspace.py +205 -0
  197. anton_agent-2.26.5.29.4/uv.lock +1344 -0
@@ -0,0 +1,2 @@
1
+ # All workflows, actions, issue templates, etc. require DevOps review.
2
+ .github/ @mindsdb/devops
@@ -0,0 +1,28 @@
1
+ name: "MindsDB Anton CLA Assistant"
2
+
3
+ permissions:
4
+ actions: write
5
+ contents: write
6
+ pull-requests: write
7
+ statuses: write
8
+
9
+ on:
10
+ issue_comment:
11
+ types: [created]
12
+ pull_request_target:
13
+ types: [opened,closed,synchronize]
14
+
15
+ jobs:
16
+ CLAssistant:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - name: "CLA Assistant"
20
+ if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
21
+ uses: contributor-assistant/github-action@v2.6.1
22
+ env:
23
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24
+ with:
25
+ path-to-signatures: 'assets/contributions-agreement/signatures/cla.json'
26
+ path-to-document: 'https://github.com/mindsdb/mindsdb/blob/main/assets/contributions-agreement/individual-contributor.md'
27
+ branch: 'cla'
28
+ allowlist: bot*, ZoranPandovski, torrmal, Stpmax, mindsdbadmin, ea-rus, hamishfagg, MinuraPunchihewa, martyna-mindsdb, tino097, lucas-koontz
@@ -0,0 +1,94 @@
1
+ name: Auto-release on version bump
2
+
3
+ permissions:
4
+ contents: write
5
+
6
+ on:
7
+ push:
8
+ branches: [main]
9
+ paths:
10
+ - 'anton/__init__.py'
11
+ workflow_dispatch:
12
+
13
+ concurrency:
14
+ group: auto-release-${{ github.ref }}
15
+ cancel-in-progress: false
16
+
17
+ jobs:
18
+ auto-release:
19
+ runs-on: ubuntu-latest
20
+ outputs:
21
+ tag: ${{ steps.version.outputs.tag }}
22
+ created: ${{ steps.tag_check.outputs.exists == 'false' }}
23
+ steps:
24
+ - uses: actions/checkout@v4
25
+ with:
26
+ fetch-depth: 0
27
+
28
+ - name: Read __version__ from anton/__init__.py
29
+ id: version
30
+ run: |
31
+ PKG_VERSION=$(grep -oE '__version__\s*=\s*"[^"]+"' anton/__init__.py | grep -oE '"[^"]+"' | tr -d '"')
32
+ if [ -z "${PKG_VERSION}" ]; then
33
+ echo "::error::Could not parse __version__ from anton/__init__.py"
34
+ exit 1
35
+ fi
36
+ echo "version=${PKG_VERSION}" >> "$GITHUB_OUTPUT"
37
+ echo "tag=v${PKG_VERSION}" >> "$GITHUB_OUTPUT"
38
+
39
+ - name: Check if tag already exists
40
+ id: tag_check
41
+ run: |
42
+ TAG="${{ steps.version.outputs.tag }}"
43
+ if git rev-parse "refs/tags/${TAG}" >/dev/null 2>&1; then
44
+ echo "Tag ${TAG} already exists; nothing to do."
45
+ echo "exists=true" >> "$GITHUB_OUTPUT"
46
+ else
47
+ echo "Tag ${TAG} does not exist; will create release."
48
+ echo "exists=false" >> "$GITHUB_OUTPUT"
49
+ fi
50
+
51
+ - name: Create tag and GitHub release
52
+ if: steps.tag_check.outputs.exists == 'false'
53
+ env:
54
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55
+ TAG: ${{ steps.version.outputs.tag }}
56
+ run: |
57
+ gh release create "${TAG}" \
58
+ --target "${GITHUB_SHA}" \
59
+ --title "${TAG}" \
60
+ --generate-notes
61
+
62
+ publish:
63
+ name: Publish to PyPI
64
+ needs: auto-release
65
+ if: needs.auto-release.outputs.created == 'true'
66
+ runs-on: ubuntu-latest
67
+ environment: pypi
68
+ permissions:
69
+ id-token: write # required for trusted publisher (OIDC)
70
+ steps:
71
+ - uses: actions/checkout@v4
72
+ with:
73
+ ref: ${{ needs.auto-release.outputs.tag }}
74
+
75
+ - name: Setup uv
76
+ uses: astral-sh/setup-uv@v5
77
+ with:
78
+ python-version: "3.12"
79
+
80
+ - name: Build package
81
+ run: uv build
82
+
83
+ - name: Publish to PyPI
84
+ uses: pypa/gh-action-pypi-publish@release/v1
85
+ # Uses trusted publisher (OIDC) — no API token needed.
86
+ # Configure at: https://pypi.org/manage/project/anton/settings/publishing/
87
+
88
+ e2e:
89
+ needs: auto-release
90
+ if: needs.auto-release.outputs.created == 'true'
91
+ uses: ./.github/workflows/tests_e2e_release.yml
92
+ with:
93
+ tag: ${{ needs.auto-release.outputs.tag }}
94
+ secrets: inherit
@@ -0,0 +1,28 @@
1
+ name: CI
2
+
3
+ permissions:
4
+ contents: read
5
+
6
+ on:
7
+ pull_request:
8
+ branches: [main]
9
+ push:
10
+ branches: [main]
11
+
12
+ jobs:
13
+ run-tests:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+
18
+ - name: Install uv
19
+ uses: astral-sh/setup-uv@v5
20
+
21
+ - name: Set up Python
22
+ run: uv python install 3.12
23
+
24
+ - name: Run unit tests
25
+ run: uv run --extra dev pytest tests/ -v --ignore=tests/e2e
26
+
27
+ - name: Run E2E tests (stub)
28
+ run: uv run --extra dev pytest tests/e2e/ -v
@@ -0,0 +1,33 @@
1
+ name: Release e2e scenarios
2
+
3
+ permissions:
4
+ contents: read
5
+
6
+ on:
7
+ workflow_call:
8
+ inputs:
9
+ tag:
10
+ description: "Release tag the caller just created (e.g. v2.0.5)"
11
+ required: true
12
+ type: string
13
+
14
+ jobs:
15
+ e2e-live:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+
20
+ - name: Install uv
21
+ uses: astral-sh/setup-uv@v5
22
+
23
+ - name: Set up Python
24
+ run: uv python install 3.12
25
+
26
+ - name: Run E2E tests (live)
27
+ env:
28
+ ANTON_OPENAI_API_KEY: ${{ secrets.ANTON_OPENAI_API_KEY }}
29
+ ANTON_PLANNING_PROVIDER: openai
30
+ ANTON_CODING_PROVIDER: openai
31
+ ANTON_PLANNING_MODEL: gpt-4.1-mini
32
+ ANTON_CODING_MODEL: gpt-4.1-mini
33
+ run: uv run --extra dev pytest tests/e2e/ --live -v
@@ -0,0 +1,216 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py.cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # UV
98
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ #uv.lock
102
+
103
+ # poetry
104
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
106
+ # commonly ignored for libraries.
107
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108
+ #poetry.lock
109
+ #poetry.toml
110
+
111
+ # pdm
112
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
113
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
114
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
115
+ #pdm.lock
116
+ #pdm.toml
117
+ .pdm-python
118
+ .pdm-build/
119
+
120
+ # pixi
121
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
122
+ #pixi.lock
123
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
124
+ # in the .venv directory. It is recommended not to include this directory in version control.
125
+ .pixi
126
+
127
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
128
+ __pypackages__/
129
+
130
+ # Celery stuff
131
+ celerybeat-schedule
132
+ celerybeat.pid
133
+
134
+ # SageMath parsed files
135
+ *.sage.py
136
+
137
+ # Environments
138
+ .env
139
+ .envrc
140
+ .venv
141
+ env/
142
+ venv/
143
+ ENV/
144
+ env.bak/
145
+ venv.bak/
146
+
147
+ # Spyder project settings
148
+ .spyderproject
149
+ .spyproject
150
+
151
+ # Rope project settings
152
+ .ropeproject
153
+
154
+ # mkdocs documentation
155
+ /site
156
+
157
+ # mypy
158
+ .mypy_cache/
159
+ .dmypy.json
160
+ dmypy.json
161
+
162
+ # Pyre type checker
163
+ .pyre/
164
+
165
+ # pytype static type analyzer
166
+ .pytype/
167
+
168
+ # Cython debug symbols
169
+ cython_debug/
170
+
171
+ # PyCharm
172
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
173
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
174
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
175
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
176
+ #.idea/
177
+
178
+ # Abstra
179
+ # Abstra is an AI-powered process automation framework.
180
+ # Ignore directories containing user credentials, local state, and settings.
181
+ # Learn more at https://abstra.io/docs
182
+ .abstra/
183
+
184
+ # Visual Studio Code
185
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
186
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
187
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
188
+ # you could uncomment the following to ignore the entire vscode folder
189
+ # .vscode/
190
+
191
+ # Ruff stuff:
192
+ .ruff_cache/
193
+
194
+ # PyPI configuration file
195
+ .pypirc
196
+
197
+ # Cursor
198
+ # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
199
+ # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
200
+ # refer to https://docs.cursor.com/context/ignore-files
201
+ .cursorignore
202
+ .cursorindexingignore
203
+
204
+ # personal AI agents
205
+ CLAUDE.md
206
+ .claude/*
207
+ AGENTS.md
208
+
209
+ # Marimo
210
+ marimo/_static/
211
+ marimo/_lsp/
212
+ __marimo__/
213
+
214
+ # Anton
215
+ .anton/
216
+ .DS_Store
@@ -0,0 +1,128 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, religion, or sexual identity
10
+ and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the
26
+ overall community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or
31
+ advances of any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email
35
+ address, without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official e-mail address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ hello@mindsdb.com.
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series
86
+ of actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or
93
+ permanent ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within
113
+ the community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.0, available at
119
+ https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120
+
121
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct
122
+ enforcement ladder](https://github.com/mozilla/diversity).
123
+
124
+ [homepage]: https://www.contributor-covenant.org
125
+
126
+ For answers to common questions about this code of conduct, see the FAQ at
127
+ https://www.contributor-covenant.org/faq. Translations are available at
128
+ https://www.contributor-covenant.org/translations.
@@ -0,0 +1,63 @@
1
+ # Contributing to Anton
2
+
3
+ Thanks for your interest in contributing to Anton.
4
+
5
+ Anton is an open-source project, and we welcome contributions from anyone who wants to help improve it — whether that is by reporting bugs, improving documentation, testing the project, or contributing code.
6
+
7
+ ## How you can help
8
+
9
+ You can contribute by:
10
+
11
+ - Reporting bugs
12
+ - Improving documentation
13
+ - Testing Anton and sharing feedback
14
+ - Discussing implementation ideas
15
+ - Submitting bug fixes
16
+ - Proposing new features
17
+ - Improving examples, tests, or developer experience
18
+
19
+ ## Code contributions
20
+
21
+ We follow the standard fork-and-pull Git workflow:
22
+
23
+ 1. Fork the Anton repository.
24
+ 2. Clone your fork locally.
25
+ 3. Create a new branch for your changes.
26
+ 4. Make your changes.
27
+ 5. Add or update tests when needed.
28
+ 6. Run the tests locally.
29
+ 7. Commit your changes with a clear commit message.
30
+ 8. Push your branch to your fork.
31
+ 9. Open a pull request against the `main` branch.
32
+ 10. Make sure all CI checks pass.
33
+
34
+ > Note: Before opening a pull request, please sync your fork with the latest changes from `upstream/main`.
35
+
36
+ ## Feature requests and bug reports
37
+
38
+ We use GitHub Issues to track bugs, feature requests, and improvements.
39
+
40
+ Before opening a new issue, please check whether a similar issue already exists. If not, open a [new issue](https://github.com/mindsdb/anton/issues) and fill out the required information.
41
+
42
+ When reporting a bug, please include:
43
+
44
+ - What you expected to happen
45
+ - What actually happened
46
+ - Steps to reproduce the issue
47
+ - Relevant logs, screenshots, or environment details, if available
48
+
49
+ ## Pull request review process
50
+
51
+ Pull requests are reviewed regularly by the maintainers.
52
+
53
+ Please make sure your pull request is focused, easy to review, and includes enough context about the change. If we leave feedback or questions, please respond so we can move the review forward.
54
+
55
+ ## Community
56
+
57
+ If you have questions or want to discuss Anton with the MindsDB team, you can join our [Slack community](https://mindsdb.com/joincommunity) or post in [GitHub Discussions](https://github.com/mindsdb/mindsdb/discussions).
58
+
59
+ You can also sign up for the [MindsDB Monthly Community Newsletter](https://mindsdb.com/newsletter/?utm_medium=community&utm_source=github&utm_campaign=mindsdb%20repo) to get updates about announcements, releases, and events.
60
+
61
+ ## Contributor Code of Conduct
62
+
63
+ This project follows the [Contributor Code of Conduct](https://github.com/mindsdb/anton/blob/main/CODE_OF_CONDUCT.md). By participating in this project, you agree to follow its terms.
@@ -0,0 +1,7 @@
1
+ Copyright 2026 MindsDB
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.