waldiez 0.4.4__tar.gz → 0.4.6__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.4.6/.gitignore +44 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/LICENSE +2 -2
- waldiez-0.4.6/NOTICE.md +14 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/PKG-INFO +109 -41
- waldiez-0.4.6/README.md +205 -0
- waldiez-0.4.6/pyproject.toml +393 -0
- waldiez-0.4.6/waldiez/__init__.py +38 -0
- waldiez-0.4.6/waldiez/_version.py +8 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/cli.py +19 -4
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporter.py +8 -4
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/utils/captain_agent.py +4 -1
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/utils/group_manager.py +0 -1
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/utils/rag_user/rag_user.py +1 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/utils/swarm_agent.py +1 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/base/base_exporter.py +2 -2
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/base/mixin.py +3 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/base/utils/comments.py +2 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/chats/utils/sequential.py +1 -1
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/chats/utils/single_chat.py +3 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/chats/utils/swarm.py +3 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/flow/flow_exporter.py +2 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/flow/utils/def_main.py +1 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/flow/utils/flow_content.py +3 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/flow/utils/flow_names.py +1 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/flow/utils/importing_utils.py +1 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/flow/utils/logging_utils.py +8 -8
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/skills/skills_exporter.py +1 -1
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/skills/utils.py +5 -3
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/__init__.py +1 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/agent/agent.py +1 -1
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/agent/termination_message.py +1 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/group_manager/speakers.py +1 -1
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/rag_user/retrieve_config.py +1 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/swarm_agent/after_work.py +0 -1
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/swarm_agent/on_condition.py +1 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/swarm_agent/on_condition_available.py +1 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/chat/chat.py +2 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/chat/chat_message.py +1 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/common/ag2_version.py +2 -2
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/common/method_utils.py +11 -2
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/flow/flow.py +1 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/model/extra_requirements.py +2 -2
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/skill/extra_requirements.py +3 -6
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/waldiez.py +9 -8
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/runner.py +4 -2
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/running/__init__.py +2 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/running/environment.py +21 -1
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/running/gen_seq_diagram.py +3 -2
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/running/running.py +3 -2
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/utils/__init__.py +2 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/utils/conflict_checker.py +3 -3
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/utils/pysqlite3_checker.py +63 -21
- waldiez-0.4.6/waldiez/utils/rdps_checker.py +122 -0
- waldiez-0.4.4/.gitignore +0 -29
- waldiez-0.4.4/NOTICE.md +0 -5
- waldiez-0.4.4/README.md +0 -141
- waldiez-0.4.4/pyproject.toml +0 -392
- waldiez-0.4.4/waldiez/__init__.py +0 -30
- waldiez-0.4.4/waldiez/_version.py +0 -5
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/__main__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/agent_exporter.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/utils/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/utils/code_execution.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/utils/rag_user/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/utils/rag_user/chroma_utils.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/utils/rag_user/mongo_utils.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/utils/rag_user/pgvector_utils.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/utils/rag_user/qdrant_utils.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/utils/rag_user/vector_db.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/utils/reasoning.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/utils/teachability.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/agent/utils/termination_message.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/base/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/base/agent_position.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/base/export_position.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/base/import_position.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/base/utils/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/base/utils/naming.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/base/utils/path_check.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/base/utils/to_string.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/chats/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/chats/chats_exporter.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/chats/utils/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/chats/utils/common.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/chats/utils/nested.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/flow/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/flow/utils/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/flow/utils/agent_utils.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/flow/utils/chat_utils.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/models/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/models/models_exporter.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/models/utils.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/exporting/skills/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/agent/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/agent/agent_data.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/agent/agent_type.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/agent/code_execution.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/agent/linked_skill.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/agent/nested_chat.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/agent/teachability.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/agents.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/assistant/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/assistant/assistant.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/assistant/assistant_data.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/captain_agent/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/captain_agent/captain_agent.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/captain_agent/captain_agent_data.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/captain_agent/captain_agent_lib_entry.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/extra_requirements.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/group_manager/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/group_manager/group_manager.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/group_manager/group_manager_data.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/rag_user/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/rag_user/rag_user.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/rag_user/rag_user_data.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/rag_user/vector_db_config.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/reasoning/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/reasoning/reasoning_agent.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/reasoning/reasoning_agent_data.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/reasoning/reasoning_agent_reason_config.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/swarm_agent/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/swarm_agent/on_condition_target.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/swarm_agent/swarm_agent.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/swarm_agent/swarm_agent_data.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/swarm_agent/update_system_message.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/user_proxy/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/user_proxy/user_proxy.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/agents/user_proxy/user_proxy_data.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/chat/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/chat/chat_data.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/chat/chat_nested.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/chat/chat_summary.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/common/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/common/base.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/common/date_utils.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/common/dict_utils.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/flow/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/flow/flow_data.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/flow/utils.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/model/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/model/model.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/model/model_data.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/skill/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/skill/skill.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/skill/skill_data.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/models/skill/skill_type.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/py.typed +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/utils/cli_extras/__init__.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/utils/cli_extras/jupyter.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/utils/cli_extras/runner.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/utils/cli_extras/studio.py +0 -0
- {waldiez-0.4.4 → waldiez-0.4.6}/waldiez/utils/flaml_warnings.py +0 -0
waldiez-0.4.6/.gitignore
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
.local/
|
|
2
|
+
.venv/
|
|
3
|
+
node_modules/
|
|
4
|
+
.cache/
|
|
5
|
+
build/
|
|
6
|
+
dist/
|
|
7
|
+
lib/
|
|
8
|
+
site/
|
|
9
|
+
out/
|
|
10
|
+
public/vs
|
|
11
|
+
public/min-maps
|
|
12
|
+
public/monaco.json
|
|
13
|
+
**/coverage/
|
|
14
|
+
**/waldiez_out/
|
|
15
|
+
**/logs/
|
|
16
|
+
**/tmp/
|
|
17
|
+
**/documents/
|
|
18
|
+
**/.env
|
|
19
|
+
*.log
|
|
20
|
+
__pycache__/
|
|
21
|
+
*.py[cod]
|
|
22
|
+
*.egg
|
|
23
|
+
.pytest_cache/
|
|
24
|
+
.mypy_cache/
|
|
25
|
+
.dmypy.json
|
|
26
|
+
dmypy.json
|
|
27
|
+
.ruff_cache/
|
|
28
|
+
.DS_Store
|
|
29
|
+
.coverage
|
|
30
|
+
**/*.coverage*
|
|
31
|
+
**/*_db
|
|
32
|
+
**/*cache
|
|
33
|
+
**/*.log
|
|
34
|
+
**/*.pid
|
|
35
|
+
**/*.buildinfo
|
|
36
|
+
**/*.tsbuildinfo
|
|
37
|
+
**/*.egg-info
|
|
38
|
+
**/.DS_Store
|
|
39
|
+
waldiez/_version.py
|
|
40
|
+
**/*.mmd
|
|
41
|
+
docs/reference/react
|
|
42
|
+
docs/reference/react/assets
|
|
43
|
+
.uv
|
|
44
|
+
!**/.env.example
|
|
@@ -186,13 +186,13 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
|
193
193
|
You may obtain a copy of the License at
|
|
194
194
|
|
|
195
|
-
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
196
|
|
|
197
197
|
Unless required by applicable law or agreed to in writing, software
|
|
198
198
|
distributed under the License is distributed on an "AS IS" BASIS,
|
waldiez-0.4.6/NOTICE.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# NOTICE
|
|
2
|
+
|
|
3
|
+
Copyright 2024 - 2025 Waldiez and contributors.
|
|
4
|
+
|
|
5
|
+
This Work includes Software developed by Waldiez (<https://waldiez.io/>).
|
|
6
|
+
|
|
7
|
+
## Trademarks
|
|
8
|
+
|
|
9
|
+
You may use our Mark, but not the Project's logos, to truthfully describe the relationship between your software and ours. Our Mark should be used after a verb or preposition that describes the relationship between your software and ours. So you may say, for example, "Bob's software for the Waldiez platform" but may not say "Bob's Waldiez software." Some other examples that may work for you are:
|
|
10
|
+
|
|
11
|
+
- *[Your software]* uses software developed by Waldiez
|
|
12
|
+
- *[Your software]* is powered by Waldiez software
|
|
13
|
+
- *[Your software]* runs using software developed by Waldiez
|
|
14
|
+
- *[Your software]* for use with software developed by Waldiez
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: waldiez
|
|
3
|
-
Version: 0.4.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Project-URL:
|
|
7
|
-
Project-URL:
|
|
8
|
-
Project-URL:
|
|
9
|
-
Author-email: Panagiotis Kasnesis <pkasnesis@waldiez.io>, Lazaros Toumanidis <laztoum@waldiez.io>, Stella Ioannidou <stella@
|
|
3
|
+
Version: 0.4.6
|
|
4
|
+
Dynamic: Keywords
|
|
5
|
+
Summary: Make AG2 Agents Collaborate: Drag, Drop, and Orchestrate with Waldiez.
|
|
6
|
+
Project-URL: Homepage, https://waldiez.io
|
|
7
|
+
Project-URL: Bug Tracker, https://github.com/waldiez/waldiez/issues
|
|
8
|
+
Project-URL: Repository, https://github.com/waldiez/waldiez.git
|
|
9
|
+
Author-email: Panagiotis Kasnesis <pkasnesis@waldiez.io>, Lazaros Toumanidis <laztoum@waldiez.io>, Stella Ioannidou <stella@waldiez.io>
|
|
10
10
|
License-File: LICENSE
|
|
11
11
|
License-File: NOTICE.md
|
|
12
12
|
Classifier: Development Status :: 3 - Alpha
|
|
@@ -21,6 +21,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.13
|
|
23
23
|
Requires-Python: <3.14,>=3.10
|
|
24
|
+
Requires-Dist: ag2[openai]==0.8.7
|
|
24
25
|
Requires-Dist: aiocsv==1.3.2
|
|
25
26
|
Requires-Dist: aiofiles==24.1.0
|
|
26
27
|
Requires-Dist: aiosqlite==0.21.0
|
|
@@ -32,10 +33,26 @@ Requires-Dist: nest-asyncio==1.6.0
|
|
|
32
33
|
Requires-Dist: numpy<=2.2.5
|
|
33
34
|
Requires-Dist: pandas>=2
|
|
34
35
|
Requires-Dist: parso==0.8.4
|
|
35
|
-
Requires-Dist:
|
|
36
|
+
Requires-Dist: pillow>=10.0.0
|
|
36
37
|
Requires-Dist: pydantic<3,>=2.10.2
|
|
37
38
|
Requires-Dist: typer<0.16,>=0.9
|
|
38
39
|
Provides-Extra: ag2-extras
|
|
40
|
+
Requires-Dist: ag2[anthropic]==0.8.7; extra == 'ag2-extras'
|
|
41
|
+
Requires-Dist: ag2[bedrock]==0.8.7; extra == 'ag2-extras'
|
|
42
|
+
Requires-Dist: ag2[cohere]==0.8.7; extra == 'ag2-extras'
|
|
43
|
+
Requires-Dist: ag2[gemini]==0.8.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
44
|
+
Requires-Dist: ag2[gemini]==0.8.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
45
|
+
Requires-Dist: ag2[groq]==0.8.7; extra == 'ag2-extras'
|
|
46
|
+
Requires-Dist: ag2[interop-crewai]==0.8.7; extra == 'ag2-extras'
|
|
47
|
+
Requires-Dist: ag2[interop-langchain]==0.8.7; extra == 'ag2-extras'
|
|
48
|
+
Requires-Dist: ag2[lmm]==0.8.7; extra == 'ag2-extras'
|
|
49
|
+
Requires-Dist: ag2[mistral]==0.8.7; extra == 'ag2-extras'
|
|
50
|
+
Requires-Dist: ag2[neo4j]==0.8.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
51
|
+
Requires-Dist: ag2[neo4j]==0.8.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
52
|
+
Requires-Dist: ag2[ollama]==0.8.7; extra == 'ag2-extras'
|
|
53
|
+
Requires-Dist: ag2[together]==0.8.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
54
|
+
Requires-Dist: ag2[together]==0.8.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
55
|
+
Requires-Dist: ag2[websurfer]==0.8.7; extra == 'ag2-extras'
|
|
39
56
|
Requires-Dist: beautifulsoup4; extra == 'ag2-extras'
|
|
40
57
|
Requires-Dist: chromadb>=0.5.10; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
41
58
|
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'
|
|
@@ -59,22 +76,6 @@ Requires-Dist: psycopg==3.2.6; (sys_platform == 'win32' and platform_machine ==
|
|
|
59
76
|
Requires-Dist: psycopg>=3.2.6; (sys_platform == 'win32') and extra == 'ag2-extras'
|
|
60
77
|
Requires-Dist: psycopg[binary]==3.2.6; (sys_platform != 'linux' and platform_machine != 'arm64' and platform_machine != 'ARM64' and platform_machine != 'aarch64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
61
78
|
Requires-Dist: psycopg[binary]>=3.2.6; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
62
|
-
Requires-Dist: pyautogen[anthropic]==0.8.7; extra == 'ag2-extras'
|
|
63
|
-
Requires-Dist: pyautogen[bedrock]==0.8.7; extra == 'ag2-extras'
|
|
64
|
-
Requires-Dist: pyautogen[cohere]==0.8.7; extra == 'ag2-extras'
|
|
65
|
-
Requires-Dist: pyautogen[gemini]==0.8.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
66
|
-
Requires-Dist: pyautogen[gemini]==0.8.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
67
|
-
Requires-Dist: pyautogen[groq]==0.8.7; extra == 'ag2-extras'
|
|
68
|
-
Requires-Dist: pyautogen[interop-crewai]==0.8.7; extra == 'ag2-extras'
|
|
69
|
-
Requires-Dist: pyautogen[interop-langchain]==0.8.7; extra == 'ag2-extras'
|
|
70
|
-
Requires-Dist: pyautogen[lmm]==0.8.7; extra == 'ag2-extras'
|
|
71
|
-
Requires-Dist: pyautogen[mistral]==0.8.7; extra == 'ag2-extras'
|
|
72
|
-
Requires-Dist: pyautogen[neo4j]==0.8.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
73
|
-
Requires-Dist: pyautogen[neo4j]==0.8.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
74
|
-
Requires-Dist: pyautogen[ollama]==0.8.7; extra == 'ag2-extras'
|
|
75
|
-
Requires-Dist: pyautogen[together]==0.8.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
76
|
-
Requires-Dist: pyautogen[together]==0.8.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
77
|
-
Requires-Dist: pyautogen[websurfer]==0.8.7; extra == 'ag2-extras'
|
|
78
79
|
Requires-Dist: pydantic-ai>=0.0.21; extra == 'ag2-extras'
|
|
79
80
|
Requires-Dist: pymongo>=4.11; extra == 'ag2-extras'
|
|
80
81
|
Requires-Dist: pypdf; extra == 'ag2-extras'
|
|
@@ -88,7 +89,7 @@ Requires-Dist: autoflake==2.3.1; extra == 'dev'
|
|
|
88
89
|
Requires-Dist: bandit==1.8.3; extra == 'dev'
|
|
89
90
|
Requires-Dist: black[jupyter]==25.1.0; extra == 'dev'
|
|
90
91
|
Requires-Dist: flake8==7.2.0; extra == 'dev'
|
|
91
|
-
Requires-Dist:
|
|
92
|
+
Requires-Dist: hatchling==1.27.0; extra == 'dev'
|
|
92
93
|
Requires-Dist: jupyter-server==2.15.0; extra == 'dev'
|
|
93
94
|
Requires-Dist: jupyterlab>=4.3.0; extra == 'dev'
|
|
94
95
|
Requires-Dist: mypy==1.15.0; extra == 'dev'
|
|
@@ -97,46 +98,52 @@ Requires-Dist: pre-commit==4.2.0; extra == 'dev'
|
|
|
97
98
|
Requires-Dist: pydocstyle==6.3.0; extra == 'dev'
|
|
98
99
|
Requires-Dist: pylint==3.3.6; extra == 'dev'
|
|
99
100
|
Requires-Dist: python-dotenv==1.1.0; extra == 'dev'
|
|
100
|
-
Requires-Dist: ruff==0.11.
|
|
101
|
+
Requires-Dist: ruff==0.11.8; extra == 'dev'
|
|
101
102
|
Requires-Dist: toml==0.10.2; (python_version <= '3.10') and extra == 'dev'
|
|
102
103
|
Requires-Dist: types-pyyaml==6.0.12.20250402; extra == 'dev'
|
|
104
|
+
Requires-Dist: types-requests==2.32.0.20250328; extra == 'dev'
|
|
103
105
|
Requires-Dist: types-toml==0.10.8.20240310; extra == 'dev'
|
|
104
|
-
Requires-Dist: yamllint==1.37.
|
|
106
|
+
Requires-Dist: yamllint==1.37.1; extra == 'dev'
|
|
105
107
|
Provides-Extra: docs
|
|
106
108
|
Requires-Dist: mdx-include==1.4.2; extra == 'docs'
|
|
107
109
|
Requires-Dist: mdx-truly-sane-lists==1.3; extra == 'docs'
|
|
110
|
+
Requires-Dist: mkdocs-awesome-nav; extra == 'docs'
|
|
108
111
|
Requires-Dist: mkdocs-jupyter==0.25.1; extra == 'docs'
|
|
109
112
|
Requires-Dist: mkdocs-macros-plugin==1.3.7; extra == 'docs'
|
|
110
113
|
Requires-Dist: mkdocs-material==9.6.12; extra == 'docs'
|
|
111
114
|
Requires-Dist: mkdocs-minify-html-plugin==0.3.1; extra == 'docs'
|
|
115
|
+
Requires-Dist: mkdocs-open-in-new-tab==1.0.8; extra == 'docs'
|
|
112
116
|
Requires-Dist: mkdocs==1.6.1; extra == 'docs'
|
|
113
117
|
Requires-Dist: mkdocstrings-python==1.16.10; extra == 'docs'
|
|
114
118
|
Requires-Dist: mkdocstrings[crystal,python]==0.29.1; extra == 'docs'
|
|
115
119
|
Provides-Extra: jupyter
|
|
116
120
|
Requires-Dist: jupyter-server==2.15.0; extra == 'jupyter'
|
|
117
121
|
Requires-Dist: jupyterlab>=4.3.0; extra == 'jupyter'
|
|
118
|
-
Requires-Dist: waldiez-jupyter==0.4.
|
|
122
|
+
Requires-Dist: waldiez-jupyter==0.4.6; extra == 'jupyter'
|
|
119
123
|
Provides-Extra: runner
|
|
120
|
-
Requires-Dist: waldiez-runner==0.4.
|
|
124
|
+
Requires-Dist: waldiez-runner==0.4.6; (python_version >= '3.11') and extra == 'runner'
|
|
121
125
|
Provides-Extra: studio
|
|
122
|
-
Requires-Dist: waldiez-studio==0.4.
|
|
126
|
+
Requires-Dist: waldiez-studio==0.4.6; extra == 'studio'
|
|
123
127
|
Provides-Extra: test
|
|
124
128
|
Requires-Dist: pytest-asyncio==0.26.0; extra == 'test'
|
|
125
129
|
Requires-Dist: pytest-cov==6.1.1; extra == 'test'
|
|
126
130
|
Requires-Dist: pytest-html==4.1.1; extra == 'test'
|
|
127
131
|
Requires-Dist: pytest-sugar==1.0.0; extra == 'test'
|
|
128
|
-
Requires-Dist: pytest-timeout==2.
|
|
132
|
+
Requires-Dist: pytest-timeout==2.4.0; extra == 'test'
|
|
129
133
|
Requires-Dist: pytest-xdist==3.6.1; extra == 'test'
|
|
130
134
|
Requires-Dist: pytest==8.3.5; extra == 'test'
|
|
131
135
|
Description-Content-Type: text/markdown
|
|
132
136
|
|
|
133
137
|
# Waldiez
|
|
134
138
|
|
|
135
|
-
 [](https://coveralls.io/github/waldiez/python) [](https://badge.fury.io/py/waldiez)
|
|
139
|
+
 [](https://coveralls.io/github/waldiez/python) [](https://pepy.tech/projects/waldiez) [](https://badge.fury.io/py/waldiez) [](https://badge.fury.io/js/@waldiez%2Freact)
|
|
136
140
|
|
|
137
|
-
|
|
141
|
+
## Make AG2 Agents Collaborate: Drag, Drop, and Orchestrate with Waldiez
|
|
138
142
|
|
|
139
|
-
|
|
143
|
+
Design AI Agents and translate a Waldiez flow to AG2:
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
https://github.com/user-attachments/assets/71d4b8d1-a24b-45ab-ab53-dfc193e8fcaa
|
|
140
147
|
|
|
141
148
|
To a python script or a jupyter notebook with the corresponding [ag2](https://github.com/ag2ai/ag2/) agents and chats.
|
|
142
149
|
|
|
@@ -148,16 +155,36 @@ To a python script or a jupyter notebook with the corresponding [ag2](https://gi
|
|
|
148
155
|
|
|
149
156
|
## Installation
|
|
150
157
|
|
|
158
|
+
### Python
|
|
159
|
+
|
|
151
160
|
On PyPI:
|
|
152
161
|
|
|
153
|
-
```
|
|
162
|
+
```shell
|
|
154
163
|
python -m pip install waldiez
|
|
155
164
|
```
|
|
156
165
|
|
|
157
166
|
From the repository:
|
|
158
167
|
|
|
159
|
-
```
|
|
160
|
-
python -m pip install git+https://github.com/waldiez/
|
|
168
|
+
```shell
|
|
169
|
+
python -m pip install git+https://github.com/waldiez/waldiez.git
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### React Component
|
|
173
|
+
|
|
174
|
+
If you’re looking for the React component, please refer to [README.npm](https://github.com/waldiez/waldiez/blob/main/README.npm.md).
|
|
175
|
+
|
|
176
|
+
> Note: The React component is only for creating and editing flows — it is not needed to convert or run flows (that functionality is handled by the Python package).
|
|
177
|
+
|
|
178
|
+
Quick install:
|
|
179
|
+
|
|
180
|
+
```shell
|
|
181
|
+
npm install @waldiez/react
|
|
182
|
+
# or
|
|
183
|
+
yarn add @waldiez/react
|
|
184
|
+
# or
|
|
185
|
+
pnpm add @waldiez/react
|
|
186
|
+
# or
|
|
187
|
+
bun add @waldiez/react
|
|
161
188
|
```
|
|
162
189
|
|
|
163
190
|
## Usage
|
|
@@ -165,7 +192,6 @@ python -m pip install git+https://github.com/waldiez/python.git
|
|
|
165
192
|
### UI Options
|
|
166
193
|
|
|
167
194
|
- For creating-only (no exporting or running) waldiez flows, you can use the playground at <https://waldiez.github.io>.
|
|
168
|
-
The repo for the js library is [here](https://github.com/waldiez/react).
|
|
169
195
|
- There is also a jupyterlab extension [here](https://github.com/waldiez/jupyter)
|
|
170
196
|
- You also can use the vscode extension:
|
|
171
197
|
- [repo](https://github.com/waldiez/vscode)
|
|
@@ -256,7 +282,7 @@ runner.run(output_path=output_path)
|
|
|
256
282
|
|
|
257
283
|
## Known Conflicts
|
|
258
284
|
|
|
259
|
-
- **autogen-agentchat**: This package conflicts with `ag2
|
|
285
|
+
- **autogen-agentchat**: This package conflicts with `ag2`. Ensure that `autogen-agentchat` is uninstalled before installing `waldiez`. If you have already installed `autogen-agentchat`, you can uninstall it with the following command:
|
|
260
286
|
|
|
261
287
|
```shell
|
|
262
288
|
pip uninstall autogen-agentchat -y
|
|
@@ -265,9 +291,51 @@ runner.run(output_path=output_path)
|
|
|
265
291
|
If already installed waldiez you might need to reinstall it after uninstalling `autogen-agentchat`:
|
|
266
292
|
|
|
267
293
|
```shell
|
|
268
|
-
pip install --force --no-cache waldiez
|
|
294
|
+
pip install --force --no-cache waldiez ag2
|
|
269
295
|
```
|
|
270
296
|
|
|
297
|
+
## See also
|
|
298
|
+
|
|
299
|
+
- [Waldiez Playground](https://waldiez.github.io)
|
|
300
|
+
- [React Component](https://github.com/waldiez/waldiez/blob/main/README.npm.md)
|
|
301
|
+
- [Waldiez Studio](https://github.com/waldiez/studio)
|
|
302
|
+
- [Waldiez JupyterLab Extension](https://github.com/waldiez/jupyter)
|
|
303
|
+
- [Waldiez VSCode Extension](https://github.com/waldiez/vscode)
|
|
304
|
+
|
|
305
|
+
## Contributors ✨
|
|
306
|
+
|
|
307
|
+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
308
|
+
|
|
309
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
310
|
+
<!-- prettier-ignore-start -->
|
|
311
|
+
<!-- markdownlint-disable -->
|
|
312
|
+
<table>
|
|
313
|
+
<tbody>
|
|
314
|
+
<tr>
|
|
315
|
+
<td align="center" valign="top" width="14.28%"><a href="https://scholar.google.com/citations?user=JmW9DwkAAAAJ"><img src="https://avatars.githubusercontent.com/u/29335277?v=4?s=100" width="100px;" alt="Panagiotis Kasnesis"/><br /><sub><b>Panagiotis Kasnesis</b></sub></a><br /><a href="#projectManagement-ounospanas" title="Project Management">📆</a> <a href="#research-ounospanas" title="Research">🔬</a></td>
|
|
316
|
+
<td align="center" valign="top" width="14.28%"><a href="https://humancentered.gr/"><img src="https://avatars.githubusercontent.com/u/3456066?v=4?s=100" width="100px;" alt="Stella Ioannidou"/><br /><sub><b>Stella Ioannidou</b></sub></a><br /><a href="#promotion-siioannidou" title="Promotion">📣</a> <a href="#design-siioannidou" title="Design">🎨</a></td>
|
|
317
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/lazToum"><img src="https://avatars.githubusercontent.com/u/4764837?v=4?s=100" width="100px;" alt="Lazaros Toumanidis"/><br /><sub><b>Lazaros Toumanidis</b></sub></a><br /><a href="https://github.com/waldiez/react/commits?author=lazToum" title="Code">💻</a></td>
|
|
318
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/amaliacontiero"><img src="https://avatars.githubusercontent.com/u/29499343?v=4?s=100" width="100px;" alt="Amalia Contiero"/><br /><sub><b>Amalia Contiero</b></sub></a><br /><a href="https://github.com/waldiez/vscode/commits?author=amaliacontiero" title="Code">💻</a> <a href="https://github.com/waldiez/vscode/issues?q=author%3Aamaliacontiero" title="Bug reports">🐛</a></td>
|
|
319
|
+
</tr>
|
|
320
|
+
</tbody>
|
|
321
|
+
<tfoot>
|
|
322
|
+
<tr>
|
|
323
|
+
<td align="center" size="13px" colspan="7">
|
|
324
|
+
<img src="https://raw.githubusercontent.com/all-contributors/all-contributors-cli/1b8533af435da9854653492b1327a23a4dbd0a10/assets/logo-small.svg">
|
|
325
|
+
<a href="https://all-contributors.js.org/docs/en/bot/usage">Add your contributions</a>
|
|
326
|
+
</img>
|
|
327
|
+
</td>
|
|
328
|
+
</tr>
|
|
329
|
+
</tfoot>
|
|
330
|
+
</table>
|
|
331
|
+
|
|
332
|
+
<!-- markdownlint-restore -->
|
|
333
|
+
<!-- prettier-ignore-end -->
|
|
334
|
+
|
|
335
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
336
|
+
|
|
337
|
+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
|
338
|
+
|
|
271
339
|
## License
|
|
272
340
|
|
|
273
|
-
This project is licensed under the [Apache License, Version 2.0 (Apache-2.0)](https://github.com/waldiez/
|
|
341
|
+
This project is licensed under the [Apache License, Version 2.0 (Apache-2.0)](https://github.com/waldiez/waldiez/blob/main/LICENSE).
|
waldiez-0.4.6/README.md
ADDED
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
# Waldiez
|
|
2
|
+
|
|
3
|
+
 [](https://coveralls.io/github/waldiez/python) [](https://pepy.tech/projects/waldiez) [](https://badge.fury.io/py/waldiez) [](https://badge.fury.io/js/@waldiez%2Freact)
|
|
4
|
+
|
|
5
|
+
## Make AG2 Agents Collaborate: Drag, Drop, and Orchestrate with Waldiez
|
|
6
|
+
|
|
7
|
+
Design AI Agents and translate a Waldiez flow to AG2:
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
https://github.com/user-attachments/assets/71d4b8d1-a24b-45ab-ab53-dfc193e8fcaa
|
|
11
|
+
|
|
12
|
+
To a python script or a jupyter notebook with the corresponding [ag2](https://github.com/ag2ai/ag2/) agents and chats.
|
|
13
|
+
|
|
14
|
+
## Features
|
|
15
|
+
|
|
16
|
+
- Convert .waldiez flows to .py or .ipynb
|
|
17
|
+
- Run a .waldiez flow
|
|
18
|
+
- Store the runtime logs of a flow to csv for further analysis
|
|
19
|
+
|
|
20
|
+
## Installation
|
|
21
|
+
|
|
22
|
+
### Python
|
|
23
|
+
|
|
24
|
+
On PyPI:
|
|
25
|
+
|
|
26
|
+
```shell
|
|
27
|
+
python -m pip install waldiez
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
From the repository:
|
|
31
|
+
|
|
32
|
+
```shell
|
|
33
|
+
python -m pip install git+https://github.com/waldiez/waldiez.git
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### React Component
|
|
37
|
+
|
|
38
|
+
If you’re looking for the React component, please refer to [README.npm](https://github.com/waldiez/waldiez/blob/main/README.npm.md).
|
|
39
|
+
|
|
40
|
+
> Note: The React component is only for creating and editing flows — it is not needed to convert or run flows (that functionality is handled by the Python package).
|
|
41
|
+
|
|
42
|
+
Quick install:
|
|
43
|
+
|
|
44
|
+
```shell
|
|
45
|
+
npm install @waldiez/react
|
|
46
|
+
# or
|
|
47
|
+
yarn add @waldiez/react
|
|
48
|
+
# or
|
|
49
|
+
pnpm add @waldiez/react
|
|
50
|
+
# or
|
|
51
|
+
bun add @waldiez/react
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Usage
|
|
55
|
+
|
|
56
|
+
### UI Options
|
|
57
|
+
|
|
58
|
+
- For creating-only (no exporting or running) waldiez flows, you can use the playground at <https://waldiez.github.io>.
|
|
59
|
+
- There is also a jupyterlab extension [here](https://github.com/waldiez/jupyter)
|
|
60
|
+
- You also can use the vscode extension:
|
|
61
|
+
- [repo](https://github.com/waldiez/vscode)
|
|
62
|
+
- [marketplace](https://marketplace.visualstudio.com/items?itemName=Waldiez.waldiez-vscode)
|
|
63
|
+
- Finally, you can use [waldiez-studio](https://github.com/waldiez/studio), which includes a FastAPI app to handle the conversion and running of waldiez flows.
|
|
64
|
+
|
|
65
|
+
The jupyterlab extension and waldiez studio are also provided as extras in the main package.
|
|
66
|
+
|
|
67
|
+
```shell
|
|
68
|
+
pip install waldiez[studio] # or pip install waldiez_studio
|
|
69
|
+
pip install waldiez[jupyter] # or pip install waldiez_jupyter
|
|
70
|
+
# or both
|
|
71
|
+
pip install waldiez[studio,jupyter]
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### CLI
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
# Convert a Waldiez flow to a python script or a jupyter notebook
|
|
78
|
+
waldiez convert --file /path/to/a/flow.waldiez --output /path/to/an/output/flow[.py|.ipynb]
|
|
79
|
+
# Convert and run the script, optionally force generation if the output file already exists
|
|
80
|
+
waldiez run --file /path/to/a/flow.waldiez --output /path/to/an/output/flow[.py] [--force]
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Using docker/podman
|
|
84
|
+
|
|
85
|
+
```shell
|
|
86
|
+
CONTAINER_COMMAND=docker # or podman
|
|
87
|
+
# pull the image
|
|
88
|
+
$CONTAINER_COMMAND pull waldiez/waldiez
|
|
89
|
+
# Convert a Waldiez flow to a python script or a jupyter notebook
|
|
90
|
+
$CONTAINER_COMMAND run \
|
|
91
|
+
--rm \
|
|
92
|
+
-v /path/to/a/flow.waldiez:/flow.waldiez \
|
|
93
|
+
-v /path/to/an/output:/output \
|
|
94
|
+
waldiez/waldiez convert --file /flow.waldiez --output /output/flow[.py|.ipynb] [--force]
|
|
95
|
+
|
|
96
|
+
# with selinux and/or podman, you might get permission (or file not found) errors, so you can try:
|
|
97
|
+
$CONTAINER_COMMAND run \
|
|
98
|
+
--rm \
|
|
99
|
+
-v /path/to/a/flow.waldiez:/flow.waldiez \
|
|
100
|
+
-v /path/to/an/output:/output \
|
|
101
|
+
--userns=keep-id \
|
|
102
|
+
--security-opt label=disable \
|
|
103
|
+
waldiez/waldiez convert --file /flow.waldiez --output /output/flow[.py|.ipynb] [--force]
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
```shell
|
|
107
|
+
# Convert and run the script
|
|
108
|
+
$CONTAINER_COMMAND run \
|
|
109
|
+
--rm \
|
|
110
|
+
-v /path/to/a/flow.waldiez:/flow.waldiez \
|
|
111
|
+
-v /path/to/an/output:/output \
|
|
112
|
+
waldiez/waldiez run --file /flow.waldiez --output /output/output[.py]
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### As a library
|
|
116
|
+
|
|
117
|
+
#### Export a flow
|
|
118
|
+
|
|
119
|
+
```python
|
|
120
|
+
# Export a Waldiez flow to a python script or a jupyter notebook
|
|
121
|
+
from waldiez import WaldiezExporter
|
|
122
|
+
flow_path = "/path/to/a/flow.waldiez"
|
|
123
|
+
output_path = "/path/to/an/output.py" # or .ipynb
|
|
124
|
+
exporter = WaldiezExporter.load(flow_path)
|
|
125
|
+
exporter.export(output_path)
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
#### Run a flow
|
|
129
|
+
|
|
130
|
+
```python
|
|
131
|
+
# Run a flow
|
|
132
|
+
from waldiez import WaldiezRunner
|
|
133
|
+
flow_path = "/path/to/a/flow.waldiez"
|
|
134
|
+
output_path = "/path/to/an/output.py"
|
|
135
|
+
runner = WaldiezRunner.load(flow_path)
|
|
136
|
+
runner.run(output_path=output_path)
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Tools
|
|
140
|
+
|
|
141
|
+
- [ag2 (formerly AutoGen)](https://github.com/ag2ai/ag2)
|
|
142
|
+
- [juptytext](https://github.com/mwouts/jupytext)
|
|
143
|
+
- [pydantic](https://github.com/pydantic/pydantic)
|
|
144
|
+
- [typer](https://github.com/fastapi/typer)
|
|
145
|
+
- [asyncer](https://github.com/fastapi/asyncer)
|
|
146
|
+
|
|
147
|
+
## Known Conflicts
|
|
148
|
+
|
|
149
|
+
- **autogen-agentchat**: This package conflicts with `ag2`. Ensure that `autogen-agentchat` is uninstalled before installing `waldiez`. If you have already installed `autogen-agentchat`, you can uninstall it with the following command:
|
|
150
|
+
|
|
151
|
+
```shell
|
|
152
|
+
pip uninstall autogen-agentchat -y
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
If already installed waldiez you might need to reinstall it after uninstalling `autogen-agentchat`:
|
|
156
|
+
|
|
157
|
+
```shell
|
|
158
|
+
pip install --force --no-cache waldiez ag2
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
## See also
|
|
162
|
+
|
|
163
|
+
- [Waldiez Playground](https://waldiez.github.io)
|
|
164
|
+
- [React Component](https://github.com/waldiez/waldiez/blob/main/README.npm.md)
|
|
165
|
+
- [Waldiez Studio](https://github.com/waldiez/studio)
|
|
166
|
+
- [Waldiez JupyterLab Extension](https://github.com/waldiez/jupyter)
|
|
167
|
+
- [Waldiez VSCode Extension](https://github.com/waldiez/vscode)
|
|
168
|
+
|
|
169
|
+
## Contributors ✨
|
|
170
|
+
|
|
171
|
+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
172
|
+
|
|
173
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
174
|
+
<!-- prettier-ignore-start -->
|
|
175
|
+
<!-- markdownlint-disable -->
|
|
176
|
+
<table>
|
|
177
|
+
<tbody>
|
|
178
|
+
<tr>
|
|
179
|
+
<td align="center" valign="top" width="14.28%"><a href="https://scholar.google.com/citations?user=JmW9DwkAAAAJ"><img src="https://avatars.githubusercontent.com/u/29335277?v=4?s=100" width="100px;" alt="Panagiotis Kasnesis"/><br /><sub><b>Panagiotis Kasnesis</b></sub></a><br /><a href="#projectManagement-ounospanas" title="Project Management">📆</a> <a href="#research-ounospanas" title="Research">🔬</a></td>
|
|
180
|
+
<td align="center" valign="top" width="14.28%"><a href="https://humancentered.gr/"><img src="https://avatars.githubusercontent.com/u/3456066?v=4?s=100" width="100px;" alt="Stella Ioannidou"/><br /><sub><b>Stella Ioannidou</b></sub></a><br /><a href="#promotion-siioannidou" title="Promotion">📣</a> <a href="#design-siioannidou" title="Design">🎨</a></td>
|
|
181
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/lazToum"><img src="https://avatars.githubusercontent.com/u/4764837?v=4?s=100" width="100px;" alt="Lazaros Toumanidis"/><br /><sub><b>Lazaros Toumanidis</b></sub></a><br /><a href="https://github.com/waldiez/react/commits?author=lazToum" title="Code">💻</a></td>
|
|
182
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/amaliacontiero"><img src="https://avatars.githubusercontent.com/u/29499343?v=4?s=100" width="100px;" alt="Amalia Contiero"/><br /><sub><b>Amalia Contiero</b></sub></a><br /><a href="https://github.com/waldiez/vscode/commits?author=amaliacontiero" title="Code">💻</a> <a href="https://github.com/waldiez/vscode/issues?q=author%3Aamaliacontiero" title="Bug reports">🐛</a></td>
|
|
183
|
+
</tr>
|
|
184
|
+
</tbody>
|
|
185
|
+
<tfoot>
|
|
186
|
+
<tr>
|
|
187
|
+
<td align="center" size="13px" colspan="7">
|
|
188
|
+
<img src="https://raw.githubusercontent.com/all-contributors/all-contributors-cli/1b8533af435da9854653492b1327a23a4dbd0a10/assets/logo-small.svg">
|
|
189
|
+
<a href="https://all-contributors.js.org/docs/en/bot/usage">Add your contributions</a>
|
|
190
|
+
</img>
|
|
191
|
+
</td>
|
|
192
|
+
</tr>
|
|
193
|
+
</tfoot>
|
|
194
|
+
</table>
|
|
195
|
+
|
|
196
|
+
<!-- markdownlint-restore -->
|
|
197
|
+
<!-- prettier-ignore-end -->
|
|
198
|
+
|
|
199
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
200
|
+
|
|
201
|
+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
|
202
|
+
|
|
203
|
+
## License
|
|
204
|
+
|
|
205
|
+
This project is licensed under the [Apache License, Version 2.0 (Apache-2.0)](https://github.com/waldiez/waldiez/blob/main/LICENSE).
|