waldiez 0.5.6__tar.gz → 0.5.8__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.
Potentially problematic release.
This version of waldiez might be problematic. Click here for more details.
- {waldiez-0.5.6 → waldiez-0.5.8}/.gitignore +1 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/PKG-INFO +68 -65
- {waldiez-0.5.6 → waldiez-0.5.8}/README.md +8 -6
- {waldiez-0.5.6 → waldiez-0.5.8}/pyproject.toml +70 -69
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/_version.py +1 -1
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/cli.py +17 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporter.py +1 -1
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/code_execution.py +8 -1
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/exporter.py +2 -1
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/captain_agent_extras.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/doc_agent_extras.py +2 -3
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/group_manager_agent_extas.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/handoffs/after_work.py +4 -4
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/handoffs/target.py +3 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/rag/chroma_extras.py +0 -4
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/rag/mongo_extras.py +0 -1
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/rag/pgvector_extras.py +0 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/rag/qdrant_extras.py +0 -3
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/rag/vector_db_extras.py +3 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/factory.py +11 -11
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/processor.py +3 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/chats/exporter.py +2 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/chats/factory.py +5 -5
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/chats/processor.py +22 -1
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/chats/utils/common.py +45 -1
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/chats/utils/group.py +1 -1
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/chats/utils/sequential.py +3 -68
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/chats/utils/single.py +1 -38
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/context.py +39 -38
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/exporter.py +10 -10
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/exporters.py +36 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/extras/base.py +2 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/extras/chat_extras.py +4 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/extras/path_resolver.py +6 -4
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/extras/serializer.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/protocols.py +6 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/result.py +8 -7
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/types.py +2 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/utils/llm_config.py +2 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/flow/execution_generator.py +54 -32
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/flow/factory.py +2 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/flow/file_generator.py +8 -7
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/flow/merger.py +8 -7
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/flow/orchestrator.py +22 -8
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/flow/utils/__init__.py +2 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/flow/utils/common.py +20 -11
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/flow/utils/importing.py +2 -1
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/flow/utils/logging.py +5 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/models/exporter.py +2 -1
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/models/factory.py +6 -7
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/tools/exporter.py +7 -6
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/tools/factory.py +4 -5
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/tools/processor.py +9 -4
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/tools/registration.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/_ws.py +2 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/models/content/audio.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/models/content/file.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/models/content/image.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/models/content/text.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/models/content/video.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/models/user_input.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/models/user_response.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/mqtt.py +6 -3
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/redis.py +7 -9
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/structured.py +8 -6
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/utils.py +11 -4
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/ws.py +4 -3
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/logger.py +11 -1
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/agent/agent.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/agent/agent_data.py +2 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/agent/nested_chat.py +1 -4
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/agent/termination_message.py +0 -7
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/agent/update_system_message.py +2 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/doc_agent/doc_agent_data.py +33 -26
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/doc_agent/rag_query_engine.py +1 -1
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/extra_requirements.py +5 -5
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/group_manager/group_manager.py +3 -7
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/group_manager/speakers.py +0 -7
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/rag_user_proxy/rag_user_proxy.py +0 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/rag_user_proxy/rag_user_proxy_data.py +0 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/rag_user_proxy/retrieve_config.py +1 -17
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/rag_user_proxy/vector_db_config.py +0 -5
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/chat/chat_data.py +0 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/chat/chat_summary.py +5 -3
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/common/handoff.py +26 -18
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/common/naming.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/flow/flow.py +9 -7
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/model/_llm.py +4 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/model/extra_requirements.py +3 -3
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/model/model.py +5 -4
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/tool/extra_requirements.py +2 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/tool/predefined/_google.py +7 -12
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/tool/predefined/_perplexity.py +13 -9
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/tool/predefined/_searxng.py +4 -1
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/tool/predefined/_tavily.py +0 -6
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/tool/predefined/_wikipedia.py +5 -1
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/tool/predefined/_youtube.py +0 -4
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/tool/tool.py +7 -7
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/tool/tool_data.py +39 -2
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/waldiez.py +29 -29
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/runner.py +18 -13
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/running/base_runner.py +96 -40
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/running/environment.py +2 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/running/patch_io_stream.py +2 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/running/post_run.py +3 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/running/pre_run.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/running/protocol.py +50 -48
- waldiez-0.5.8/waldiez/running/run_results.py +14 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/running/standard_runner.py +37 -13
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/running/timeline_processor.py +12 -1
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/running/utils.py +2 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/utils/conflict_checker.py +1 -1
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/utils/version.py +1 -0
- waldiez-0.5.6/waldiez/exporting/agent/extras/group/target.py +0 -178
- waldiez-0.5.6/waldiez/running/run_results.py +0 -22
- {waldiez-0.5.6 → waldiez-0.5.8}/LICENSE +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/NOTICE.md +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/__main__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/cli_extras/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/cli_extras/jupyter.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/cli_extras/runner.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/cli_extras/studio.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/group_member_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/handoffs/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/handoffs/available.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/handoffs/condition.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/handoffs/handoff.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/rag/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/rag_user_proxy_agent_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/extras/reasoning_agent_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/system_message.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/agent/termination.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/chats/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/chats/utils/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/chats/utils/nested.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/constants.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/content.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/enums.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/errors.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/extras/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/extras/agent_extras/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/extras/agent_extras/captain_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/extras/agent_extras/group_manager_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/extras/agent_extras/rag_user_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/extras/agent_extras/reasoning_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/extras/agent_extras/standard_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/extras/flow_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/extras/model_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/extras/tool_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/utils/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/utils/comment.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/core/validation.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/flow/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/flow/exporter.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/flow/utils/linting.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/models/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/models/processor.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/exporting/tools/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/models/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/models/base.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/models/constants.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/models/content/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/io/models/content/base.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/agent/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/agent/agent_type.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/agent/code_execution.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/agent/human_input_mode.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/agent/linked_tool.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/agents.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/assistant/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/assistant/assistant.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/assistant/assistant_data.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/captain/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/captain/captain_agent.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/captain/captain_agent_data.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/captain/captain_agent_lib_entry.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/doc_agent/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/doc_agent/doc_agent.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/group_manager/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/group_manager/group_manager_data.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/rag_user_proxy/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/reasoning/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/reasoning/reasoning_agent.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/reasoning/reasoning_agent_data.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/reasoning/reasoning_agent_reason_config.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/user_proxy/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/user_proxy/user_proxy.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/agents/user_proxy/user_proxy_data.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/chat/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/chat/chat.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/chat/chat_message.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/chat/chat_nested.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/common/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/common/ag2_version.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/common/base.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/common/date_utils.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/common/dict_utils.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/common/id_generator.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/common/method_utils.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/common/waldiez_version.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/flow/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/flow/connection.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/flow/flow_data.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/flow/info.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/flow/naming.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/model/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/model/_aws.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/model/_price.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/model/model_data.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/tool/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/tool/predefined/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/tool/predefined/_config.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/tool/predefined/_duckduckgo.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/tool/predefined/protocol.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/tool/predefined/registry.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/models/tool/tool_type.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/py.typed +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/running/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/running/gen_seq_diagram.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.8}/waldiez/utils/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: waldiez
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.8
|
|
4
4
|
Dynamic: Keywords
|
|
5
5
|
Summary: Make AG2 Agents Collaborate: Drag, Drop, and Orchestrate with Waldiez.
|
|
6
6
|
Project-URL: Homepage, https://waldiez.io
|
|
@@ -27,7 +27,7 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
|
27
27
|
Classifier: Topic :: Software Development :: Code Generators
|
|
28
28
|
Classifier: Typing :: Typed
|
|
29
29
|
Requires-Python: <3.14,>=3.10
|
|
30
|
-
Requires-Dist: ag2[openai]==0.9.
|
|
30
|
+
Requires-Dist: ag2[openai]==0.9.7
|
|
31
31
|
Requires-Dist: aiocsv==1.3.2
|
|
32
32
|
Requires-Dist: aiofiles==24.1.0
|
|
33
33
|
Requires-Dist: aiosqlite==0.21.0
|
|
@@ -37,7 +37,7 @@ Requires-Dist: graphviz<=0.21
|
|
|
37
37
|
Requires-Dist: httpx<1
|
|
38
38
|
Requires-Dist: jupytext
|
|
39
39
|
Requires-Dist: nest-asyncio==1.6.0
|
|
40
|
-
Requires-Dist: numpy<=2.3.
|
|
40
|
+
Requires-Dist: numpy<=2.3.2
|
|
41
41
|
Requires-Dist: pandas>=2
|
|
42
42
|
Requires-Dist: parso==0.8.4
|
|
43
43
|
Requires-Dist: pillow
|
|
@@ -47,45 +47,45 @@ Requires-Dist: pydantic<3,>=2.10.2
|
|
|
47
47
|
Requires-Dist: rpds-py==0.26.0
|
|
48
48
|
Requires-Dist: typer<1,>=0.9.0
|
|
49
49
|
Provides-Extra: ag2-extras
|
|
50
|
-
Requires-Dist: ag2[anthropic]==0.9.
|
|
51
|
-
Requires-Dist: ag2[autobuild]==0.9.
|
|
52
|
-
Requires-Dist: ag2[bedrock]==0.9.
|
|
53
|
-
Requires-Dist: ag2[blendsearch]==0.9.
|
|
54
|
-
Requires-Dist: ag2[cohere]==0.9.
|
|
55
|
-
Requires-Dist: ag2[commsagent-discord]==0.9.
|
|
56
|
-
Requires-Dist: ag2[commsagent-slack]==0.9.
|
|
57
|
-
Requires-Dist: ag2[commsagent-telegram]==0.9.
|
|
58
|
-
Requires-Dist: ag2[crawl4ai]==0.9.
|
|
59
|
-
Requires-Dist: ag2[duckduckgo]==0.9.
|
|
60
|
-
Requires-Dist: ag2[gemini-realtime]==0.9.
|
|
61
|
-
Requires-Dist: ag2[gemini-realtime]==0.9.
|
|
62
|
-
Requires-Dist: ag2[gemini]==0.9.
|
|
63
|
-
Requires-Dist: ag2[gemini]==0.9.
|
|
64
|
-
Requires-Dist: ag2[google-api]==0.9.
|
|
65
|
-
Requires-Dist: ag2[google-client]==0.9.
|
|
66
|
-
Requires-Dist: ag2[google-search]==0.9.
|
|
67
|
-
Requires-Dist: ag2[groq]==0.9.
|
|
68
|
-
Requires-Dist: ag2[interop-crewai]==0.9.
|
|
69
|
-
Requires-Dist: ag2[interop-langchain]==0.9.
|
|
70
|
-
Requires-Dist: ag2[lmm]==0.9.
|
|
71
|
-
Requires-Dist: ag2[mcp]==0.9.
|
|
72
|
-
Requires-Dist: ag2[mistral]==0.9.
|
|
73
|
-
Requires-Dist: ag2[neo4j]==0.9.
|
|
74
|
-
Requires-Dist: ag2[neo4j]==0.9.
|
|
75
|
-
Requires-Dist: ag2[ollama]==0.9.
|
|
76
|
-
Requires-Dist: ag2[openai-realtime]==0.9.
|
|
77
|
-
Requires-Dist: ag2[rag]==0.9.
|
|
78
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
79
|
-
Requires-Dist: ag2[tavily]==0.9.
|
|
80
|
-
Requires-Dist: ag2[together]==0.9.
|
|
81
|
-
Requires-Dist: ag2[together]==0.9.
|
|
82
|
-
Requires-Dist: ag2[twilio]==0.9.
|
|
83
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
84
|
-
Requires-Dist: ag2[websurfer]==0.9.
|
|
85
|
-
Requires-Dist: ag2[wikipedia]==0.9.
|
|
50
|
+
Requires-Dist: ag2[anthropic]==0.9.7; extra == 'ag2-extras'
|
|
51
|
+
Requires-Dist: ag2[autobuild]==0.9.7; extra == 'ag2-extras'
|
|
52
|
+
Requires-Dist: ag2[bedrock]==0.9.7; extra == 'ag2-extras'
|
|
53
|
+
Requires-Dist: ag2[blendsearch]==0.9.7; extra == 'ag2-extras'
|
|
54
|
+
Requires-Dist: ag2[cohere]==0.9.7; extra == 'ag2-extras'
|
|
55
|
+
Requires-Dist: ag2[commsagent-discord]==0.9.7; extra == 'ag2-extras'
|
|
56
|
+
Requires-Dist: ag2[commsagent-slack]==0.9.7; extra == 'ag2-extras'
|
|
57
|
+
Requires-Dist: ag2[commsagent-telegram]==0.9.7; extra == 'ag2-extras'
|
|
58
|
+
Requires-Dist: ag2[crawl4ai]==0.9.7; extra == 'ag2-extras'
|
|
59
|
+
Requires-Dist: ag2[duckduckgo]==0.9.7; extra == 'ag2-extras'
|
|
60
|
+
Requires-Dist: ag2[gemini-realtime]==0.9.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
61
|
+
Requires-Dist: ag2[gemini-realtime]==0.9.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
62
|
+
Requires-Dist: ag2[gemini]==0.9.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
63
|
+
Requires-Dist: ag2[gemini]==0.9.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
64
|
+
Requires-Dist: ag2[google-api]==0.9.7; extra == 'ag2-extras'
|
|
65
|
+
Requires-Dist: ag2[google-client]==0.9.7; extra == 'ag2-extras'
|
|
66
|
+
Requires-Dist: ag2[google-search]==0.9.7; extra == 'ag2-extras'
|
|
67
|
+
Requires-Dist: ag2[groq]==0.9.7; extra == 'ag2-extras'
|
|
68
|
+
Requires-Dist: ag2[interop-crewai]==0.9.7; extra == 'ag2-extras'
|
|
69
|
+
Requires-Dist: ag2[interop-langchain]==0.9.7; extra == 'ag2-extras'
|
|
70
|
+
Requires-Dist: ag2[lmm]==0.9.7; extra == 'ag2-extras'
|
|
71
|
+
Requires-Dist: ag2[mcp]==0.9.7; extra == 'ag2-extras'
|
|
72
|
+
Requires-Dist: ag2[mistral]==0.9.7; extra == 'ag2-extras'
|
|
73
|
+
Requires-Dist: ag2[neo4j]==0.9.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
74
|
+
Requires-Dist: ag2[neo4j]==0.9.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
75
|
+
Requires-Dist: ag2[ollama]==0.9.7; extra == 'ag2-extras'
|
|
76
|
+
Requires-Dist: ag2[openai-realtime]==0.9.7; extra == 'ag2-extras'
|
|
77
|
+
Requires-Dist: ag2[rag]==0.9.7; extra == 'ag2-extras'
|
|
78
|
+
Requires-Dist: ag2[redis]==0.9.7; extra == 'ag2-extras'
|
|
79
|
+
Requires-Dist: ag2[tavily]==0.9.7; extra == 'ag2-extras'
|
|
80
|
+
Requires-Dist: ag2[together]==0.9.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
81
|
+
Requires-Dist: ag2[together]==0.9.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
82
|
+
Requires-Dist: ag2[twilio]==0.9.7; extra == 'ag2-extras'
|
|
83
|
+
Requires-Dist: ag2[websockets]==0.9.7; extra == 'ag2-extras'
|
|
84
|
+
Requires-Dist: ag2[websurfer]==0.9.7; extra == 'ag2-extras'
|
|
85
|
+
Requires-Dist: ag2[wikipedia]==0.9.7; extra == 'ag2-extras'
|
|
86
86
|
Requires-Dist: chromadb>=0.5.10; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
87
87
|
Requires-Dist: chromadb>=0.5.10; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
88
|
-
Requires-Dist: couchbase>=4.
|
|
88
|
+
Requires-Dist: couchbase>=4.4.0; extra == 'ag2-extras'
|
|
89
89
|
Requires-Dist: fastembed>=0.3.1; extra == 'ag2-extras'
|
|
90
90
|
Requires-Dist: pgvector>=0.4.0; extra == 'ag2-extras'
|
|
91
91
|
Requires-Dist: psycopg>=3.2.6; (sys_platform == 'linux') and extra == 'ag2-extras'
|
|
@@ -99,21 +99,21 @@ Requires-Dist: pymongo>=4.11; extra == 'ag2-extras'
|
|
|
99
99
|
Requires-Dist: qdrant-client[fastembed]; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
100
100
|
Requires-Dist: qdrant-client[fastembed]; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
101
101
|
Provides-Extra: dev
|
|
102
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
103
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
102
|
+
Requires-Dist: ag2[redis]==0.9.7; extra == 'dev'
|
|
103
|
+
Requires-Dist: ag2[websockets]==0.9.7; extra == 'dev'
|
|
104
104
|
Requires-Dist: autoflake==2.3.1; extra == 'dev'
|
|
105
105
|
Requires-Dist: bandit==1.8.6; extra == 'dev'
|
|
106
106
|
Requires-Dist: black[jupyter]==25.1.0; extra == 'dev'
|
|
107
|
-
Requires-Dist: build==1.
|
|
108
|
-
Requires-Dist: fakeredis==2.30.
|
|
107
|
+
Requires-Dist: build==1.3.0; extra == 'dev'
|
|
108
|
+
Requires-Dist: fakeredis==2.30.3; extra == 'dev'
|
|
109
109
|
Requires-Dist: fastjsonschema>=2.21.1; extra == 'dev'
|
|
110
110
|
Requires-Dist: flake8==7.3.0; extra == 'dev'
|
|
111
111
|
Requires-Dist: hatchling==1.27.0; extra == 'dev'
|
|
112
112
|
Requires-Dist: jsonschema==4.25.0; extra == 'dev'
|
|
113
113
|
Requires-Dist: jupyter-server==2.16.0; extra == 'dev'
|
|
114
|
-
Requires-Dist: jupyterlab
|
|
114
|
+
Requires-Dist: jupyterlab==4.4.5; extra == 'dev'
|
|
115
115
|
Requires-Dist: mypy-extensions>=1.1.0; extra == 'dev'
|
|
116
|
-
Requires-Dist: mypy==1.17.
|
|
116
|
+
Requires-Dist: mypy==1.17.1; extra == 'dev'
|
|
117
117
|
Requires-Dist: nbclient>=0.10.2; extra == 'dev'
|
|
118
118
|
Requires-Dist: nbconvert>=7.16.6; extra == 'dev'
|
|
119
119
|
Requires-Dist: nbformat>=5.10.4; extra == 'dev'
|
|
@@ -125,9 +125,9 @@ Requires-Dist: pre-commit==4.2.0; extra == 'dev'
|
|
|
125
125
|
Requires-Dist: pydocstyle==6.3.0; extra == 'dev'
|
|
126
126
|
Requires-Dist: pylint==3.3.7; extra == 'dev'
|
|
127
127
|
Requires-Dist: python-dotenv>=1.1.1; extra == 'dev'
|
|
128
|
-
Requires-Dist: ruff==0.12.
|
|
128
|
+
Requires-Dist: ruff==0.12.7; extra == 'dev'
|
|
129
129
|
Requires-Dist: toml==0.10.2; (python_version <= '3.10') and extra == 'dev'
|
|
130
|
-
Requires-Dist: types-aiofiles==24.1.0.
|
|
130
|
+
Requires-Dist: types-aiofiles==24.1.0.20250801; extra == 'dev'
|
|
131
131
|
Requires-Dist: types-jsonschema==4.25.0.20250720; extra == 'dev'
|
|
132
132
|
Requires-Dist: types-pyyaml==6.0.12.20250516; extra == 'dev'
|
|
133
133
|
Requires-Dist: types-redis==4.6.0.20241004; extra == 'dev'
|
|
@@ -143,8 +143,8 @@ Requires-Dist: mkdocs-autorefs==1.4.2; extra == 'docs'
|
|
|
143
143
|
Requires-Dist: mkdocs-awesome-nav==3.1.2; extra == 'docs'
|
|
144
144
|
Requires-Dist: mkdocs-jupyter==0.25.1; extra == 'docs'
|
|
145
145
|
Requires-Dist: mkdocs-macros-plugin==1.3.7; extra == 'docs'
|
|
146
|
-
Requires-Dist: mkdocs-material==9.6.
|
|
147
|
-
Requires-Dist: mkdocs-minify-html-plugin==0.3.
|
|
146
|
+
Requires-Dist: mkdocs-material==9.6.16; extra == 'docs'
|
|
147
|
+
Requires-Dist: mkdocs-minify-html-plugin==0.3.4; extra == 'docs'
|
|
148
148
|
Requires-Dist: mkdocs-open-in-new-tab==1.0.8; extra == 'docs'
|
|
149
149
|
Requires-Dist: mkdocs==1.6.1; extra == 'docs'
|
|
150
150
|
Requires-Dist: mkdocstrings-crystal==0.3.7; extra == 'docs'
|
|
@@ -152,21 +152,22 @@ Requires-Dist: mkdocstrings-python==1.16.12; extra == 'docs'
|
|
|
152
152
|
Requires-Dist: mkdocstrings[crystal,python]==0.30.0; extra == 'docs'
|
|
153
153
|
Requires-Dist: natsort==8.4.0; extra == 'docs'
|
|
154
154
|
Provides-Extra: jupyter
|
|
155
|
+
Requires-Dist: ipywidgets==8.1.7; extra == 'jupyter'
|
|
155
156
|
Requires-Dist: jupyter-server==2.16.0; extra == 'jupyter'
|
|
156
|
-
Requires-Dist: jupyterlab
|
|
157
|
-
Requires-Dist: waldiez-jupyter==0.5.
|
|
157
|
+
Requires-Dist: jupyterlab==4.4.5; extra == 'jupyter'
|
|
158
|
+
Requires-Dist: waldiez-jupyter==0.5.8; extra == 'jupyter'
|
|
158
159
|
Provides-Extra: mqtt
|
|
159
160
|
Requires-Dist: paho-mqtt<3.0,>=2.1.0; extra == 'mqtt'
|
|
160
161
|
Provides-Extra: redis
|
|
161
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
162
|
+
Requires-Dist: ag2[redis]==0.9.7; extra == 'redis'
|
|
162
163
|
Provides-Extra: runner
|
|
163
|
-
Requires-Dist: waldiez-runner==0.5.
|
|
164
|
+
Requires-Dist: waldiez-runner==0.5.8; (python_version >= '3.11') and extra == 'runner'
|
|
164
165
|
Provides-Extra: studio
|
|
165
|
-
Requires-Dist: waldiez-studio==0.5.
|
|
166
|
+
Requires-Dist: waldiez-studio==0.5.8; extra == 'studio'
|
|
166
167
|
Provides-Extra: test
|
|
167
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
168
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
169
|
-
Requires-Dist: fakeredis==2.30.
|
|
168
|
+
Requires-Dist: ag2[redis]==0.9.7; extra == 'test'
|
|
169
|
+
Requires-Dist: ag2[websockets]==0.9.7; extra == 'test'
|
|
170
|
+
Requires-Dist: fakeredis==2.30.3; extra == 'test'
|
|
170
171
|
Requires-Dist: paho-mqtt<3.0,>=2.1.0; extra == 'test'
|
|
171
172
|
Requires-Dist: pytest-asyncio==1.1.0; extra == 'test'
|
|
172
173
|
Requires-Dist: pytest-cov==6.2.1; extra == 'test'
|
|
@@ -177,7 +178,7 @@ Requires-Dist: pytest-timeout==2.4.0; extra == 'test'
|
|
|
177
178
|
Requires-Dist: pytest-xdist==3.8.0; extra == 'test'
|
|
178
179
|
Requires-Dist: pytest==8.4.1; extra == 'test'
|
|
179
180
|
Provides-Extra: websockets
|
|
180
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
181
|
+
Requires-Dist: ag2[websockets]==0.9.7; extra == 'websockets'
|
|
181
182
|
Description-Content-Type: text/markdown
|
|
182
183
|
|
|
183
184
|
# Waldiez
|
|
@@ -216,7 +217,7 @@ python -m pip install git+https://github.com/waldiez/waldiez.git
|
|
|
216
217
|
|
|
217
218
|
If you’re looking for the React component, please refer to [README.npm](https://github.com/waldiez/waldiez/blob/main/README.npm.md).
|
|
218
219
|
|
|
219
|
-
> Note: The React component is only for creating and editing flows — it is not
|
|
220
|
+
> Note: The React component is only for creating and editing flows — it is not used for converting or running flows (that functionality is handled by the Python package).
|
|
220
221
|
|
|
221
222
|
To add the waldiez library to your app:
|
|
222
223
|
|
|
@@ -319,14 +320,15 @@ $CONTAINER_COMMAND run --rm -it \
|
|
|
319
320
|
|
|
320
321
|
### As a library
|
|
321
322
|
|
|
322
|
-
####
|
|
323
|
+
#### Generate a script or a notebook from a flow
|
|
323
324
|
|
|
324
325
|
```python
|
|
325
326
|
# Export a Waldiez flow to a python script or a jupyter notebook
|
|
327
|
+
from pathlib import Path
|
|
326
328
|
from waldiez import WaldiezExporter
|
|
327
329
|
flow_path = "/path/to/a/flow.waldiez"
|
|
328
330
|
output_path = "/path/to/an/output.py" # or .ipynb
|
|
329
|
-
exporter = WaldiezExporter.load(flow_path)
|
|
331
|
+
exporter = WaldiezExporter.load(Path(flow_path))
|
|
330
332
|
exporter.export(output_path)
|
|
331
333
|
```
|
|
332
334
|
|
|
@@ -334,10 +336,11 @@ exporter.export(output_path)
|
|
|
334
336
|
|
|
335
337
|
```python
|
|
336
338
|
# Run a flow
|
|
339
|
+
from pathlib import Path
|
|
337
340
|
from waldiez import WaldiezRunner
|
|
338
341
|
flow_path = "/path/to/a/flow.waldiez"
|
|
339
342
|
output_path = "/path/to/an/output.py"
|
|
340
|
-
runner = WaldiezRunner.load(flow_path)
|
|
343
|
+
runner = WaldiezRunner.load(Path(flow_path))
|
|
341
344
|
runner.run(output_path=output_path)
|
|
342
345
|
```
|
|
343
346
|
|
|
@@ -375,6 +378,7 @@ runner.run(output_path=output_path)
|
|
|
375
378
|
|
|
376
379
|
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
377
380
|
|
|
381
|
+
<!--suppress ALL -->
|
|
378
382
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
379
383
|
<!-- prettier-ignore-start -->
|
|
380
384
|
<!-- markdownlint-disable -->
|
|
@@ -392,8 +396,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
392
396
|
<tr>
|
|
393
397
|
<td align="center" size="13px" colspan="7">
|
|
394
398
|
<img src="https://raw.githubusercontent.com/all-contributors/all-contributors-cli/1b8533af435da9854653492b1327a23a4dbd0a10/assets/logo-small.svg">
|
|
395
|
-
|
|
396
|
-
</img>
|
|
399
|
+
<a href="https://all-contributors.js.org/docs/en/bot/usage">Add your contributions</a>
|
|
397
400
|
</td>
|
|
398
401
|
</tr>
|
|
399
402
|
</tfoot>
|
|
@@ -34,7 +34,7 @@ python -m pip install git+https://github.com/waldiez/waldiez.git
|
|
|
34
34
|
|
|
35
35
|
If you’re looking for the React component, please refer to [README.npm](https://github.com/waldiez/waldiez/blob/main/README.npm.md).
|
|
36
36
|
|
|
37
|
-
> Note: The React component is only for creating and editing flows — it is not
|
|
37
|
+
> Note: The React component is only for creating and editing flows — it is not used for converting or running flows (that functionality is handled by the Python package).
|
|
38
38
|
|
|
39
39
|
To add the waldiez library to your app:
|
|
40
40
|
|
|
@@ -137,14 +137,15 @@ $CONTAINER_COMMAND run --rm -it \
|
|
|
137
137
|
|
|
138
138
|
### As a library
|
|
139
139
|
|
|
140
|
-
####
|
|
140
|
+
#### Generate a script or a notebook from a flow
|
|
141
141
|
|
|
142
142
|
```python
|
|
143
143
|
# Export a Waldiez flow to a python script or a jupyter notebook
|
|
144
|
+
from pathlib import Path
|
|
144
145
|
from waldiez import WaldiezExporter
|
|
145
146
|
flow_path = "/path/to/a/flow.waldiez"
|
|
146
147
|
output_path = "/path/to/an/output.py" # or .ipynb
|
|
147
|
-
exporter = WaldiezExporter.load(flow_path)
|
|
148
|
+
exporter = WaldiezExporter.load(Path(flow_path))
|
|
148
149
|
exporter.export(output_path)
|
|
149
150
|
```
|
|
150
151
|
|
|
@@ -152,10 +153,11 @@ exporter.export(output_path)
|
|
|
152
153
|
|
|
153
154
|
```python
|
|
154
155
|
# Run a flow
|
|
156
|
+
from pathlib import Path
|
|
155
157
|
from waldiez import WaldiezRunner
|
|
156
158
|
flow_path = "/path/to/a/flow.waldiez"
|
|
157
159
|
output_path = "/path/to/an/output.py"
|
|
158
|
-
runner = WaldiezRunner.load(flow_path)
|
|
160
|
+
runner = WaldiezRunner.load(Path(flow_path))
|
|
159
161
|
runner.run(output_path=output_path)
|
|
160
162
|
```
|
|
161
163
|
|
|
@@ -193,6 +195,7 @@ runner.run(output_path=output_path)
|
|
|
193
195
|
|
|
194
196
|
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
195
197
|
|
|
198
|
+
<!--suppress ALL -->
|
|
196
199
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
197
200
|
<!-- prettier-ignore-start -->
|
|
198
201
|
<!-- markdownlint-disable -->
|
|
@@ -210,8 +213,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
210
213
|
<tr>
|
|
211
214
|
<td align="center" size="13px" colspan="7">
|
|
212
215
|
<img src="https://raw.githubusercontent.com/all-contributors/all-contributors-cli/1b8533af435da9854653492b1327a23a4dbd0a10/assets/logo-small.svg">
|
|
213
|
-
|
|
214
|
-
</img>
|
|
216
|
+
<a href="https://all-contributors.js.org/docs/en/bot/usage">Add your contributions</a>
|
|
215
217
|
</td>
|
|
216
218
|
</tr>
|
|
217
219
|
</tfoot>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
build-backend = "hatchling.build"
|
|
4
4
|
requires = [
|
|
5
5
|
"hatchling==1.27.0",
|
|
6
|
-
"hatch-nodejs-version==0.
|
|
6
|
+
"hatch-nodejs-version==0.4.0",
|
|
7
7
|
]
|
|
8
8
|
[project]
|
|
9
9
|
classifiers = [
|
|
@@ -27,12 +27,12 @@ classifiers = [
|
|
|
27
27
|
]
|
|
28
28
|
|
|
29
29
|
dependencies = [
|
|
30
|
-
"ag2[openai]==0.9.
|
|
30
|
+
"ag2[openai]==0.9.7",
|
|
31
31
|
"aiocsv==1.3.2",
|
|
32
32
|
"aiofiles==24.1.0",
|
|
33
33
|
"aiosqlite==0.21.0",
|
|
34
34
|
"asyncer==0.0.8",
|
|
35
|
-
"numpy<=2.3.
|
|
35
|
+
"numpy<=2.3.2",
|
|
36
36
|
"nest_asyncio==1.6.0",
|
|
37
37
|
"graphviz<=0.21",
|
|
38
38
|
"pandas>=2",
|
|
@@ -43,15 +43,15 @@ dependencies = [
|
|
|
43
43
|
"rpds-py==0.26.0",
|
|
44
44
|
"platformdirs==4.3.8",
|
|
45
45
|
"pydantic>=2.10.2,<3",
|
|
46
|
-
# ag2[together]==0.9.
|
|
46
|
+
# ag2[together]==0.9.7 depends on together>=1.2
|
|
47
47
|
# together>=1.2 depends on typer>=0.9,<0.16
|
|
48
48
|
"typer>=0.9.0,<1",
|
|
49
49
|
"click<8.2",
|
|
50
|
-
# ../site-packages/click/types.py
|
|
50
|
+
# ../site-packages/click/types.py, line 54, in init
|
|
51
51
|
# self.name = func.name
|
|
52
52
|
# ^^^^^^^^^^^^^
|
|
53
53
|
# AttributeError: 'tuple' object has no attribute 'name'
|
|
54
|
-
# ../site-packages/httpx/_main.py
|
|
54
|
+
# ../site-packages/httpx/_main.py, line 379, in <module>
|
|
55
55
|
# @click.option(
|
|
56
56
|
# ~~~~~~~~~~~~^
|
|
57
57
|
# "--auth",
|
|
@@ -72,72 +72,73 @@ waldiez = "waldiez.cli:app"
|
|
|
72
72
|
[project.optional-dependencies]
|
|
73
73
|
# stream-io-extensions: redis, websockets, mqtt
|
|
74
74
|
redis = [
|
|
75
|
-
"ag2[redis]==0.9.
|
|
75
|
+
"ag2[redis]==0.9.7",
|
|
76
76
|
]
|
|
77
77
|
websockets = [
|
|
78
|
-
"ag2[websockets]==0.9.
|
|
78
|
+
"ag2[websockets]==0.9.7",
|
|
79
79
|
]
|
|
80
80
|
mqtt = [
|
|
81
81
|
"paho-mqtt>=2.1.0,<3.0",
|
|
82
82
|
]
|
|
83
83
|
# jupyterlab extension
|
|
84
84
|
jupyter = [
|
|
85
|
-
"waldiez_jupyter==0.5.
|
|
86
|
-
"jupyterlab
|
|
85
|
+
"waldiez_jupyter==0.5.8",
|
|
86
|
+
"jupyterlab==4.4.5",
|
|
87
|
+
"ipywidgets==8.1.7",
|
|
87
88
|
"jupyter_server==2.16.0",
|
|
88
89
|
]
|
|
89
90
|
runner = [
|
|
90
|
-
"waldiez_runner==0.5.
|
|
91
|
+
"waldiez_runner==0.5.8; python_version >= '3.11'",
|
|
91
92
|
]
|
|
92
93
|
studio = [
|
|
93
|
-
"waldiez_studio==0.5.
|
|
94
|
+
"waldiez_studio==0.5.8",
|
|
94
95
|
]
|
|
95
96
|
ag2_extras = [
|
|
96
|
-
"ag2[anthropic]==0.9.
|
|
97
|
-
"ag2[autobuild]==0.9.
|
|
98
|
-
"ag2[bedrock]==0.9.
|
|
99
|
-
"ag2[blendsearch]==0.9.
|
|
100
|
-
"ag2[cohere]==0.9.
|
|
101
|
-
"ag2[commsagent-discord]==0.9.
|
|
102
|
-
"ag2[commsagent-slack]==0.9.
|
|
103
|
-
"ag2[commsagent-telegram]==0.9.
|
|
104
|
-
"ag2[crawl4ai]==0.9.
|
|
105
|
-
"ag2[duckduckgo]==0.9.
|
|
106
|
-
"ag2[gemini-realtime]==0.9.
|
|
107
|
-
"ag2[gemini-realtime]==0.9.
|
|
108
|
-
"ag2[gemini]==0.9.
|
|
109
|
-
"ag2[gemini]==0.9.
|
|
110
|
-
"ag2[google-api]==0.9.
|
|
111
|
-
"ag2[google-client]==0.9.
|
|
112
|
-
"ag2[google-search]==0.9.
|
|
113
|
-
"ag2[groq]==0.9.
|
|
114
|
-
"ag2[interop-crewai]==0.9.
|
|
115
|
-
"ag2[interop-langchain]==0.9.
|
|
116
|
-
"ag2[lmm]==0.9.
|
|
117
|
-
# "ag2[mcp-proxy-gen]==0.9.
|
|
118
|
-
"ag2[mcp]==0.9.
|
|
119
|
-
"ag2[mistral]==0.9.
|
|
120
|
-
"ag2[neo4j]==0.9.
|
|
121
|
-
"ag2[neo4j]==0.9.
|
|
122
|
-
"ag2[ollama]==0.9.
|
|
123
|
-
"ag2[openai-realtime]==0.9.
|
|
124
|
-
"ag2[rag]==0.9.
|
|
125
|
-
"ag2[redis]==0.9.
|
|
126
|
-
"ag2[tavily]==0.9.
|
|
127
|
-
# "ag2[retrievechat-couchbase]==0.9.
|
|
128
|
-
# "ag2[retrievechat-mongodb]==0.9.
|
|
129
|
-
# "ag2[retrievechat-pgvector]==0.9.
|
|
130
|
-
# "ag2[retrievechat-qdrant]==0.9.
|
|
131
|
-
# "ag2[retrievechat]==0.9.
|
|
132
|
-
"ag2[together]==0.9.
|
|
133
|
-
"ag2[together]==0.9.
|
|
134
|
-
"ag2[twilio]==0.9.
|
|
135
|
-
"ag2[websockets]==0.9.
|
|
136
|
-
"ag2[websurfer]==0.9.
|
|
137
|
-
"ag2[wikipedia]==0.9.
|
|
97
|
+
"ag2[anthropic]==0.9.7",
|
|
98
|
+
"ag2[autobuild]==0.9.7",
|
|
99
|
+
"ag2[bedrock]==0.9.7",
|
|
100
|
+
"ag2[blendsearch]==0.9.7",
|
|
101
|
+
"ag2[cohere]==0.9.7",
|
|
102
|
+
"ag2[commsagent-discord]==0.9.7",
|
|
103
|
+
"ag2[commsagent-slack]==0.9.7",
|
|
104
|
+
"ag2[commsagent-telegram]==0.9.7",
|
|
105
|
+
"ag2[crawl4ai]==0.9.7",
|
|
106
|
+
"ag2[duckduckgo]==0.9.7",
|
|
107
|
+
"ag2[gemini-realtime]==0.9.7;sys_platform != 'win32'",
|
|
108
|
+
"ag2[gemini-realtime]==0.9.7;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
|
|
109
|
+
"ag2[gemini]==0.9.7;sys_platform != 'win32'",
|
|
110
|
+
"ag2[gemini]==0.9.7;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
|
|
111
|
+
"ag2[google-api]==0.9.7",
|
|
112
|
+
"ag2[google-client]==0.9.7",
|
|
113
|
+
"ag2[google-search]==0.9.7",
|
|
114
|
+
"ag2[groq]==0.9.7",
|
|
115
|
+
"ag2[interop-crewai]==0.9.7",
|
|
116
|
+
"ag2[interop-langchain]==0.9.7",
|
|
117
|
+
"ag2[lmm]==0.9.7",
|
|
118
|
+
# "ag2[mcp-proxy-gen]==0.9.7",
|
|
119
|
+
"ag2[mcp]==0.9.7",
|
|
120
|
+
"ag2[mistral]==0.9.7",
|
|
121
|
+
"ag2[neo4j]==0.9.7;sys_platform != 'win32'",
|
|
122
|
+
"ag2[neo4j]==0.9.7;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
|
|
123
|
+
"ag2[ollama]==0.9.7",
|
|
124
|
+
"ag2[openai-realtime]==0.9.7",
|
|
125
|
+
"ag2[rag]==0.9.7",
|
|
126
|
+
"ag2[redis]==0.9.7",
|
|
127
|
+
"ag2[tavily]==0.9.7",
|
|
128
|
+
# "ag2[retrievechat-couchbase]==0.9.7",
|
|
129
|
+
# "ag2[retrievechat-mongodb]==0.9.7",
|
|
130
|
+
# "ag2[retrievechat-pgvector]==0.9.7",
|
|
131
|
+
# "ag2[retrievechat-qdrant]==0.9.7",
|
|
132
|
+
# "ag2[retrievechat]==0.9.7",
|
|
133
|
+
"ag2[together]==0.9.7;sys_platform != 'win32'",
|
|
134
|
+
"ag2[together]==0.9.7;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
|
|
135
|
+
"ag2[twilio]==0.9.7",
|
|
136
|
+
"ag2[websockets]==0.9.7",
|
|
137
|
+
"ag2[websurfer]==0.9.7",
|
|
138
|
+
"ag2[wikipedia]==0.9.7",
|
|
138
139
|
"chromadb>=0.5.10;sys_platform != 'win32'",
|
|
139
140
|
"chromadb>=0.5.10;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
|
|
140
|
-
"couchbase>=4.
|
|
141
|
+
"couchbase>=4.4.0",
|
|
141
142
|
"fastembed>=0.3.1",
|
|
142
143
|
"pgvector>=0.4.0",
|
|
143
144
|
"psycopg>=3.2.6;sys_platform == 'linux'",
|
|
@@ -152,16 +153,16 @@ ag2_extras = [
|
|
|
152
153
|
"qdrant-client[fastembed];sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
|
|
153
154
|
]
|
|
154
155
|
dev = [
|
|
155
|
-
"ag2[redis]==0.9.
|
|
156
|
-
"ag2[websockets]==0.9.
|
|
156
|
+
"ag2[redis]==0.9.7",
|
|
157
|
+
"ag2[websockets]==0.9.7",
|
|
157
158
|
"autoflake==2.3.1",
|
|
158
159
|
"bandit==1.8.6",
|
|
159
160
|
"black[jupyter]==25.1.0",
|
|
160
|
-
"build==1.
|
|
161
|
-
"fakeredis==2.30.
|
|
161
|
+
"build==1.3.0",
|
|
162
|
+
"fakeredis==2.30.3",
|
|
162
163
|
"flake8==7.3.0",
|
|
163
164
|
"jsonschema==4.25.0",
|
|
164
|
-
"jupyterlab
|
|
165
|
+
"jupyterlab==4.4.5",
|
|
165
166
|
"notebook-shim>=0.2.4",
|
|
166
167
|
"fastjsonschema>=2.21.1",
|
|
167
168
|
"jupyter_server==2.16.0",
|
|
@@ -169,7 +170,7 @@ dev = [
|
|
|
169
170
|
"nbformat>=5.10.4",
|
|
170
171
|
"nbconvert>=7.16.6",
|
|
171
172
|
"hatchling==1.27.0",
|
|
172
|
-
"mypy==1.17.
|
|
173
|
+
"mypy==1.17.1",
|
|
173
174
|
"mypy-extensions>=1.1.0",
|
|
174
175
|
"paho-mqtt>=2.1.0,<3.0",
|
|
175
176
|
"pandas-stubs==2.3.0.250703",
|
|
@@ -178,8 +179,8 @@ dev = [
|
|
|
178
179
|
"pydocstyle==6.3.0",
|
|
179
180
|
"pylint==3.3.7",
|
|
180
181
|
"python-dotenv>=1.1.1",
|
|
181
|
-
"ruff==0.12.
|
|
182
|
-
"types-aiofiles==24.1.0.
|
|
182
|
+
"ruff==0.12.7",
|
|
183
|
+
"types-aiofiles==24.1.0.20250801",
|
|
183
184
|
"types-pyyaml==6.0.12.20250516",
|
|
184
185
|
"types-jsonschema==4.25.0.20250720",
|
|
185
186
|
"types-redis==4.6.0.20241004",
|
|
@@ -197,8 +198,8 @@ docs = [
|
|
|
197
198
|
"mkdocs-autorefs==1.4.2",
|
|
198
199
|
"mkdocs-jupyter==0.25.1",
|
|
199
200
|
"mkdocs-macros-plugin==1.3.7",
|
|
200
|
-
"mkdocs-material==9.6.
|
|
201
|
-
"mkdocs-minify-html-plugin==0.3.
|
|
201
|
+
"mkdocs-material==9.6.16",
|
|
202
|
+
"mkdocs-minify-html-plugin==0.3.4",
|
|
202
203
|
"mkdocstrings[crystal,python]==0.30.0",
|
|
203
204
|
"mkdocstrings-crystal==0.3.7",
|
|
204
205
|
"mkdocstrings-python==1.16.12",
|
|
@@ -207,9 +208,9 @@ docs = [
|
|
|
207
208
|
"natsort==8.4.0",
|
|
208
209
|
]
|
|
209
210
|
test = [
|
|
210
|
-
"ag2[redis]==0.9.
|
|
211
|
-
"ag2[websockets]==0.9.
|
|
212
|
-
"fakeredis==2.30.
|
|
211
|
+
"ag2[redis]==0.9.7",
|
|
212
|
+
"ag2[websockets]==0.9.7",
|
|
213
|
+
"fakeredis==2.30.3",
|
|
213
214
|
"paho-mqtt>=2.1.0,<3.0",
|
|
214
215
|
"pytest==8.4.1",
|
|
215
216
|
"pytest-asyncio==1.1.0",
|
|
@@ -499,7 +500,7 @@ exclude_dirs = [
|
|
|
499
500
|
# B104: bind to all interfaces (0.0.0.0)
|
|
500
501
|
# B110: allow pass on try/except
|
|
501
502
|
# B404: allow import subprocess
|
|
502
|
-
# B602, B603: allow shell=True (subprocess,popen)
|
|
503
|
+
# B602, B603: allow shell=True (subprocess, popen)
|
|
503
504
|
skips = ["B104", "B110", "B404", "B602", "B603"]
|
|
504
505
|
[tool.bandit.assert_used]
|
|
505
506
|
skips = ["*_test.py", "*/test_*.py"]
|
|
@@ -100,6 +100,19 @@ def run(
|
|
|
100
100
|
False,
|
|
101
101
|
help="Override the output file if it already exists.",
|
|
102
102
|
),
|
|
103
|
+
env_file: Optional[Path] = typer.Option( # noqa: B008
|
|
104
|
+
None,
|
|
105
|
+
"--env-file",
|
|
106
|
+
"-e",
|
|
107
|
+
help=(
|
|
108
|
+
"Path to a .env file containing additional environment variables. "
|
|
109
|
+
"These variables will be set before running the flow."
|
|
110
|
+
),
|
|
111
|
+
file_okay=True,
|
|
112
|
+
dir_okay=False,
|
|
113
|
+
readable=True,
|
|
114
|
+
resolve_path=True,
|
|
115
|
+
),
|
|
103
116
|
) -> None:
|
|
104
117
|
"""Run a Waldiez flow."""
|
|
105
118
|
os.environ["AUTOGEN_USE_DOCKER"] = "0"
|
|
@@ -126,6 +139,7 @@ def run(
|
|
|
126
139
|
structured, # structured_io
|
|
127
140
|
False, # skip_mmd
|
|
128
141
|
False, # skip_timeline
|
|
142
|
+
env_file,
|
|
129
143
|
)
|
|
130
144
|
else:
|
|
131
145
|
runner.run(
|
|
@@ -134,6 +148,7 @@ def run(
|
|
|
134
148
|
structured_io=structured,
|
|
135
149
|
skip_mmd=False,
|
|
136
150
|
skip_timeline=False,
|
|
151
|
+
dot_env=env_file,
|
|
137
152
|
)
|
|
138
153
|
|
|
139
154
|
|
|
@@ -157,7 +172,7 @@ def convert(
|
|
|
157
172
|
"Path to the output file. "
|
|
158
173
|
"The file extension determines the output format: "
|
|
159
174
|
"`.py` for Python script, `.ipynb` for Jupyter notebook."
|
|
160
|
-
" If not provided, the output will be saved in the same directory as the input file."
|
|
175
|
+
" If not provided, the output (.py) will be saved in the same directory as the input file."
|
|
161
176
|
" If the file already exists, it will not be overwritten unless --force is used."
|
|
162
177
|
),
|
|
163
178
|
file_okay=True,
|
|
@@ -230,7 +245,7 @@ def _get_output_path(output: Optional[Path], force: bool) -> Optional[Path]:
|
|
|
230
245
|
if output is not None and not output.parent.exists():
|
|
231
246
|
output.parent.mkdir(parents=True)
|
|
232
247
|
if output is not None and output.exists():
|
|
233
|
-
if force
|
|
248
|
+
if not force:
|
|
234
249
|
LOG.error("Output file already exists.")
|
|
235
250
|
raise typer.Exit(code=1)
|
|
236
251
|
output.unlink()
|
|
@@ -97,7 +97,7 @@ class WaldiezExporter:
|
|
|
97
97
|
if path.is_dir():
|
|
98
98
|
raise IsADirectoryError(f"Output is a directory: {path}")
|
|
99
99
|
if path.exists():
|
|
100
|
-
if force
|
|
100
|
+
if not force:
|
|
101
101
|
raise FileExistsError(f"File already exists: {path}")
|
|
102
102
|
path.unlink(missing_ok=True)
|
|
103
103
|
path.parent.mkdir(parents=True, exist_ok=True)
|