A programming framework for agentic AI
Move python code to subdir (#98)
Jack Gerritsd365a588cbb3
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.ymlindex 5383fe846..3e64772db 100644--- a/.github/workflows/checks.yml+++ b/.github/workflows/checks.yml@@ -16,6 +16,7 @@ jobs:- name: Install Hatchuses: pypa/hatch@install- run: hatch run ruff format --check+ working-directory: ./pythonlint:runs-on: ubuntu-latest@@ -24,6 +25,7 @@ jobs:- name: Install Hatchuses: pypa/hatch@install- run: hatch run ruff check+ working-directory: ./pythonmypy:runs-on: ubuntu-latest@@ -32,6 +34,7 @@ jobs:- name: Install Hatchuses: pypa/hatch@install- run: hatch run mypy+ working-directory: ./pythonpyright:runs-on: ubuntu-latest@@ -40,6 +43,7 @@ jobs:- name: Install Hatchuses: pypa/hatch@install- run: hatch run pyright+ working-directory: ./pythontest:runs-on: ubuntu-latest@@ -51,6 +55,7 @@ jobs:- name: Install Hatchuses: pypa/hatch@install- run: hatch run +python=${{ matrix.python-version }} test-matrix:pytest -n auto+ working-directory: ./pythondocs:runs-on: ubuntu-latest@@ -59,3 +64,4 @@ jobs:- name: Install Hatchuses: pypa/hatch@install- run: hatch run docs:check+ working-directory: ./pythondiff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex 333b144c0..b20c63ab5 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -33,10 +33,11 @@ jobs:- name: Install Hatchuses: pypa/hatch@install- run: hatch run docs:build+ working-directory: ./python- name: Upload artifactuses: actions/upload-pages-artifact@v3with:- path: 'docs/build'+ path: 'python/docs/build'- name: Deploy to GitHub Pagesid: deploymentuses: actions/deploy-pages@v4diff --git a/.vscode/settings.json b/.vscode/settings.jsondeleted file mode 100644index 9b388533a..000000000--- a/.vscode/settings.json+++ /dev/null@@ -1,7 +0,0 @@-{- "python.testing.pytestArgs": [- "tests"- ],- "python.testing.unittestEnabled": false,- "python.testing.pytestEnabled": true-}\ No newline at end of filediff --git a/README.md b/README.mdindex b818e28fe..be9e04c30 100644--- a/README.md+++ b/README.md@@ -1,45 +1,6 @@-# AutoGenNext+# AGNext-- [Documentation](http://microsoft.github.io/agnext)-- [Examples](https://github.com/microsoft/agnext/tree/main/examples)+See corresponding subdirectories for more information.--## Package layering--- `core` are the the foundational generic interfaces upon which all else is built. This module must not depend on any other module.-- `components` are the building blocks for creating single agents-- `application` are implementations of core components that are used to compose an application-- `chat` is the concrete implementation of multi-agent interactions. Most users will deal with this module.---## Development--**TL;DR**, run all checks with:--```sh-hatch run check-```--### Setup--- [Install `hatch`](https://hatch.pypa.io/1.12/install/).--### Virtual environment--To get a shell with the package available (virtual environment) run:-```sh-hatch shell-```--### Common tasks--- Format: `hatch run check`-- Lint: `hatch run lint`-- Test: `hatch run pytest -n auto`-- Mypy: `hatch run mypy`-- Pyright: `hatch run pyright`-- Build docs: `hatch run docs:build`-- Auto rebuild+serve docs: `hatch run docs:serve`--> [!NOTE]-> These don't need to be run in a virtual environment, `hatch` will automatically manage it for you.+- [Python Documentation](http://microsoft.github.io/agnext)+- [Python Examples](https://github.com/microsoft/agnext/tree/main/python/examples)diff --git a/.gitignore b/python/.gitignoresimilarity index 100%rename from .gitignorerename to python/.gitignorediff --git a/python/README.md b/python/README.mdnew file mode 100644index 000000000..db4573ee7--- /dev/null+++ b/python/README.md@@ -0,0 +1,45 @@+# AGNext++- [Documentation](http://microsoft.github.io/agnext)+- [Examples](https://github.com/microsoft/agnext/tree/main/python/examples)+++## Package layering++- `core` are the the foundational generic interfaces upon which all else is built. This module must not depend on any other module.+- `components` are the building blocks for creating single agents+- `application` are implementations of core components that are used to compose an application+- `chat` is the concrete implementation of multi-agent interactions. Most users will deal with this module.+++## Development++**TL;DR**, run all checks with:++```sh+hatch run check+```++### Setup++- [Install `hatch`](https://hatch.pypa.io/1.12/install/).++### Virtual environment++To get a shell with the package available (virtual environment) run:+```sh+hatch shell+```++### Common tasks++- Format: `hatch run check`+- Lint: `hatch run lint`+- Test: `hatch run pytest -n auto`+- Mypy: `hatch run mypy`+- Pyright: `hatch run pyright`+- Build docs: `hatch run docs:build`+- Auto rebuild+serve docs: `hatch run docs:serve`++> [!NOTE]+> These don't need to be run in a virtual environment, `hatch` will automatically manage it for you.diff --git a/docs/src/_apidoc_templates/module.rst_t b/python/docs/src/_apidoc_templates/module.rst_tsimilarity index 100%rename from docs/src/_apidoc_templates/module.rst_trename to python/docs/src/_apidoc_templates/module.rst_tdiff --git a/docs/src/_apidoc_templates/package.rst_t b/python/docs/src/_apidoc_templates/package.rst_tsimilarity index 100%rename from docs/src/_apidoc_templates/package.rst_trename to python/docs/src/_apidoc_templates/package.rst_tdiff --git a/docs/src/conf.py b/python/docs/src/conf.pysimilarity index 100%rename from docs/src/conf.pyrename to python/docs/src/conf.pydiff --git a/docs/src/contributing.md b/python/docs/src/contributing.mdsimilarity index 100%rename from docs/src/contributing.mdrename to python/docs/src/contributing.mddiff --git a/docs/src/core-concepts/agent.md b/python/docs/src/core-concepts/agent.mdsimilarity index 100%rename from docs/src/core-concepts/agent.mdrename to python/docs/src/core-concepts/agent.mddiff --git a/docs/src/core-concepts/cancellation.md b/python/docs/src/core-concepts/cancellation.mdsimilarity index 100%rename from docs/src/core-concepts/cancellation.mdrename to python/docs/src/core-concepts/cancellation.mddiff --git a/docs/src/core-concepts/logging.md b/python/docs/src/core-concepts/logging.mdsimilarity index 100%rename from docs/src/core-concepts/logging.mdrename to python/docs/src/core-concepts/logging.mddiff --git a/docs/src/core-concepts/memory.md b/python/docs/src/core-concepts/memory.mdsimilarity index 100%rename from docs/src/core-concepts/memory.mdrename to python/docs/src/core-concepts/memory.mddiff --git a/docs/src/core-concepts/namespace.md b/python/docs/src/core-concepts/namespace.mdsimilarity index 100%rename from docs/src/core-concepts/namespace.mdrename to python/docs/src/core-concepts/namespace.mddiff --git a/docs/src/core-concepts/patterns.md b/python/docs/src/core-concepts/patterns.mdsimilarity index 100%rename from docs/src/core-concepts/patterns.mdrename to python/docs/src/core-concepts/patterns.mddiff --git a/docs/src/core-concepts/runtime.md b/python/docs/src/core-concepts/runtime.mdsimilarity index 100%rename from docs/src/core-concepts/runtime.mdrename to python/docs/src/core-concepts/runtime.mddiff --git a/docs/src/core-concepts/tools.md b/python/docs/src/core-concepts/tools.mdsimilarity index 100%rename from docs/src/core-concepts/tools.mdrename to python/docs/src/core-concepts/tools.mddiff --git a/docs/src/getting-started/installation.md b/python/docs/src/getting-started/installation.mdsimilarity index 100%rename from docs/src/getting-started/installation.mdrename to python/docs/src/getting-started/installation.mddiff --git a/docs/src/getting-started/tutorial.md b/python/docs/src/getting-started/tutorial.mdsimilarity index 100%rename from docs/src/getting-started/tutorial.mdrename to python/docs/src/getting-started/tutorial.mddiff --git a/docs/src/guides/azure-openai-with-aad-auth.md b/python/docs/src/guides/azure-openai-with-aad-auth.mdsimilarity index 100%rename from docs/src/guides/azure-openai-with-aad-auth.mdrename to python/docs/src/guides/azure-openai-with-aad-auth.mddiff --git a/docs/src/guides/group-chat-coder-reviewer.md b/python/docs/src/guides/group-chat-coder-reviewer.mdsimilarity index 100%rename from docs/src/guides/group-chat-coder-reviewer.mdrename to python/docs/src/guides/group-chat-coder-reviewer.mddiff --git a/docs/src/guides/type-routed-agent.md b/python/docs/src/guides/type-routed-agent.mdsimilarity index 100%rename from docs/src/guides/type-routed-agent.mdrename to python/docs/src/guides/type-routed-agent.mddiff --git a/docs/src/index.rst b/python/docs/src/index.rstsimilarity index 100%rename from docs/src/index.rstrename to python/docs/src/index.rstdiff --git a/examples/README.md b/python/examples/README.mdsimilarity index 100%rename from examples/README.mdrename to python/examples/README.mddiff --git a/examples/assistant.py b/python/examples/assistant.pysimilarity index 100%rename from examples/assistant.pyrename to python/examples/assistant.pydiff --git a/examples/chat_room.py b/python/examples/chat_room.pysimilarity index 100%rename from examples/chat_room.pyrename to python/examples/chat_room.pydiff --git a/examples/chess_game.py b/python/examples/chess_game.pysimilarity index 100%rename from examples/chess_game.pyrename to python/examples/chess_game.pydiff --git a/examples/coder_reviewer.py b/python/examples/coder_reviewer.pysimilarity index 100%rename from examples/coder_reviewer.pyrename to python/examples/coder_reviewer.pydiff --git a/examples/illustrator_critics.py b/python/examples/illustrator_critics.pysimilarity index 100%rename from examples/illustrator_critics.pyrename to python/examples/illustrator_critics.pydiff --git a/examples/inner_outer.py b/python/examples/inner_outer.pysimilarity index 100%rename from examples/inner_outer.pyrename to python/examples/inner_outer.pydiff --git a/examples/orchestrator.py b/python/examples/orchestrator.pysimilarity index 100%rename from examples/orchestrator.pyrename to python/examples/orchestrator.pydiff --git a/examples/software_consultancy.py b/python/examples/software_consultancy.pysimilarity index 100%rename from examples/software_consultancy.pyrename to python/examples/software_consultancy.pydiff --git a/examples/utils.py b/python/examples/utils.pysimilarity index 100%rename from examples/utils.pyrename to python/examples/utils.pydiff --git a/pyproject.toml b/python/pyproject.tomlsimilarity index 100%rename from pyproject.tomlrename to python/pyproject.tomldiff --git a/src/agnext/__init__.py b/python/src/agnext/__init__.pysimilarity index 100%rename from src/agnext/__init__.pyrename to python/src/agnext/__init__.pydiff --git a/src/agnext/application/__init__.py b/python/src/agnext/application/__init__.pysimilarity index 100%rename from src/agnext/application/__init__.pyrename to python/src/agnext/application/__init__.pydiff --git a/src/agnext/application/_single_threaded_agent_runtime.py b/python/src/agnext/application/_single_threaded_agent_runtime.pysimilarity index 100%rename from src/agnext/application/_single_threaded_agent_runtime.pyrename to python/src/agnext/application/_single_threaded_agent_runtime.pydiff --git a/src/agnext/application/logging/__init__.py b/python/src/agnext/application/logging/__init__.pysimilarity index 100%rename from src/agnext/application/logging/__init__.pyrename to python/src/agnext/application/logging/__init__.pydiff --git a/src/agnext/application/logging/_events.py b/python/src/agnext/application/logging/_events.pysimilarity index 100%rename from src/agnext/application/logging/_events.pyrename to python/src/agnext/application/logging/_events.pydiff --git a/src/agnext/application/logging/_llm_usage.py b/python/src/agnext/application/logging/_llm_usage.pysimilarity index 100%rename from src/agnext/application/logging/_llm_usage.pyrename to python/src/agnext/application/logging/_llm_usage.pydiff --git a/src/agnext/chat/__init__.py b/python/src/agnext/chat/__init__.pysimilarity index 100%rename from src/agnext/chat/__init__.pyrename to python/src/agnext/chat/__init__.pydiff --git a/src/agnext/chat/agents/__init__.py b/python/src/agnext/chat/agents/__init__.pysimilarity index 100%rename from src/agnext/chat/agents/__init__.pyrename to python/src/agnext/chat/agents/__init__.pydiff --git a/src/agnext/chat/agents/chat_completion_agent.py b/python/src/agnext/chat/agents/chat_completion_agent.pysimilarity index 100%rename from src/agnext/chat/agents/chat_completion_agent.pyrename to python/src/agnext/chat/agents/chat_completion_agent.pydiff --git a/src/agnext/chat/agents/image_generation_agent.py b/python/src/agnext/chat/agents/image_generation_agent.pysimilarity index 100%rename from src/agnext/chat/agents/image_generation_agent.pyrename to python/src/agnext/chat/agents/image_generation_agent.pydiff --git a/src/agnext/chat/agents/oai_assistant.py b/python/src/agnext/chat/agents/oai_assistant.pysimilarity index 100%rename from src/agnext/chat/agents/oai_assistant.pyrename to python/src/agnext/chat/agents/oai_assistant.pydiff --git a/src/agnext/chat/agents/user_proxy.py b/python/src/agnext/chat/agents/user_proxy.pysimilarity index 100%rename from src/agnext/chat/agents/user_proxy.pyrename to python/src/agnext/chat/agents/user_proxy.pydiff --git a/src/agnext/chat/memory/__init__.py b/python/src/agnext/chat/memory/__init__.pysimilarity index 100%rename from src/agnext/chat/memory/__init__.pyrename to python/src/agnext/chat/memory/__init__.pydiff --git a/src/agnext/chat/memory/_base.py b/python/src/agnext/chat/memory/_base.pysimilarity index 100%rename from src/agnext/chat/memory/_base.pyrename to python/src/agnext/chat/memory/_base.pydiff --git a/src/agnext/chat/memory/_buffered.py b/python/src/agnext/chat/memory/_buffered.pysimilarity index 100%rename from src/agnext/chat/memory/_buffered.pyrename to python/src/agnext/chat/memory/_buffered.pydiff --git a/src/agnext/chat/memory/_head_and_tail.py b/python/src/agnext/chat/memory/_head_and_tail.pysimilarity index 100%rename from src/agnext/chat/memory/_head_and_tail.pyrename to python/src/agnext/chat/memory/_head_and_tail.pydiff --git a/src/agnext/chat/patterns/__init__.py b/python/src/agnext/chat/patterns/__init__.pysimilarity index 100%rename from src/agnext/chat/patterns/__init__.pyrename to python/src/agnext/chat/patterns/__init__.pydiff --git a/src/agnext/chat/patterns/group_chat_manager.py b/python/src/agnext/chat/patterns/group_chat_manager.pysimilarity index 100%rename from src/agnext/chat/patterns/group_chat_manager.pyrename to python/src/agnext/chat/patterns/group_chat_manager.pydiff --git a/src/agnext/chat/patterns/group_chat_utils.py b/python/src/agnext/chat/patterns/group_chat_utils.pysimilarity index 100%rename from src/agnext/chat/patterns/group_chat_utils.pyrename to python/src/agnext/chat/patterns/group_chat_utils.pydiff --git a/src/agnext/chat/patterns/orchestrator_chat.py b/python/src/agnext/chat/patterns/orchestrator_chat.pysimilarity index 100%rename from src/agnext/chat/patterns/orchestrator_chat.pyrename to python/src/agnext/chat/patterns/orchestrator_chat.pydiff --git a/src/agnext/chat/types.py b/python/src/agnext/chat/types.pysimilarity index 100%rename from src/agnext/chat/types.pyrename to python/src/agnext/chat/types.pydiff --git a/src/agnext/chat/utils.py b/python/src/agnext/chat/utils.pysimilarity index 100%rename from src/agnext/chat/utils.pyrename to python/src/agnext/chat/utils.pydiff --git a/src/agnext/components/__init__.py b/python/src/agnext/components/__init__.pysimilarity index 100%rename from src/agnext/components/__init__.pyrename to python/src/agnext/components/__init__.pydiff --git a/src/agnext/components/_function_utils.py b/python/src/agnext/components/_function_utils.pysimilarity index 100%rename from src/agnext/components/_function_utils.pyrename to python/src/agnext/components/_function_utils.pydiff --git a/src/agnext/components/_image.py b/python/src/agnext/components/_image.pysimilarity index 100%rename from src/agnext/components/_image.pyrename to python/src/agnext/components/_image.pydiff --git a/src/agnext/components/_pydantic_compat.py b/python/src/agnext/components/_pydantic_compat.pysimilarity index 100%rename from src/agnext/components/_pydantic_compat.pyrename to python/src/agnext/components/_pydantic_compat.pydiff --git a/src/agnext/components/_type_routed_agent.py b/python/src/agnext/components/_type_routed_agent.pysimilarity index 100%rename from src/agnext/components/_type_routed_agent.pyrename to python/src/agnext/components/_type_routed_agent.pydiff --git a/src/agnext/components/_types.py b/python/src/agnext/components/_types.pysimilarity index 100%rename from src/agnext/components/_types.pyrename to python/src/agnext/components/_types.pydiff --git a/src/agnext/components/code_executor/__init__.py b/python/src/agnext/components/code_executor/__init__.pysimilarity index 100%rename from src/agnext/components/code_executor/__init__.pyrename to python/src/agnext/components/code_executor/__init__.pydiff --git a/src/agnext/components/code_executor/_base.py b/python/src/agnext/components/code_executor/_base.pysimilarity index 100%rename from src/agnext/components/code_executor/_base.pyrename to python/src/agnext/components/code_executor/_base.pydiff --git a/src/agnext/components/code_executor/_func_with_reqs.py b/python/src/agnext/components/code_executor/_func_with_reqs.pysimilarity index 100%rename from src/agnext/components/code_executor/_func_with_reqs.pyrename to python/src/agnext/components/code_executor/_func_with_reqs.pydiff --git a/src/agnext/components/code_executor/_impl/__init__.py b/python/src/agnext/components/code_executor/_impl/__init__.pysimilarity index 100%rename from src/agnext/components/code_executor/_impl/__init__.pyrename to python/src/agnext/components/code_executor/_impl/__init__.pydiff --git a/src/agnext/components/code_executor/_impl/command_line_code_result.py b/python/src/agnext/components/code_executor/_impl/command_line_code_result.pysimilarity index 100%rename from src/agnext/components/code_executor/_impl/command_line_code_result.pyrename to python/src/agnext/components/code_executor/_impl/command_line_code_result.pydiff --git a/src/agnext/components/code_executor/_impl/local_commandline_code_executor.py b/python/src/agnext/components/code_executor/_impl/local_commandline_code_executor.pysimilarity index 100%rename from src/agnext/components/code_executor/_impl/local_commandline_code_executor.pyrename to python/src/agnext/components/code_executor/_impl/local_commandline_code_executor.pydiff --git a/src/agnext/components/code_executor/_impl/utils.py b/python/src/agnext/components/code_executor/_impl/utils.pysimilarity index 100%rename from src/agnext/components/code_executor/_impl/utils.pyrename to python/src/agnext/components/code_executor/_impl/utils.pydiff --git a/src/agnext/components/models/__init__.py b/python/src/agnext/components/models/__init__.pysimilarity index 100%rename from src/agnext/components/models/__init__.pyrename to python/src/agnext/components/models/__init__.pydiff --git a/src/agnext/components/models/_model_client.py b/python/src/agnext/components/models/_model_client.pysimilarity index 100%rename from src/agnext/components/models/_model_client.pyrename to python/src/agnext/components/models/_model_client.pydiff --git a/src/agnext/components/models/_model_info.py b/python/src/agnext/components/models/_model_info.pysimilarity index 100%rename from src/agnext/components/models/_model_info.pyrename to python/src/agnext/components/models/_model_info.pydiff --git a/src/agnext/components/models/_openai_client.py b/python/src/agnext/components/models/_openai_client.pysimilarity index 100%rename from src/agnext/components/models/_openai_client.pyrename to python/src/agnext/components/models/_openai_client.pydiff --git a/src/agnext/components/models/_types.py b/python/src/agnext/components/models/_types.pysimilarity index 100%rename from src/agnext/components/models/_types.pyrename to python/src/agnext/components/models/_types.pydiff --git a/src/agnext/components/models/config/__init__.py b/python/src/agnext/components/models/config/__init__.pysimilarity index 100%rename from src/agnext/components/models/config/__init__.pyrename to python/src/agnext/components/models/config/__init__.pydiff --git a/src/agnext/components/tools/__init__.py b/python/src/agnext/components/tools/__init__.pysimilarity index 100%rename from src/agnext/components/tools/__init__.pyrename to python/src/agnext/components/tools/__init__.pydiff --git a/src/agnext/components/tools/_base.py b/python/src/agnext/components/tools/_base.pysimilarity index 100%rename from src/agnext/components/tools/_base.pyrename to python/src/agnext/components/tools/_base.pydiff --git a/src/agnext/components/tools/_code_execution.py b/python/src/agnext/components/tools/_code_execution.pysimilarity index 100%rename from src/agnext/components/tools/_code_execution.pyrename to python/src/agnext/components/tools/_code_execution.pydiff --git a/src/agnext/components/tools/_function_tool.py b/python/src/agnext/components/tools/_function_tool.pysimilarity index 100%rename from src/agnext/components/tools/_function_tool.pyrename to python/src/agnext/components/tools/_function_tool.pydiff --git a/src/agnext/core/__init__.py b/python/src/agnext/core/__init__.pysimilarity index 100%rename from src/agnext/core/__init__.pyrename to python/src/agnext/core/__init__.pydiff --git a/src/agnext/core/_agent.py b/python/src/agnext/core/_agent.pysimilarity index 100%rename from src/agnext/core/_agent.pyrename to python/src/agnext/core/_agent.pydiff --git a/src/agnext/core/_agent_id.py b/python/src/agnext/core/_agent_id.pysimilarity index 100%rename from src/agnext/core/_agent_id.pyrename to python/src/agnext/core/_agent_id.pydiff --git a/src/agnext/core/_agent_metadata.py b/python/src/agnext/core/_agent_metadata.pysimilarity index 100%rename from src/agnext/core/_agent_metadata.pyrename to python/src/agnext/core/_agent_metadata.pydiff --git a/src/agnext/core/_agent_props.py b/python/src/agnext/core/_agent_props.pysimilarity index 100%rename from src/agnext/core/_agent_props.pyrename to python/src/agnext/core/_agent_props.pydiff --git a/src/agnext/core/_agent_proxy.py b/python/src/agnext/core/_agent_proxy.pysimilarity index 100%rename from src/agnext/core/_agent_proxy.pyrename to python/src/agnext/core/_agent_proxy.pydiff --git a/src/agnext/core/_agent_runtime.py b/python/src/agnext/core/_agent_runtime.pysimilarity index 100%rename from src/agnext/core/_agent_runtime.pyrename to python/src/agnext/core/_agent_runtime.pydiff --git a/src/agnext/core/_base_agent.py b/python/src/agnext/core/_base_agent.pysimilarity index 100%rename from src/agnext/core/_base_agent.pyrename to python/src/agnext/core/_base_agent.pydiff --git a/src/agnext/core/_cancellation_token.py b/python/src/agnext/core/_cancellation_token.pysimilarity index 100%rename from src/agnext/core/_cancellation_token.pyrename to python/src/agnext/core/_cancellation_token.pydiff --git a/src/agnext/core/exceptions.py b/python/src/agnext/core/exceptions.pysimilarity index 100%rename from src/agnext/core/exceptions.pyrename to python/src/agnext/core/exceptions.pydiff --git a/src/agnext/core/intervention.py b/python/src/agnext/core/intervention.pysimilarity index 100%rename from src/agnext/core/intervention.pyrename to python/src/agnext/core/intervention.pydiff --git a/src/agnext/py.typed b/python/src/agnext/py.typedsimilarity index 100%rename from src/agnext/py.typedrename to python/src/agnext/py.typeddiff --git a/tests/execution/test_commandline_code_executor.py b/python/tests/execution/test_commandline_code_executor.pysimilarity index 100%rename from tests/execution/test_commandline_code_executor.pyrename to python/tests/execution/test_commandline_code_executor.pydiff --git a/tests/execution/test_user_defined_functions.py b/python/tests/execution/test_user_defined_functions.pysimilarity index 100%rename from tests/execution/test_user_defined_functions.pyrename to python/tests/execution/test_user_defined_functions.pydiff --git a/tests/test_cancellation.py b/python/tests/test_cancellation.pysimilarity index 100%rename from tests/test_cancellation.pyrename to python/tests/test_cancellation.pydiff --git a/tests/test_intervention.py b/python/tests/test_intervention.pysimilarity index 100%rename from tests/test_intervention.pyrename to python/tests/test_intervention.pydiff --git a/tests/test_llm_usage.py b/python/tests/test_llm_usage.pysimilarity index 100%rename from tests/test_llm_usage.pyrename to python/tests/test_llm_usage.pydiff --git a/tests/test_runtime.py b/python/tests/test_runtime.pysimilarity index 100%rename from tests/test_runtime.pyrename to python/tests/test_runtime.pydiff --git a/tests/test_state.py b/python/tests/test_state.pysimilarity index 100%rename from tests/test_state.pyrename to python/tests/test_state.pydiff --git a/tests/test_tools.py b/python/tests/test_tools.pysimilarity index 100%rename from tests/test_tools.pyrename to python/tests/test_tools.pydiff --git a/tests/test_types.py b/python/tests/test_types.pysimilarity index 100%rename from tests/test_types.pyrename to python/tests/test_types.pydiff --git a/tests/test_utils/__init__.py b/python/tests/test_utils/__init__.pysimilarity index 100%rename from tests/test_utils/__init__.pyrename to python/tests/test_utils/__init__.py