open-data-sci 0.2.1__tar.gz → 0.3.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.
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/.env.example +2 -5
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/PKG-INFO +171 -170
- open_data_sci-0.3.0/README.md +423 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/dev/scripts/test_pypi_install.sh +1 -1
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/docs/api/agent.md +26 -13
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/docs/api/config.md +12 -22
- open_data_sci-0.3.0/docs/api/index.md +61 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/docs/api/memory.md +9 -1
- open_data_sci-0.3.0/docs/api/open_data_sci.md +106 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/docs/api/session.md +10 -4
- open_data_sci-0.3.0/docs/api/session_manager.md +46 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/docs/api/skills.md +15 -3
- open_data_sci-0.3.0/docs/api/tasks.md +93 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/docs/api/types.md +20 -13
- open_data_sci-0.3.0/docs/getting-started.md +403 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/docs/index.md +3 -2
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/README.md +3 -4
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/configs/config_anthropic.yaml +10 -24
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/configs/config_azure.yaml +3 -11
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/configs/config_bedrock.yaml +5 -13
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/configs/config_gemini.yaml +3 -11
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/configs/config_ollama.yaml +3 -11
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/configs/config_openai.yaml +3 -11
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/configs/config_openai_compatible_server.yaml +3 -11
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/configs/config_vertexai.yaml +3 -11
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/notebooks/030_notebook_anthropic.ipynb +3 -3
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/notebooks/031_notebook_openai_compatible_server.ipynb +3 -12
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/notebooks/032_notebook_bedrock.ipynb +3 -18
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/scripts/020_script_anthropic.py +3 -3
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/scripts/021_script_openai_compatible_server.py +3 -3
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/scripts/022_script_bedrock.py +3 -3
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/tui/010_tui_anthropic.md +15 -16
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/tui/011_tui_openai_compatible_server.md +13 -14
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/examples/tui/012_tui_bedrock.md +7 -13
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/mkdocs.yaml +2 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/__init__.py +7 -4
- open_data_sci-0.3.0/opendatasci/_tui/adapter.py +115 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/_tui/app.py +211 -149
- open_data_sci-0.3.0/opendatasci/_tui/chat/commands.py +102 -0
- {open_data_sci-0.2.1/opendatasci/_tui → open_data_sci-0.3.0/opendatasci/_tui/chat}/completion.py +38 -3
- {open_data_sci-0.2.1/opendatasci/_tui → open_data_sci-0.3.0/opendatasci/_tui/chat}/file_refs.py +2 -2
- open_data_sci-0.3.0/opendatasci/_tui/chat/message_queue.py +64 -0
- {open_data_sci-0.2.1/opendatasci/_tui → open_data_sci-0.3.0/opendatasci/_tui/chat}/presenter.py +64 -38
- {open_data_sci-0.2.1/opendatasci/_tui → open_data_sci-0.3.0/opendatasci/_tui/chat}/tools_display.py +39 -30
- {open_data_sci-0.2.1/opendatasci/_tui → open_data_sci-0.3.0/opendatasci/_tui/chat}/widgets.py +249 -98
- open_data_sci-0.3.0/opendatasci/_tui/config/_yaml_store.py +21 -0
- open_data_sci-0.3.0/opendatasci/_tui/config/config_tree.py +313 -0
- open_data_sci-0.3.0/opendatasci/_tui/config/onboarding.py +115 -0
- open_data_sci-0.3.0/opendatasci/_tui/config/secrets.py +26 -0
- open_data_sci-0.3.0/opendatasci/_tui/config/settings.py +26 -0
- open_data_sci-0.3.0/opendatasci/_tui/controller.py +1000 -0
- open_data_sci-0.3.0/opendatasci/_tui/graphics_utils.py +34 -0
- open_data_sci-0.3.0/opendatasci/_tui/image_render.py +96 -0
- open_data_sci-0.3.0/opendatasci/_tui/screens/_wizard_layout.py +10 -0
- open_data_sci-0.3.0/opendatasci/_tui/screens/config_screen.py +931 -0
- open_data_sci-0.3.0/opendatasci/_tui/screens/onboarding_screen.py +110 -0
- open_data_sci-0.3.0/opendatasci/_tui/screens/startup_wizard_screen.py +183 -0
- open_data_sci-0.3.0/opendatasci/_tui/screens/system_dependencies_screen.py +171 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/_tui/service.py +28 -5
- {open_data_sci-0.2.1/opendatasci/_tui → open_data_sci-0.3.0/opendatasci/_tui/style}/styles.tcss +45 -10
- {open_data_sci-0.2.1/opendatasci/_tui → open_data_sci-0.3.0/opendatasci/_tui/style}/theme.py +66 -78
- open_data_sci-0.3.0/opendatasci/_tui/tips.py +12 -0
- open_data_sci-0.3.0/opendatasci/_utils/accelerator_utils.py +26 -0
- open_data_sci-0.3.0/opendatasci/_utils/background_tasks_utils.py +19 -0
- open_data_sci-0.3.0/opendatasci/_utils/casing_utils.py +26 -0
- open_data_sci-0.3.0/opendatasci/_utils/fs_utils.py +93 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/_utils/message_utils.py +9 -2
- open_data_sci-0.3.0/opendatasci/_utils/package_extras_utils.py +21 -0
- open_data_sci-0.3.0/opendatasci/_utils/pydantic_utils.py +26 -0
- open_data_sci-0.3.0/opendatasci/_utils/system_dependency_utils.py +53 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/agents/agents.py +258 -170
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/agents/agents_factory.py +1 -1
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/agents/chat_history.py +12 -9
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/agents/graphs.py +14 -8
- open_data_sci-0.3.0/opendatasci/agents/interrupts.py +10 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/agents/nodes.py +23 -1
- open_data_sci-0.3.0/opendatasci/agents/workers.py +160 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/configs.py +52 -20
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/context/plans.py +5 -4
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/human_inputs/__init__.py +0 -2
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/human_inputs/human_approval.py +9 -13
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/memory/chat_memory.py +168 -43
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/memory/messages.py +105 -15
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/memory/turn_memory.py +26 -13
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/models/anthropic.py +1 -1
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/models/aws.py +5 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/models/factory.py +15 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/models/google.py +2 -2
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/models/local.py +2 -2
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/models/microsoft.py +1 -1
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/models/openai.py +1 -1
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/prompts/prompt_templates.py +17 -14
- open_data_sci-0.3.0/opendatasci/resources/skill_domains/arxiv.org/manifest.md +21 -0
- open_data_sci-0.3.0/opendatasci/resources/skill_domains/finance.yahoo.com/manifest.md +9 -0
- open_data_sci-0.3.0/opendatasci/resources/skill_domains/github.com/manifest.md +21 -0
- open_data_sci-0.3.0/opendatasci/resources/skill_domains/huggingface.co/manifest.md +9 -0
- open_data_sci-0.3.0/opendatasci/resources/skill_domains/kaggle.com/manifest.md +21 -0
- open_data_sci-0.3.0/opendatasci/resources/skill_domains/paperswithcode.com/manifest.md +9 -0
- open_data_sci-0.3.0/opendatasci/resources/skills/arxiv.org/credibility.md +9 -0
- open_data_sci-0.3.0/opendatasci/resources/skills/arxiv.org/reading_papers.md +9 -0
- open_data_sci-0.3.0/opendatasci/resources/skills/arxiv.org/searching.md +9 -0
- open_data_sci-0.3.0/opendatasci/resources/skills/finance.yahoo.com/yfinance_basics.md +13 -0
- open_data_sci-0.3.0/opendatasci/resources/skills/github.com/code_and_repo_search.md +11 -0
- open_data_sci-0.3.0/opendatasci/resources/skills/github.com/issues_and_prs.md +12 -0
- open_data_sci-0.3.0/opendatasci/resources/skills/github.com/repository_reconnaissance.md +12 -0
- open_data_sci-0.3.0/opendatasci/resources/skills/huggingface.co/leaderboards.md +17 -0
- open_data_sci-0.3.0/opendatasci/resources/skills/kaggle.com/competitions.md +11 -0
- open_data_sci-0.3.0/opendatasci/resources/skills/kaggle.com/datasets.md +10 -0
- open_data_sci-0.3.0/opendatasci/resources/skills/kaggle.com/prior_editions_research.md +9 -0
- open_data_sci-0.3.0/opendatasci/resources/skills/paperswithcode.com/sota_leaderboards.md +11 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/sandbox/_runner.py +50 -36
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/sandbox/base.py +39 -10
- open_data_sci-0.3.0/opendatasci/sandbox/srt.py +706 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/skills/base.py +4 -5
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/skills/local.py +12 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/streaming/__init__.py +4 -2
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/streaming/events.py +38 -34
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/streaming/processors.py +55 -30
- open_data_sci-0.3.0/opendatasci/tasks/__init__.py +13 -0
- open_data_sci-0.3.0/opendatasci/tasks/base.py +257 -0
- open_data_sci-0.3.0/opendatasci/tasks/local.py +256 -0
- open_data_sci-0.3.0/opendatasci/tools/base.py +48 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/tools/coding.py +165 -23
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/tools/dataset_info.py +25 -25
- open_data_sci-0.3.0/opendatasci/tools/factory.py +217 -0
- open_data_sci-0.3.0/opendatasci/tools/mcp.py +322 -0
- open_data_sci-0.3.0/opendatasci/tools/media.py +116 -0
- open_data_sci-0.3.0/opendatasci/tools/modes.py +298 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/tools/skills.py +18 -16
- open_data_sci-0.3.0/opendatasci/tools/tasks.py +509 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/tools/user_interaction.py +8 -1
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/tools/web.py +23 -108
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/tools/workspace.py +3 -3
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/pyproject.toml +23 -5
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/component/conftest.py +9 -9
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/component/test_agent_integrations.py +110 -65
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/component/test_cli_controller.py +103 -66
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/component/test_lifecycle.py +1 -5
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/component/test_model_factories.py +5 -5
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/component/test_real_streaming.py +5 -4
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/component/test_sandbox_runner.py +30 -51
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/component/test_service.py +26 -11
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/component/test_streaming.py +16 -4
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/component/test_tui_app.py +154 -97
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/component/test_tui_widgets.py +67 -52
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/_tui/conftest.py +22 -6
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/_tui/test_app.py +75 -69
- open_data_sci-0.3.0/tests/unit/_tui/test_commands.py +112 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/_tui/test_completion.py +24 -18
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/_tui/test_controller.py +624 -217
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/_tui/test_file_refs.py +4 -7
- open_data_sci-0.3.0/tests/unit/_tui/test_graphics_utils.py +84 -0
- open_data_sci-0.3.0/tests/unit/_tui/test_image_render.py +50 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/_tui/test_message_queue.py +6 -9
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/_tui/test_presenter.py +105 -94
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/_tui/test_service.py +10 -9
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/_tui/test_session.py +1 -2
- open_data_sci-0.3.0/tests/unit/_tui/test_theme.py +85 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/_tui/test_tools_display.py +16 -66
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/_tui/test_widgets.py +433 -119
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/_utils/test_async_utils.py +0 -1
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/_utils/test_data_formats.py +0 -1
- open_data_sci-0.3.0/tests/unit/_utils/test_fs_utils.py +178 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/_utils/test_hash_utils.py +0 -1
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/_utils/test_message_utils.py +55 -37
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/agents/test_agents.py +413 -118
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/agents/test_agents_factory.py +8 -4
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/agents/test_graphs.py +30 -1
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/agents/test_nodes.py +180 -31
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/agents/test_states.py +10 -7
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/conftest.py +0 -1
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/context/test_local_context_store.py +45 -18
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/context/test_local_work_context.py +13 -17
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/human_inputs/test_human_approval.py +12 -24
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/memory/test_chat_memory.py +188 -54
- open_data_sci-0.2.1/tests/unit/agents/test_chat_messages.py → open_data_sci-0.3.0/tests/unit/memory/test_messages.py +59 -41
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/memory/test_turn_memory.py +65 -20
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/models/test_anthropic.py +2 -3
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/models/test_aws.py +6 -3
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/models/test_google.py +3 -4
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/models/test_local.py +23 -10
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/models/test_microsoft.py +4 -3
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/models/test_openai.py +2 -3
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/prompts/test_builders.py +5 -4
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/prompts/test_caching.py +0 -1
- open_data_sci-0.3.0/tests/unit/sandbox/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/sandbox/test_cli_validation.py +0 -1
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/sandbox/test_exec_result.py +0 -4
- open_data_sci-0.3.0/tests/unit/sandbox/test_runner.py +116 -0
- open_data_sci-0.3.0/tests/unit/sandbox/test_srt.py +380 -0
- open_data_sci-0.3.0/tests/unit/session/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/session/test_session_manager.py +1 -3
- open_data_sci-0.3.0/tests/unit/skills/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/skills/test_local.py +43 -2
- open_data_sci-0.3.0/tests/unit/streaming/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/streaming/test_processors.py +156 -88
- open_data_sci-0.3.0/tests/unit/tasks/__init__.py +0 -0
- open_data_sci-0.3.0/tests/unit/tasks/test_base.py +89 -0
- open_data_sci-0.3.0/tests/unit/tasks/test_local.py +838 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/test_configs.py +19 -8
- open_data_sci-0.3.0/tests/unit/tools/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/tools/test_coding.py +153 -11
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/tools/test_dataset_info.py +24 -9
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/tools/test_factory.py +237 -54
- open_data_sci-0.3.0/tests/unit/tools/test_mcp.py +357 -0
- open_data_sci-0.3.0/tests/unit/tools/test_media.py +237 -0
- open_data_sci-0.3.0/tests/unit/tools/test_modes.py +348 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/tools/test_skills.py +75 -38
- open_data_sci-0.3.0/tests/unit/tools/test_tasks.py +860 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/tools/test_user_interaction.py +22 -4
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/tools/test_web.py +8 -97
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/tools/test_workspace.py +47 -29
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/uv.lock +735 -11
- open_data_sci-0.2.1/README.md +0 -432
- open_data_sci-0.2.1/docs/api/index.md +0 -43
- open_data_sci-0.2.1/docs/api/open_data_sci.md +0 -39
- open_data_sci-0.2.1/docs/api/session_manager.md +0 -40
- open_data_sci-0.2.1/docs/getting-started.md +0 -336
- open_data_sci-0.2.1/opendatasci/_tui/adapter.py +0 -111
- open_data_sci-0.2.1/opendatasci/_tui/commands.py +0 -102
- open_data_sci-0.2.1/opendatasci/_tui/controller.py +0 -758
- open_data_sci-0.2.1/opendatasci/_tui/message_queue.py +0 -49
- open_data_sci-0.2.1/opendatasci/_utils/casing_utils.py +0 -8
- open_data_sci-0.2.1/opendatasci/sandbox/srt.py +0 -494
- open_data_sci-0.2.1/opendatasci/tools/__init__.py +0 -4
- open_data_sci-0.2.1/opendatasci/tools/base.py +0 -85
- open_data_sci-0.2.1/opendatasci/tools/critic.py +0 -172
- open_data_sci-0.2.1/opendatasci/tools/factory.py +0 -146
- open_data_sci-0.2.1/opendatasci/tools/mcp.py +0 -179
- open_data_sci-0.2.1/opendatasci/tools/planning.py +0 -121
- open_data_sci-0.2.1/opendatasci/tools/workers.py +0 -244
- open_data_sci-0.2.1/tests/unit/_tui/test_commands.py +0 -235
- open_data_sci-0.2.1/tests/unit/sandbox/test_runner.py +0 -139
- open_data_sci-0.2.1/tests/unit/sandbox/test_srt.py +0 -97
- open_data_sci-0.2.1/tests/unit/tools/test_critic.py +0 -141
- open_data_sci-0.2.1/tests/unit/tools/test_mcp.py +0 -453
- open_data_sci-0.2.1/tests/unit/tools/test_planning.py +0 -141
- open_data_sci-0.2.1/tests/unit/tools/test_workers.py +0 -332
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/.gitignore +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/LICENSE +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/Makefile +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/dev/scripts/test_pypi_publish.sh +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/docs/api/workbench.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/docs/requirements.txt +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/_tui/__init__.py +0 -0
- {open_data_sci-0.2.1/opendatasci/_utils → open_data_sci-0.3.0/opendatasci/_tui/chat}/__init__.py +0 -0
- {open_data_sci-0.2.1/opendatasci/_tui → open_data_sci-0.3.0/opendatasci/_tui/chat}/models.py +0 -0
- {open_data_sci-0.2.1/opendatasci/memory → open_data_sci-0.3.0/opendatasci/_tui/config}/__init__.py +0 -0
- {open_data_sci-0.2.1/tests → open_data_sci-0.3.0/opendatasci/_tui/screens}/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/_tui/session.py +0 -0
- {open_data_sci-0.2.1/tests/component → open_data_sci-0.3.0/opendatasci/_tui/style}/__init__.py +0 -0
- {open_data_sci-0.2.1/tests/unit → open_data_sci-0.3.0/opendatasci/_utils}/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/_utils/async_utils.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/_utils/data_formats.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/_utils/datetime_utils.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/_utils/graph_utils.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/_utils/hash_utils.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/_utils/mixins.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/_utils/streaming_utils.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/agents/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/agents/states.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/context/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/context/base.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/context/local.py +0 -0
- {open_data_sci-0.2.1/tests/unit/_tui → open_data_sci-0.3.0/opendatasci/memory}/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/models/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/models/providers.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/prompts/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/prompts/builders.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/prompts/caching.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skill_domains/competitive_data_science/manifest.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skill_domains/data_science/manifest.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skill_domains/data_science_education/manifest.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skill_domains/deep_learning/manifest.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skill_domains/machine_learning/manifest.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skill_domains/quantitative_analysis/manifest.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/competitive_data_science/baseline.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/competitive_data_science/eda.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/competitive_data_science/ensembling.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/competitive_data_science/feature_engineering.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/competitive_data_science/final_submission.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/competitive_data_science/hyperparameter_tuning.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/competitive_data_science/model_development.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/competitive_data_science/phase_wiring.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/competitive_data_science/reconnaissance.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/competitive_data_science/validation.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/data_science/causality_confounding.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/data_science/communicating_findings.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/data_science/data_quality_preparation.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/data_science/exploratory_analysis.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/data_science/framing_the_problem.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/data_science/granularity_aggregation.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/data_science/modeling_evaluation.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/data_science/statistical_testing.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/data_science_education/building_intuition.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/data_science_education/calibrating_depth.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/data_science_education/connecting_concepts.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/data_science_education/diagnosing_understanding.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/data_science_education/feedback_correction.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/data_science_education/structuring_explanations.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/data_science_education/worked_examples_code.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/deep_learning/architecture_selection.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/deep_learning/evaluation.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/deep_learning/flax_nnx.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/deep_learning/hyperparameter_tuning.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/deep_learning/jax_fundamentals.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/deep_learning/library_stack.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/deep_learning/optax.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/deep_learning/regularisation_overfitting.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/deep_learning/sklearn_mlp.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/deep_learning/training_loop.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/deep_learning/when_to_use.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/machine_learning/class_imbalance.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/machine_learning/evaluation_diagnostics.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/machine_learning/feature_engineering_selection.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/machine_learning/hyperparameter_tuning.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/machine_learning/interpretability.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/machine_learning/model_selection_complexity.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/machine_learning/overfitting_regularisation.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/machine_learning/problem_framing.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/machine_learning/splitting_strategy.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/quantitative_analysis/backtesting_empirical_validation.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/quantitative_analysis/communicating_results.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/quantitative_analysis/mathematical_statistical_foundations.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/quantitative_analysis/optimisation.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/quantitative_analysis/problem_formulation.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/quantitative_analysis/risk_uncertainty_quantification.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/resources/skills/quantitative_analysis/time_series_signal_analysis.md +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/sandbox/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/session/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/session/session_manager.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/session/threads.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/skills/__init__.py +0 -0
- {open_data_sci-0.2.1/tests/unit/_utils → open_data_sci-0.3.0/opendatasci/tools}/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/workspace/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/workspace/base.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/opendatasci/workspace/local.py +0 -0
- {open_data_sci-0.2.1/tests/unit/agents → open_data_sci-0.3.0/tests}/__init__.py +0 -0
- {open_data_sci-0.2.1/tests/unit/context → open_data_sci-0.3.0/tests/component}/__init__.py +0 -0
- {open_data_sci-0.2.1/tests/unit/human_inputs → open_data_sci-0.3.0/tests/unit}/__init__.py +0 -0
- {open_data_sci-0.2.1/tests/unit/memory → open_data_sci-0.3.0/tests/unit/_tui}/__init__.py +0 -0
- {open_data_sci-0.2.1/tests/unit/models → open_data_sci-0.3.0/tests/unit/_utils}/__init__.py +0 -0
- {open_data_sci-0.2.1 → open_data_sci-0.3.0}/tests/unit/_utils/test_graph_utils.py +0 -0
- {open_data_sci-0.2.1/tests/unit/prompts → open_data_sci-0.3.0/tests/unit/agents}/__init__.py +0 -0
- {open_data_sci-0.2.1/tests/unit/sandbox → open_data_sci-0.3.0/tests/unit/context}/__init__.py +0 -0
- {open_data_sci-0.2.1/tests/unit/session → open_data_sci-0.3.0/tests/unit/human_inputs}/__init__.py +0 -0
- {open_data_sci-0.2.1/tests/unit/skills → open_data_sci-0.3.0/tests/unit/memory}/__init__.py +0 -0
- {open_data_sci-0.2.1/tests/unit/streaming → open_data_sci-0.3.0/tests/unit/models}/__init__.py +0 -0
- {open_data_sci-0.2.1/tests/unit/tools → open_data_sci-0.3.0/tests/unit/prompts}/__init__.py +0 -0
|
@@ -79,17 +79,14 @@ LLM_SERVER_BASE_URL=
|
|
|
79
79
|
# OPENAI_API_KEY=
|
|
80
80
|
|
|
81
81
|
# ── Sampling ───────────────────────────────────────────
|
|
82
|
-
|
|
82
|
+
PRIMARY_TEMPERATURE=
|
|
83
83
|
|
|
84
84
|
# ── Agent customization ────────────────────────────────
|
|
85
85
|
NAME=
|
|
86
86
|
MCP_SERVERS=
|
|
87
87
|
|
|
88
|
-
# ── Web access ─────────────────────────────────────────
|
|
89
|
-
EXTRA_FETCH_DOMAINS=
|
|
90
|
-
|
|
91
88
|
# ── Context management ─────────────────────────────────
|
|
92
|
-
|
|
89
|
+
AUTOCOMPACTION_THRESHOLD=
|
|
93
90
|
|
|
94
91
|
# ── Skills ─────────────────────────────────────────────
|
|
95
92
|
# Path to a directory of user-defined skill files (.yaml, .yml, .json, .md).
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: open-data-sci
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: AI agent for data science and machine learning
|
|
5
5
|
Project-URL: Homepage, https://github.com/f4roukb/open-data-sci
|
|
6
6
|
Project-URL: Repository, https://github.com/f4roukb/open-data-sci
|
|
7
|
-
Project-URL: Documentation, https://
|
|
7
|
+
Project-URL: Documentation, https://opendatasci.readthedocs.io/en/latest/
|
|
8
8
|
Project-URL: Bug Tracker, https://github.com/f4roukb/open-data-sci/issues
|
|
9
9
|
Author-email: Farouk Boukil <b4farouk@gmail.com>
|
|
10
10
|
License: Apache License
|
|
@@ -220,6 +220,7 @@ Requires-Dist: catboost<2.0.0,>=1.2.0
|
|
|
220
220
|
Requires-Dist: category-encoders<3.0.0,>=2.6.0
|
|
221
221
|
Requires-Dist: duckdb<2.0.0,>=1.0.0
|
|
222
222
|
Requires-Dist: duckduckgo-search<9.0.0,>=8.0.0
|
|
223
|
+
Requires-Dist: httpx2<3.0.0,>=2.5.0
|
|
223
224
|
Requires-Dist: httpx<1.0.0,>=0.27.0
|
|
224
225
|
Requires-Dist: imbalanced-learn<1.0.0,>=0.12.0
|
|
225
226
|
Requires-Dist: langchain-anthropic<2.0.0,>=1.0.0
|
|
@@ -229,10 +230,12 @@ Requires-Dist: langgraph<2.0.0,>=1.0.0
|
|
|
229
230
|
Requires-Dist: lightgbm<5.0.0,>=4.0.0
|
|
230
231
|
Requires-Dist: lxml<7.0.0,>=6.1.0
|
|
231
232
|
Requires-Dist: matplotlib<4.0.0,>=3.7.0
|
|
233
|
+
Requires-Dist: mcp<3.0.0,>=2.0.0
|
|
232
234
|
Requires-Dist: networkx<4.0.0,>=3.0.0
|
|
233
235
|
Requires-Dist: numpy<2.5.0,>=2.0.0
|
|
234
236
|
Requires-Dist: optuna<5.0.0,>=4.0.0
|
|
235
237
|
Requires-Dist: pandas[excel,feather,parquet]<4.0.0,>=3.0.0
|
|
238
|
+
Requires-Dist: pillow<13.0.0,>=11.0.0
|
|
236
239
|
Requires-Dist: plotly<7.0.0,>=6.0.0
|
|
237
240
|
Requires-Dist: polars[calamine]<2.0.0,>=1.0.0
|
|
238
241
|
Requires-Dist: prophet<2.0.0,>=1.1.0
|
|
@@ -248,15 +251,23 @@ Requires-Dist: scipy<2.0.0,>=1.14.0
|
|
|
248
251
|
Requires-Dist: seaborn<1.0.0,>=0.12.0
|
|
249
252
|
Requires-Dist: shap<1.0.0,>=0.46.0
|
|
250
253
|
Requires-Dist: statsmodels<1.0.0,>=0.14.0
|
|
254
|
+
Requires-Dist: textual-image<1.0.0,>=0.13.0
|
|
251
255
|
Requires-Dist: textual<9.0.0,>=8.0.0
|
|
252
256
|
Requires-Dist: umap-learn<1.0.0,>=0.5.0
|
|
253
257
|
Requires-Dist: xgboost<4.0.0,>=3.0.0
|
|
254
258
|
Requires-Dist: xxhash<4.0.0,>=3.5.0
|
|
255
259
|
Provides-Extra: aws
|
|
256
260
|
Requires-Dist: boto3<2.0.0,>=1.34.0; extra == 'aws'
|
|
257
|
-
Requires-Dist: langchain-aws<2.0.0,>=1.
|
|
261
|
+
Requires-Dist: langchain-aws<2.0.0,>=1.4.0; extra == 'aws'
|
|
258
262
|
Provides-Extra: azure
|
|
259
263
|
Requires-Dist: azure-identity<2.0.0,>=1.15.0; extra == 'azure'
|
|
264
|
+
Provides-Extra: deep-learning
|
|
265
|
+
Requires-Dist: flax<1.0.0,>=0.8.0; extra == 'deep-learning'
|
|
266
|
+
Requires-Dist: jax<1.0.0,>=0.4.0; extra == 'deep-learning'
|
|
267
|
+
Requires-Dist: optax<1.0.0,>=0.2.0; extra == 'deep-learning'
|
|
268
|
+
Requires-Dist: sentence-transformers<4.0.0,>=3.0.0; extra == 'deep-learning'
|
|
269
|
+
Requires-Dist: torch<3.0.0,>=2.0.0; extra == 'deep-learning'
|
|
270
|
+
Requires-Dist: transformers<5.0.0,>=4.0.0; extra == 'deep-learning'
|
|
260
271
|
Provides-Extra: dev
|
|
261
272
|
Requires-Dist: kaggle<3.0.0,>=2.0.0; extra == 'dev'
|
|
262
273
|
Requires-Dist: mypy<3.0.0,>=2.0.0; extra == 'dev'
|
|
@@ -268,39 +279,51 @@ Requires-Dist: pytest-xdist<4.0.0,>=3.0.0; extra == 'dev'
|
|
|
268
279
|
Requires-Dist: pytest<10.0.0,>=9.0.0; extra == 'dev'
|
|
269
280
|
Requires-Dist: ruff<1.0.0,>=0.8.0; extra == 'dev'
|
|
270
281
|
Requires-Dist: types-openpyxl<4.0.0,>=3.1.0; extra == 'dev'
|
|
282
|
+
Requires-Dist: types-pyyaml<7.0.0,>=6.0.0; extra == 'dev'
|
|
271
283
|
Requires-Dist: vulture<3.0.0,>=2.0.0; extra == 'dev'
|
|
272
284
|
Provides-Extra: docs
|
|
273
285
|
Requires-Dist: mkdocs-material<10.0.0,>=9.5.0; extra == 'docs'
|
|
274
286
|
Requires-Dist: mkdocs<2.0.0,>=1.6.0; extra == 'docs'
|
|
275
287
|
Requires-Dist: mkdocstrings[python]<2.0.0,>=1.0.0; extra == 'docs'
|
|
288
|
+
Provides-Extra: finance
|
|
289
|
+
Requires-Dist: yfinance<1.0.0,>=0.2.0; extra == 'finance'
|
|
276
290
|
Provides-Extra: gcp
|
|
277
291
|
Requires-Dist: langchain-google-vertexai<4.0.0,>=3.0.0; extra == 'gcp'
|
|
278
292
|
Provides-Extra: gemini
|
|
279
293
|
Requires-Dist: langchain-google-genai<5.0.0,>=4.0.0; extra == 'gemini'
|
|
280
|
-
Provides-Extra: jax
|
|
281
|
-
Requires-Dist: flax<1.0.0,>=0.8.0; extra == 'jax'
|
|
282
|
-
Requires-Dist: jax[cpu]<1.0.0,>=0.4.0; extra == 'jax'
|
|
283
|
-
Requires-Dist: optax<1.0.0,>=0.2.0; extra == 'jax'
|
|
284
294
|
Provides-Extra: ollama
|
|
285
295
|
Requires-Dist: langchain-ollama<2.0.0,>=1.0.0; extra == 'ollama'
|
|
286
296
|
Description-Content-Type: text/markdown
|
|
287
297
|
|
|
288
298
|
# OpenDataSci
|
|
289
299
|
|
|
290
|
-
|
|
300
|
+
[](https://pypi.org/project/open-data-sci/)
|
|
301
|
+
[](https://pypi.org/project/open-data-sci/)
|
|
302
|
+
[](https://pypi.org/project/open-data-sci/)
|
|
303
|
+
|
|
304
|
+
A production-grade AI agent for data science and machine learning — run it as an interactive terminal app, or embed it as an async Python SDK in your own service.
|
|
305
|
+
|
|
306
|
+
- **Every major LLM provider** — Anthropic, OpenAI, AWS Bedrock, Google Gemini/Vertex AI, Azure OpenAI, Ollama, or any OpenAI-compatible server ([details](#models))
|
|
307
|
+
- **Sandboxed code execution** — the agent writes and runs real Python and CLI code against your data, isolated from the host
|
|
308
|
+
- **Zero-config first run** — point it at a file or directory and an interactive wizard handles the rest; every setting is also scriptable through YAML, environment variables, or the Python SDK
|
|
309
|
+
- **Extensible** — connect [MCP servers](#mcp-servers) for extra tools, or add [custom skills](#custom-skills) to specialise the agent for a domain
|
|
310
|
+
- **Cloud-portable architecture** — every stateful dependency (workspace, sandbox, memory, sessions, background tasks) sits behind an abstract interface, so a multi-tenant deployment is a matter of swapping implementations rather than rewriting the agent ([details](#cloud-portability))
|
|
311
|
+
|
|
312
|
+
Full documentation, including the complete Python API reference: https://opendatasci.readthedocs.io/en/latest/
|
|
291
313
|
|
|
292
314
|
## Contents
|
|
293
315
|
|
|
294
316
|
- [Installation](#installation)
|
|
295
317
|
- [Quick Start](#quick-start)
|
|
318
|
+
- [First Launch: The Setup Wizard](#first-launch-the-setup-wizard)
|
|
296
319
|
- [TUI Reference](#tui-reference)
|
|
297
320
|
- [Slash Commands](#slash-commands)
|
|
321
|
+
- [The `/config` Panel](#the-config-panel)
|
|
298
322
|
- [File Attachments](#file-attachments)
|
|
299
|
-
- [Key Bindings](#key-bindings)
|
|
300
|
-
- [Themes](#themes)
|
|
301
323
|
- [Python SDK](#python-sdk)
|
|
324
|
+
- [Cloud Portability](#cloud-portability)
|
|
302
325
|
- [Models](#models)
|
|
303
|
-
- [
|
|
326
|
+
- [MCP Servers](#mcp-servers)
|
|
304
327
|
- [Custom Skills](#custom-skills)
|
|
305
328
|
- [Environment Variables](#environment-variables)
|
|
306
329
|
|
|
@@ -316,25 +339,11 @@ pip install open-data-sci
|
|
|
316
339
|
- Python: 3.12
|
|
317
340
|
- Platform: macOS or Linux (Windows is not supported)
|
|
318
341
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
The sandbox that runs model-generated code shells out to native binaries that `pip` cannot install. Install them with your OS package manager before using the agent:
|
|
322
|
-
|
|
323
|
-
```bash
|
|
324
|
-
# macOS
|
|
325
|
-
brew install ripgrep
|
|
326
|
-
|
|
327
|
-
# Linux (Debian/Ubuntu)
|
|
328
|
-
sudo apt-get install -y bubblewrap socat ripgrep
|
|
329
|
-
|
|
330
|
-
# Linux (Fedora)
|
|
331
|
-
sudo dnf install -y bubblewrap socat ripgrep
|
|
342
|
+
**You don't need to configure anything before running the TUI.** `opendatasci` alone launches an interactive setup wizard the first time it runs — see [First Launch](#first-launch-the-setup-wizard). The steps below matter if you want everything ready ahead of time (scripted installs, containers, CI), or if you're embedding OpenDataSci as a library rather than running the TUI.
|
|
332
343
|
|
|
333
|
-
|
|
334
|
-
sudo pacman -S --noconfirm bubblewrap socat ripgrep
|
|
335
|
-
```
|
|
344
|
+
### System dependencies
|
|
336
345
|
|
|
337
|
-
|
|
346
|
+
The sandbox that runs model-generated code shells out to native binaries that `pip` cannot install: `ripgrep` everywhere, plus `bubblewrap` and `socat` on Linux. **The TUI detects a missing dependency on first launch and offers to install it for you** — you only need to install them by hand if you're setting things up ahead of time (scripted installs, containers, CI) or skip that step in the wizard. See the documentation for the exact command per platform, including the optional GitHub CLI (`gh`) install needed for the built-in **`github.com`** skill.
|
|
338
347
|
|
|
339
348
|
### Provider extras
|
|
340
349
|
|
|
@@ -348,50 +357,53 @@ pip install "open-data-sci[azure]" # Azure OpenAI
|
|
|
348
357
|
pip install "open-data-sci[ollama]" # Ollama (local models)
|
|
349
358
|
```
|
|
350
359
|
|
|
360
|
+
Anthropic, OpenAI, and any OpenAI-compatible server (e.g. vLLM) work with no extra.
|
|
361
|
+
|
|
351
362
|
### Capability extras
|
|
352
363
|
|
|
353
364
|
```bash
|
|
354
|
-
pip install "open-data-sci[
|
|
365
|
+
pip install "open-data-sci[deep-learning]" # Deep learning on the host — PyTorch, JAX, Transformers, Sentence-Transformers
|
|
366
|
+
pip install "open-data-sci[finance]" # Finance data — yfinance
|
|
355
367
|
```
|
|
356
368
|
|
|
357
|
-
The `[
|
|
369
|
+
The `[deep-learning]` extra — deep learning directly on the host, for machines with a GPU or NPU — is required to use the **Deep Learning** skill; without it, the agent's sandboxed Python environment has no training framework available. The `[finance]` extra is required to use the **`finance.yahoo.com`** skill.
|
|
370
|
+
|
|
371
|
+
> **GPU access inside the sandbox is opt-in, and it's a real host-kernel exposure.** Installing a `[deep-learning]` package makes the sandbox bind-mount the host's accelerator device nodes so those frameworks can actually use the hardware — a materially different risk than the sandbox's filesystem/network isolation, since it hands sandboxed code direct access to the host kernel's GPU driver. A warning is logged whenever this activates; uninstall the `[deep-learning]` packages to disable it entirely. See the documentation for the full breakdown (device nodes, per-platform coverage, and the underlying risk).
|
|
358
372
|
|
|
359
373
|
Multiple extras can be combined:
|
|
360
374
|
|
|
361
375
|
```bash
|
|
362
|
-
pip install "open-data-sci[aws,gemini,
|
|
376
|
+
pip install "open-data-sci[aws,gemini,deep-learning,finance]"
|
|
363
377
|
```
|
|
364
378
|
|
|
365
379
|
---
|
|
366
380
|
|
|
367
381
|
## Quick Start
|
|
368
382
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
Set your API key and point OpenDataSci at your data:
|
|
383
|
+
Point OpenDataSci at your data — nothing else required:
|
|
372
384
|
|
|
373
385
|
```bash
|
|
374
|
-
export ANTHROPIC_API_KEY=sk-ant-...
|
|
375
386
|
opendatasci data.csv
|
|
376
387
|
```
|
|
377
388
|
|
|
378
|
-
|
|
389
|
+
On a first run, a wizard walks you through picking a provider/model and entering whatever secret it needs (e.g. an API key) — see [First Launch](#first-launch-the-setup-wizard). Everything you enter is remembered for next time, so this only happens once per machine, not once per project.
|
|
390
|
+
|
|
391
|
+
If you already have an API key set (as an environment variable or in a `.env` file in the working directory), the wizard skips straight past that field:
|
|
379
392
|
|
|
380
393
|
```bash
|
|
381
394
|
# .env
|
|
382
395
|
ANTHROPIC_API_KEY=sk-ant-...
|
|
383
396
|
```
|
|
384
397
|
|
|
385
|
-
To use a different provider, pass `--provider`:
|
|
386
|
-
|
|
387
398
|
```bash
|
|
388
|
-
opendatasci data.csv
|
|
389
|
-
opendatasci data.csv --provider ollama --model qwen3.5:9b # local, no key needed
|
|
399
|
+
opendatasci data.csv
|
|
390
400
|
```
|
|
391
401
|
|
|
402
|
+
Everything — provider, model, secondary model, theme — can also be changed after launch without restarting, from the `/config` panel (alias `/settings`; see [Slash Commands](#slash-commands)).
|
|
403
|
+
|
|
392
404
|
### Setup with a config file
|
|
393
405
|
|
|
394
|
-
For a reusable configuration across projects, create a YAML file and pass it with `--config`.
|
|
406
|
+
For a reusable configuration across projects, create a YAML file and pass it with `--config`. Whatever the file sets is used as-is; anything it leaves out (including provider/model selection, which then falls back to the wizard) is still picked up interactively.
|
|
395
407
|
|
|
396
408
|
```yaml
|
|
397
409
|
# datasci.yaml
|
|
@@ -399,28 +411,49 @@ provider: anthropic
|
|
|
399
411
|
model: claude-sonnet-5
|
|
400
412
|
secondary_provider: openai
|
|
401
413
|
secondary_model: gpt-5.6-luna
|
|
402
|
-
|
|
414
|
+
primary_temperature: 0.1
|
|
403
415
|
```
|
|
404
416
|
|
|
405
417
|
```bash
|
|
406
418
|
opendatasci data.csv --config datasci.yaml
|
|
407
419
|
```
|
|
408
420
|
|
|
409
|
-
|
|
421
|
+
An annotated config file ships for every supported provider.
|
|
410
422
|
|
|
411
|
-
### Python SDK
|
|
423
|
+
### Quick start with the Python SDK
|
|
412
424
|
|
|
413
425
|
```python
|
|
414
|
-
from opendatasci import create_agent
|
|
426
|
+
from opendatasci import create_agent, Invocation
|
|
415
427
|
|
|
416
428
|
async with create_agent("data.csv") as agent:
|
|
417
|
-
|
|
429
|
+
invocation = Invocation.from_text("Summarise this dataset and train a model on the target column.")
|
|
430
|
+
async for event in agent.astream(invocation):
|
|
418
431
|
print(event)
|
|
419
432
|
```
|
|
420
433
|
|
|
421
|
-
|
|
434
|
+
There's no wizard here — the SDK is not the TUI, so provide `config=OpenDataSciConfig(...)` (or set env vars) up front. See [Python SDK](#python-sdk) below for more, including custom providers.
|
|
422
435
|
|
|
423
|
-
|
|
436
|
+
---
|
|
437
|
+
|
|
438
|
+
## First Launch: The Setup Wizard
|
|
439
|
+
|
|
440
|
+
The very first time you run `opendatasci` (or any time it detects nothing was resolved from `--config`/env), it runs you through up to three steps before handing control to the chat. Every step is skipped automatically once it's already satisfied, so a second launch on the same machine is typically instant.
|
|
441
|
+
|
|
442
|
+
### 1. System dependencies check
|
|
443
|
+
|
|
444
|
+
If a required sandbox binary (`ripgrep`, and on Linux `bubblewrap`/`socat`) isn't installed, a one-time screen explains what's missing and offers to install it for you with your OS package manager (you may be prompted for your password). Decline, and it shows the exact command to run yourself, then lets you continue anyway — the sandbox is only needed once the agent actually executes code, so this step never blocks you from reaching the chat.
|
|
445
|
+
|
|
446
|
+
**Setting this up manually ahead of time (see [System dependencies](#system-dependencies)) makes the wizard skip this step entirely** — useful for scripted installs, Docker images, or CI, where there's no one at the keyboard to answer the prompt.
|
|
447
|
+
|
|
448
|
+
### 2. Provider & model selection
|
|
449
|
+
|
|
450
|
+
A short, linear flow (theme, then whichever of primary/secondary provider and model aren't already set) — one choice per screen, arrow keys to pick, no back button. Set any of these non-interactively with `--config` (see [Setup with a config file](#setup-with-a-config-file)); the wizard only asks about whatever the file leaves unresolved.
|
|
451
|
+
|
|
452
|
+
### 3. Provider secrets
|
|
453
|
+
|
|
454
|
+
Whatever the chosen provider still needs — an API key, an Azure endpoint, a GCP project ID — is collected one field at a time. Each value is saved as you enter it (to `~/.opendatasci/secrets/api.yaml`), so quitting partway through doesn't lose what you've already typed, and it won't be asked again on a later launch. Environment variables and `.env` always take precedence over this saved file, so a value you export or add to `.env` later overrides whatever the wizard remembered.
|
|
455
|
+
|
|
456
|
+
Everything the wizard sets can be changed afterwards, live, from the `/config` panel — see [The `/config` panel](#the-config-panel).
|
|
424
457
|
|
|
425
458
|
---
|
|
426
459
|
|
|
@@ -434,42 +467,28 @@ opendatasci PATH [OPTIONS]
|
|
|
434
467
|
|
|
435
468
|
| Argument | Description |
|
|
436
469
|
|----------|-------------|
|
|
437
|
-
| `PATH` | Data file or directory to load into the workspace |
|
|
470
|
+
| `PATH` | Data file or directory to load into the workspace. Defaults to the current directory when omitted |
|
|
438
471
|
|
|
439
472
|
### Options
|
|
440
473
|
|
|
441
|
-
| Flag |
|
|
442
|
-
|
|
443
|
-
| `--
|
|
444
|
-
| `--
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
| `--api-key` | *(env var)* | API key for the primary provider. Falls back to the standard env var for the selected provider |
|
|
448
|
-
| `--theme` | `default` | Colour palette. Choices: `default`, `accessible`, `light`, `solarized`, `dracula`. Run `/themes` inside the TUI for descriptions |
|
|
449
|
-
| `--config` | *(none)* | Path to a YAML file containing `OpenDataSciConfig` fields; explicit TUI flags take precedence |
|
|
450
|
-
| `--list-providers` | | Print all supported providers and their default models, then exit |
|
|
451
|
-
| `--version` | | Print the installed version, then exit |
|
|
474
|
+
| Flag | Description |
|
|
475
|
+
|------|-------------|
|
|
476
|
+
| `--config FILE` | Path to a YAML file containing `OpenDataSciConfig` fields. Fields it sets are used as-is; anything it doesn't set (including theme, which it never sets) is picked interactively on startup |
|
|
477
|
+
| `--version` | Print the installed version, then exit |
|
|
478
|
+
|
|
479
|
+
Provider, model, secondary provider/model, theme, and API keys are set through `--config`, environment variables/`.env`, or the interactive wizard/`/config` panel. If you're scripting a launch and want it to never prompt, use `--config` (and make sure any secrets it needs are in the environment).
|
|
452
480
|
|
|
453
481
|
### Examples
|
|
454
482
|
|
|
455
483
|
```bash
|
|
456
|
-
# Minimal — analyse a single file
|
|
484
|
+
# Minimal — analyse a single file, wizard fills in whatever's missing
|
|
457
485
|
opendatasci data.xlsx
|
|
458
486
|
|
|
459
|
-
#
|
|
460
|
-
opendatasci data.csv --
|
|
461
|
-
|
|
462
|
-
# Bedrock with a region
|
|
463
|
-
REGION=us-west-2 opendatasci ./project/ --provider bedrock
|
|
464
|
-
|
|
465
|
-
# Colour-blind safe theme
|
|
466
|
-
opendatasci data.parquet --theme accessible
|
|
467
|
-
|
|
468
|
-
# Mix providers — heavy model on one, lightweight secondary on another
|
|
469
|
-
opendatasci data.csv --provider anthropic --secondary-provider openai --secondary-model gpt-5.6-luna
|
|
487
|
+
# Fully non-interactive, everything resolved from the file + env
|
|
488
|
+
opendatasci data.csv --config datasci.yaml
|
|
470
489
|
|
|
471
|
-
#
|
|
472
|
-
opendatasci --
|
|
490
|
+
# Bedrock, credentials from the environment, model/provider from the file
|
|
491
|
+
REGION=us-west-2 opendatasci ./project/ --config examples/configs/config_bedrock.yaml
|
|
473
492
|
```
|
|
474
493
|
|
|
475
494
|
---
|
|
@@ -482,129 +501,98 @@ Type `/` in the input box to trigger autocomplete. All commands are available at
|
|
|
482
501
|
|---------|-------------|
|
|
483
502
|
| `/cancel-all-messages` | Cancel all messages queued while the agent was busy |
|
|
484
503
|
| `/cancel-message` | Cancel the most recently queued message |
|
|
485
|
-
| `/clear` | Clear conversation context (
|
|
504
|
+
| `/clear` | Clear conversation context (workspace files are untouched) |
|
|
486
505
|
| `/compact` | Summarise and compress conversation history to free up context |
|
|
506
|
+
| `/config` (alias `/settings`) | Open the [configuration panel](#the-config-panel) — theme, models, providers, MCP servers, and more |
|
|
487
507
|
| `/help` | Show all available commands |
|
|
488
508
|
| `/ls-workspace` | List all files currently in the workspace |
|
|
489
|
-
| `/models` |
|
|
509
|
+
| `/models` | Jump straight into `/config`'s Models section (primary/secondary provider and model, primary temperature) |
|
|
490
510
|
| `/reset` | Reset the agent session and reload data from disk |
|
|
491
|
-
| `/stop` | Stop the currently running agent turn (future messages resume from where it left off) |
|
|
492
|
-
| `/themes` | List available colour themes with descriptions |
|
|
493
511
|
| `/exit` | Quit OpenDataSci |
|
|
494
512
|
|
|
513
|
+
Switching provider or model from `/config` rebuilds the agent in the background; if the new provider/model fails to start (e.g. a missing API key), the error is reported and your current session keeps running untouched.
|
|
514
|
+
|
|
495
515
|
Sending a message while the agent is still working doesn't reject it — it's pinned above the input box as a queued message and run automatically, in order, once the agent finishes (unless the agent is waiting on your answer to a question). Use `/cancel-message` or `/cancel-all-messages` to discard queued messages instead of waiting for them to run.
|
|
496
516
|
|
|
517
|
+
When the agent schedules work in the background (e.g. concurrent worker agents running an ensemble sweep), a **Background** line in the header shows which tasks are still running. You don't need to check back manually — as soon as a background task finishes, the agent picks it up and continues on its own.
|
|
518
|
+
|
|
497
519
|
---
|
|
498
520
|
|
|
499
|
-
##
|
|
521
|
+
## The `/config` Panel
|
|
500
522
|
|
|
501
|
-
|
|
523
|
+
Run `/config` (or `/settings` — same command, either name works) to open a navigable menu covering every setting the agent needs, organised into sections:
|
|
502
524
|
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
525
|
+
| Section | What's in it |
|
|
526
|
+
|---------|--------------|
|
|
527
|
+
| **Display** | Theme; Tips (toggle the rotating footer hints) |
|
|
528
|
+
| **Integrations** | **MCP Servers** — add, verify, or remove [MCP servers](#mcp-servers) the agent can call, either by loading candidates from an `mcp.json` file or entering one manually (name, URL, transport, headers); **Custom skills** — point at a folder of [custom skills](#custom-skills) |
|
|
529
|
+
| **Models** | Grouped under **Primary Model** (provider, model, sampling temperature) and **Secondary Model** (provider, model) — picking a new provider resets its paired model to that provider's default, and the model choices offered depend on whichever provider is currently selected |
|
|
530
|
+
| **Personalization** | Agent display name |
|
|
531
|
+
| **Subagents** | Worker timeout (max seconds a spawned worker may run) |
|
|
507
532
|
|
|
508
|
-
|
|
533
|
+
Navigate with arrow keys and Enter, back out a level with Escape. Changing a model or provider applies immediately in the background — a failed switch (bad key, unreachable server) leaves your current session running untouched and reports the error instead.
|
|
509
534
|
|
|
510
535
|
---
|
|
511
536
|
|
|
512
|
-
##
|
|
513
|
-
|
|
514
|
-
| Key | Action |
|
|
515
|
-
|-----|--------|
|
|
516
|
-
| `Ctrl+C` (×2) | Quit |
|
|
517
|
-
| `Ctrl+D` | Quit |
|
|
518
|
-
| `Ctrl+R` | Reset session |
|
|
519
|
-
| `Ctrl+L` | Clear conversation |
|
|
520
|
-
| `Escape` | Focus input box |
|
|
521
|
-
| `Tab` / `Shift+Tab` | Cycle through autocomplete suggestions |
|
|
522
|
-
| `↑` / `↓` | Navigate input history or autocomplete |
|
|
523
|
-
|
|
524
|
-
---
|
|
537
|
+
## File Attachments
|
|
525
538
|
|
|
526
|
-
|
|
539
|
+
Attach files or code snippets to any message using the `@` prefix:
|
|
527
540
|
|
|
528
|
-
|
|
541
|
+
```
|
|
542
|
+
@path/to/file.py # attach an entire file
|
|
543
|
+
```
|
|
529
544
|
|
|
530
|
-
|
|
531
|
-
|------|-------------|
|
|
532
|
-
| `default` | Dark background with muted accents (built-in default) |
|
|
533
|
-
| `accessible` | Okabe-Ito palette — colour-blind safe |
|
|
534
|
-
| `light` | Light background with dark text |
|
|
535
|
-
| `solarized` | Solarized Dark by Ethan Schoonover |
|
|
536
|
-
| `dracula` | Dracula — vivid pastels on near-black |
|
|
545
|
+
While typing, matching files are discovered relative to your current working directory. The message sent to the agent carries a reference to the resolved absolute path rather than the file's content — the agent reads the file itself using its own file-reading tool.
|
|
537
546
|
|
|
538
547
|
---
|
|
539
548
|
|
|
540
549
|
## Python SDK
|
|
541
550
|
|
|
542
|
-
The async-first Python API gives full programmatic control over the agent.
|
|
551
|
+
The async-first Python API gives full programmatic control over the agent, independent of the TUI — this is what you reach for to embed OpenDataSci in a script, a service, a desktop app, or a notebook.
|
|
543
552
|
|
|
544
553
|
### Basic usage
|
|
545
554
|
|
|
546
555
|
```python
|
|
547
|
-
from opendatasci import create_agent
|
|
556
|
+
from opendatasci import Invocation, create_agent
|
|
548
557
|
|
|
549
558
|
async with create_agent("sales.xlsx") as agent:
|
|
550
|
-
async for event in agent.astream("What is the average revenue by region?"):
|
|
559
|
+
async for event in agent.astream(Invocation.from_text("What is the average revenue by region?")):
|
|
551
560
|
print(event)
|
|
552
561
|
```
|
|
553
562
|
|
|
554
563
|
### Custom provider and model
|
|
555
564
|
|
|
556
565
|
```python
|
|
557
|
-
from opendatasci import OpenDataSciConfig, create_agent
|
|
566
|
+
from opendatasci import Invocation, OpenDataSciConfig, create_agent
|
|
558
567
|
|
|
559
568
|
config = OpenDataSciConfig(
|
|
560
569
|
provider="openai",
|
|
561
570
|
model="gpt-5.6-sol",
|
|
562
571
|
openai_api_key="sk-...",
|
|
563
|
-
|
|
572
|
+
primary_temperature=0.2,
|
|
564
573
|
)
|
|
565
574
|
|
|
566
575
|
async with create_agent("data.parquet", config=config) as agent:
|
|
567
|
-
async for event in agent.astream("Train a gradient boosting model on the target column."):
|
|
576
|
+
async for event in agent.astream(Invocation.from_text("Train a gradient boosting model on the target column.")):
|
|
568
577
|
print(event)
|
|
569
578
|
```
|
|
570
579
|
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
| `secondary_model` | Secondary model identifier — omit to use the provider default |
|
|
579
|
-
| `anthropic_api_key` | Anthropic API key (env: `ANTHROPIC_API_KEY`) |
|
|
580
|
-
| `openai_api_key` | OpenAI / OpenAI-compatible server API key (env: `OPENAI_API_KEY`) |
|
|
581
|
-
| `google_api_key` | Google Gemini API key (env: `GOOGLE_API_KEY`) |
|
|
582
|
-
| `azure_api_key` | Azure OpenAI API key (env: `AZURE_OPENAI_API_KEY`) |
|
|
583
|
-
| `aws_region` | AWS region for Bedrock (env: `REGION`) |
|
|
584
|
-
| `google_cloud_project` | GCP project ID for Vertex AI (env: `GOOGLE_CLOUD_PROJECT`) |
|
|
585
|
-
| `google_cloud_location` | Vertex AI region (env: `GOOGLE_CLOUD_LOCATION`) |
|
|
586
|
-
| `azure_endpoint` | Azure OpenAI resource endpoint URL (env: `AZURE_OPENAI_ENDPOINT`) |
|
|
587
|
-
| `azure_api_version` | Azure OpenAI API version — defaults to `2025-01-01-preview` (env: `AZURE_OPENAI_API_VERSION`) |
|
|
588
|
-
| `llm_server_base_url` | Custom API base URL — required for `ollama` and `openai_compatible_server` (env: `LLM_SERVER_BASE_URL`) |
|
|
589
|
-
| `temperature` | Sampling temperature — not sent to Claude 4.6+ / Sonnet 5 models, which use adaptive thinking (env: `TEMPERATURE`) |
|
|
590
|
-
| `name` | Display name for the agent — defaults to `"Sai"` (env: `NAME`) |
|
|
591
|
-
| `mcp_servers` | List of MCP server URLs the agent may connect to (env: `MCP_SERVERS`) |
|
|
592
|
-
| `extra_web_domains` | Additional hostnames the `fetch_url` tool may retrieve, on top of the built-in allowlist (env: `EXTRA_FETCH_DOMAINS`) |
|
|
593
|
-
| `override_web_domains` | When set, replaces the built-in domain allowlist entirely — `extra_web_domains` is still applied on top |
|
|
594
|
-
| `skills_directory` | Path to a directory of custom skill files loaded in addition to built-ins (env: `SKILLS_DIRECTORY`) |
|
|
595
|
-
| `builtin_skills_directory` | Path to the built-in skills directory — override only to replace defaults entirely (env: `BUILTIN_SKILLS_DIRECTORY`) |
|
|
596
|
-
| `worker_timeout_seconds` | Max seconds to wait for spawned workers to finish — `null` disables the timeout, default `300` (env: `WORKER_TIMEOUT_SECONDS`) |
|
|
597
|
-
| `midturn_compaction_threshold` | Token count at which context is compacted mid-turn — default `96000` (env: `MIDTURN_COMPACTION_THRESHOLD`) |
|
|
598
|
-
| `local_code_exec_timeout` | Max seconds for a single sandboxed code-execution run — default `1800` (env: `CODE_EXEC_TIMEOUT`) |
|
|
580
|
+
There's no wizard here — `OpenDataSciConfig` is a plain `pydantic-settings` model that never prompts for anything, so code built on the SDK directly is responsible for supplying whatever the chosen provider needs, same as any other library. See the documentation for the complete field-by-field reference (every field, its environment variable alias, and its default), plus patterns for headless batch processing, long-lived sessions, and multi-tenant deployment.
|
|
581
|
+
|
|
582
|
+
---
|
|
583
|
+
|
|
584
|
+
## Cloud Portability
|
|
585
|
+
|
|
586
|
+
Every stateful dependency OpenDataSci relies on — where it stores data, where it runs code, where it keeps memory — sits behind an abstract interface (workspace, sandbox, project memory, session mapping, conversation checkpoints, background tasks, skill registry, human approval), and the local backend shipped today is just one implementation of each. None of this is enabled out of the box — the shipped implementations are all local. Swap in a cloud-infrastructure-backed implementation of the same interface (e.g. an S3-compatible object store for the workspace, Firecracker microVMs for sandboxing, Valkey for session state) and the agent keeps working unchanged, which is what makes moving OpenDataSci into a multi-tenant or distributed deployment a matter of configuration and infrastructure choice, not a rewrite. See the documentation for the full list of interfaces and their recommended cloud implementations.
|
|
599
587
|
|
|
600
588
|
---
|
|
601
589
|
|
|
602
590
|
## Models
|
|
603
591
|
|
|
604
|
-
OpenDataSci supports every major LLM provider. Pass
|
|
592
|
+
OpenDataSci supports every major LLM provider. Pass `provider`/`model` in your `--config` YAML or `OpenDataSciConfig`, or pick them from the setup wizard / `/config` → Models.
|
|
605
593
|
|
|
606
|
-
| Provider |
|
|
607
|
-
|
|
594
|
+
| Provider | Value | Extra required | Default model |
|
|
595
|
+
|----------|-------|-----------------|---------------|
|
|
608
596
|
| Anthropic | `anthropic` | *(none — default)* | `claude-sonnet-5` |
|
|
609
597
|
| OpenAI | `openai` | *(none)* | `gpt-5.6-sol` |
|
|
610
598
|
| OpenAI-compatible server (e.g. vLLM) | `openai_compatible_server` | *(none)* | `Qwen/Qwen3.5-4B` |
|
|
@@ -614,37 +602,39 @@ OpenDataSci supports every major LLM provider. Pass `--provider` to the TUI or s
|
|
|
614
602
|
| Azure OpenAI | `azure` | `open-data-sci[azure]` | `gpt-5.6-sol` |
|
|
615
603
|
| Ollama | `ollama` | `open-data-sci[ollama]` | `qwen3.5:9b` |
|
|
616
604
|
|
|
617
|
-
Pass `--list-providers` to print this table from the TUI at any time.
|
|
618
|
-
|
|
619
605
|
---
|
|
620
606
|
|
|
621
|
-
##
|
|
607
|
+
## MCP Servers
|
|
622
608
|
|
|
623
|
-
|
|
609
|
+
Connect the agent to external [Model Context Protocol](https://modelcontextprotocol.io) servers to give it additional tools. Only the two remote transports are supported — `http` (Streamable HTTP) and `sse` (Server-Sent Events) — a server reachable only via stdio (`command`/`args`) is out of scope, since OpenDataSci never launches a child process to talk to one.
|
|
624
610
|
|
|
625
|
-
|
|
611
|
+
### From the TUI
|
|
626
612
|
|
|
627
|
-
|
|
628
|
-
|------|---------|
|
|
629
|
-
| `.opendatasci/mcp.json` | MCP server definitions — connects the agent to external tool servers |
|
|
630
|
-
| `.opendatasci/plans/` | Persisted plan files — auto-managed, one file per planning session |
|
|
613
|
+
The easiest path: `/config` → Integrations → MCP Servers. Load candidate servers from an existing `mcp.json` file (pick which to add — these are added as-is, with no connectivity check), or add one manually (name, URL, transport, headers) — a manually-added server is tested and must connect successfully before it's kept.
|
|
631
614
|
|
|
632
|
-
|
|
615
|
+
Tools are (re)discovered from every configured server at the start of each turn, not just once at startup, so enabling/disabling tools on the server side takes effect without restarting OpenDataSci.
|
|
616
|
+
|
|
617
|
+
### Via the SDK
|
|
618
|
+
|
|
619
|
+
```python
|
|
620
|
+
from opendatasci import OpenDataSciConfig, create_agent
|
|
621
|
+
from opendatasci.tools.mcp import MCPServerSpec, MCPTransport
|
|
633
622
|
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
623
|
+
config = OpenDataSciConfig(
|
|
624
|
+
mcp_servers=[
|
|
625
|
+
MCPServerSpec(name="my-server", url="http://localhost:8080", transport=MCPTransport.HTTP),
|
|
626
|
+
]
|
|
627
|
+
)
|
|
628
|
+
|
|
629
|
+
async with create_agent("data.csv", config=config) as agent:
|
|
630
|
+
...
|
|
641
631
|
```
|
|
642
632
|
|
|
643
633
|
---
|
|
644
634
|
|
|
645
635
|
## Custom Skills
|
|
646
636
|
|
|
647
|
-
Skills are Markdown
|
|
637
|
+
Skills are Markdown files that give the agent a specialised persona and instruction set. OpenDataSci ships several built-in skills; you can add your own at the workspace level or point the agent at any directory you choose.
|
|
648
638
|
|
|
649
639
|
### Workspace skills (recommended)
|
|
650
640
|
|
|
@@ -675,13 +665,13 @@ You are a time-series forecasting specialist. When analysing data, always...
|
|
|
675
665
|
|
|
676
666
|
### Global skills directory
|
|
677
667
|
|
|
678
|
-
To share skills across workspaces, set `SKILLS_DIRECTORY` in your environment or `.env` file:
|
|
668
|
+
To share skills across workspaces, set `SKILLS_DIRECTORY` in your environment or `.env` file — or point `/config` → Integrations → Custom skills at it live from inside the TUI:
|
|
679
669
|
|
|
680
670
|
```bash
|
|
681
671
|
SKILLS_DIRECTORY=/home/user/my-skills
|
|
682
672
|
```
|
|
683
673
|
|
|
684
|
-
This directory is scanned *in addition to* the workspace `.opendatasci/skills/` directory and the built-in skills. When two sources define a skill with the same name, the later source wins (built-ins → workspace → `SKILLS_DIRECTORY`).
|
|
674
|
+
This directory is scanned *in addition to* the workspace `.opendatasci/skills/` directory and the built-in skills. When two sources define a skill with the same name, the later source wins (built-ins → workspace → `SKILLS_DIRECTORY`). Skill *domains* have the equivalent `SKILL_DOMAINS_DIRECTORY`.
|
|
685
675
|
|
|
686
676
|
You can also pass `skills_directory` directly when using the Python SDK:
|
|
687
677
|
|
|
@@ -694,10 +684,19 @@ async with create_agent("data.csv", config=config) as agent:
|
|
|
694
684
|
...
|
|
695
685
|
```
|
|
696
686
|
|
|
697
|
-
|
|
687
|
+
---
|
|
688
|
+
|
|
689
|
+
## Environment Variables
|
|
690
|
+
|
|
691
|
+
Each variable below is also settable as a field on `OpenDataSciConfig` directly in the Python SDK — use whichever fits your setup.
|
|
698
692
|
|
|
699
693
|
| Variable | Description |
|
|
700
694
|
|----------|-------------|
|
|
695
|
+
| `PROVIDER` | LLM provider for the primary model (default: `anthropic`) |
|
|
696
|
+
| `MODEL` | Primary model identifier (default: provider default) |
|
|
697
|
+
| `SECONDARY_PROVIDER` | Provider for the secondary model (default: `anthropic`, independent of `PROVIDER`) |
|
|
698
|
+
| `SECONDARY_MODEL` | Secondary model for lightweight tasks (default: provider default) |
|
|
699
|
+
| `NAME` | Agent display name, injected into all system prompts (default: `Sai`) |
|
|
701
700
|
| `ANTHROPIC_API_KEY` | API key for the Anthropic provider |
|
|
702
701
|
| `OPENAI_API_KEY` | API key for the OpenAI / OpenAI-compatible server provider |
|
|
703
702
|
| `GOOGLE_API_KEY` | API key for the Google Gemini provider |
|
|
@@ -708,12 +707,14 @@ async with create_agent("data.csv", config=config) as agent:
|
|
|
708
707
|
| `AZURE_OPENAI_ENDPOINT` | Azure OpenAI resource endpoint URL |
|
|
709
708
|
| `AZURE_OPENAI_API_VERSION` | Azure OpenAI API version (default: `2025-01-01-preview`) |
|
|
710
709
|
| `LLM_SERVER_BASE_URL` | Custom API base URL — used by `ollama` and `openai_compatible_server` providers |
|
|
711
|
-
| `
|
|
712
|
-
| `MCP_SERVERS` |
|
|
710
|
+
| `PRIMARY_TEMPERATURE` | LLM sampling temperature for the primary model |
|
|
711
|
+
| `MCP_SERVERS` | MCP server definitions — see [MCP Servers](#mcp-servers) |
|
|
713
712
|
| `SKILLS_DIRECTORY` | Path to a directory of user-defined skill files |
|
|
714
713
|
| `BUILTIN_SKILLS_DIRECTORY` | Path to the built-in skills directory (defaults to the bundled skills) |
|
|
714
|
+
| `SKILL_DOMAINS_DIRECTORY` | Path to a directory of user-defined skill domains |
|
|
715
|
+
| `BUILTIN_SKILL_DOMAINS_DIRECTORY` | Path to the built-in skill domains directory (defaults to the bundled domains) |
|
|
715
716
|
| `WORKER_TIMEOUT_SECONDS` | Max seconds to wait for spawned workers (default: `300`) |
|
|
716
|
-
| `
|
|
717
|
+
| `AUTOCOMPACTION_THRESHOLD` | Token count at which context is compacted mid-turn (default: `96000`) |
|
|
717
718
|
| `CODE_EXEC_TIMEOUT` | Max seconds for a single sandboxed code execution (default: `1800`) |
|
|
718
719
|
|
|
719
|
-
A `.env` file in the working directory is loaded automatically at startup.
|
|
720
|
+
A `.env` file in the working directory is loaded automatically at startup. A `--config` YAML file's fields take precedence over environment variables and `.env`, which in turn take precedence over whatever the setup wizard has saved to `~/.opendatasci/settings/global.yaml` and `~/.opendatasci/secrets/api.yaml`.
|