open-swarm 0.1.1745274459__py3-none-any.whl → 0.1.1745274942__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {open_swarm-0.1.1745274459.dist-info → open_swarm-0.1.1745274942.dist-info}/METADATA +1 -1
  2. {open_swarm-0.1.1745274459.dist-info → open_swarm-0.1.1745274942.dist-info}/RECORD +22 -12
  3. swarm/blueprints/chatbot/README.md +40 -0
  4. swarm/blueprints/chatbot/blueprint_chatbot.py +321 -170
  5. swarm/blueprints/chatbot/metadata.json +23 -0
  6. swarm/blueprints/chucks_angels/README.md +11 -0
  7. swarm/blueprints/chucks_angels/blueprint_chucks_angels.py +7 -0
  8. swarm/blueprints/chucks_angels/test_basic.py +3 -0
  9. swarm/blueprints/digitalbutlers/README.md +11 -0
  10. swarm/blueprints/digitalbutlers/__init__.py +1 -0
  11. swarm/blueprints/digitalbutlers/blueprint_digitalbutlers.py +4 -23
  12. swarm/blueprints/digitalbutlers/test_basic.py +3 -0
  13. swarm/blueprints/divine_code/README.md +3 -0
  14. swarm/blueprints/divine_code/__init__.py +10 -0
  15. swarm/blueprints/divine_code/blueprint_divine_code.py +249 -469
  16. swarm/blueprints/flock/README.md +11 -0
  17. swarm/blueprints/flock/__init__.py +8 -0
  18. swarm/blueprints/flock/blueprint_flock.py +7 -0
  19. swarm/blueprints/flock/test_basic.py +3 -0
  20. swarm/blueprints/codey/session_logs/session_2025-04-19T01-15-31.md +0 -17
  21. swarm/blueprints/codey/session_logs/session_2025-04-19T01-16-03.md +0 -17
  22. {open_swarm-0.1.1745274459.dist-info → open_swarm-0.1.1745274942.dist-info}/WHEEL +0 -0
  23. {open_swarm-0.1.1745274459.dist-info → open_swarm-0.1.1745274942.dist-info}/entry_points.txt +0 -0
  24. {open_swarm-0.1.1745274459.dist-info → open_swarm-0.1.1745274942.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: open-swarm
3
- Version: 0.1.1745274459
3
+ Version: 0.1.1745274942
4
4
  Summary: Open Swarm: Orchestrating AI Agent Swarms with Django
5
5
  Project-URL: Homepage, https://github.com/yourusername/open-swarm
6
6
  Project-URL: Documentation, https://github.com/yourusername/open-swarm/blob/main/README.md
@@ -15,28 +15,38 @@ swarm/wsgi.py,sha256=REM_u4HpMCkO0ddrOUXgtY-ITL-VTbRB1-WHvFJAtAU,408
15
15
  swarm/agent/__init__.py,sha256=YESGu_UXEBxrlQwghodUMN0vmXZDwWMU7DclCUvoklA,104
16
16
  swarm/blueprints/README.md,sha256=scDx32t4UBC3TLgNzUe0dRmlcC2yJH-yY4Pxde1n5_A,9257
17
17
  swarm/blueprints/blueprint_audit_status.json,sha256=6uv6_M8WU5VGr1GhG49_p0-iHHRoi3iDLo-sy5GmuS8,1852
18
- swarm/blueprints/chatbot/blueprint_chatbot.py,sha256=Fuy_kPQUaZtIKoM01aWGjieak1zGTxI8VBVbi-TzHH0,14441
18
+ swarm/blueprints/chatbot/README.md,sha256=cZ-Z8n1ftTa3DhPJHMAvSzJe8afqFIXa-BxvvEhlsHo,1154
19
+ swarm/blueprints/chatbot/blueprint_chatbot.py,sha256=8nP6ldsZKGiXv9LsZMb_3b_5ZwqACtn2VRuXTr8qLsw,20787
20
+ swarm/blueprints/chatbot/metadata.json,sha256=8hqn9YSUepbzklNZbIasIv2-EQEb3ozaWvxeDVHJX4s,790
19
21
  swarm/blueprints/chatbot/templates/chatbot/chatbot.html,sha256=REFnqNg0EHsXxAUfaCJe1YgOKiV_umBXuC6y8veF5CU,1568
22
+ swarm/blueprints/chucks_angels/README.md,sha256=5DZdrSwJqLQpu5EdUsPYpFJ8ydb0gZyAolCdYOB7xBA,211
23
+ swarm/blueprints/chucks_angels/blueprint_chucks_angels.py,sha256=ZHsLxHCWXcwx2jTizpN67I5wrgazZou4y6GoekheiW8,122
24
+ swarm/blueprints/chucks_angels/test_basic.py,sha256=ex92-5RM_5_OflDZhScR_EGSCEsN0o5Ugahm2cRgXX0,137
20
25
  swarm/blueprints/codey/CODEY.md,sha256=JxGcR0INH0dLk_q4ua1D0YdvX99szyESsbbs4dIy5Sc,742
21
26
  swarm/blueprints/codey/README.md,sha256=4P9BdRhhUl65W3m1akp-wooM808P8jFWQHm9jbnDjYE,5266
22
27
  swarm/blueprints/codey/blueprint_codey.py,sha256=t6VSEgier8RHzdcZjsAKD098vzIUpsXIkQHwyrVOzDA,48030
23
28
  swarm/blueprints/codey/codey_cli.py,sha256=ovOlfuvxa8CSQ9v41DT1rww2v966QEYnf6UEyYbVwVc,17579
24
29
  swarm/blueprints/codey/instructions.md,sha256=XMvJngQ23vl7xJQx-Sp5UIME2-JQyyxeZFFtIuOtTOI,1209
25
30
  swarm/blueprints/codey/metadata.json,sha256=wsW0jGIKZ-vzrMSMbOuYtVM8rr4joNIeJ0NBQAiHqu4,775
26
- swarm/blueprints/codey/session_logs/session_2025-04-19T01-15-31.md,sha256=IRzOdr9wisTQYOc0FZQi-4zlX_vickQrq900SNZ9dPU,270
27
- swarm/blueprints/codey/session_logs/session_2025-04-19T01-16-03.md,sha256=2GQcj850IZMz3Fqvet3dynXuTom4ZT7VwoxwWMhgTH8,270
28
31
  swarm/blueprints/common/operation_box_utils.py,sha256=YYntqT6p44r7hxq5GLOS0gyOuInmhvWo1hp6-qKk36Q,3087
29
- swarm/blueprints/digitalbutlers/blueprint_digitalbutlers.py,sha256=AnMjzfIDIj771NLc20Am2OSMqARoTiX8me2TG3-oQDY,1028
30
- swarm/blueprints/divine_code/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
+ swarm/blueprints/digitalbutlers/README.md,sha256=QsUgO7wT5Vdox6zg1FitjUUH3GDrS1zfJwz3GPaQDUw,212
33
+ swarm/blueprints/digitalbutlers/__init__.py,sha256=LnyAuYFoAEfERWtkr99jPv-K5aVWaJ1DJT0KZ59Yp-c,152
34
+ swarm/blueprints/digitalbutlers/blueprint_digitalbutlers.py,sha256=NSSh8oAD1iEIbFfvNNJk_7aJ1AuWLz1imt3WnKSrTSY,126
35
+ swarm/blueprints/digitalbutlers/test_basic.py,sha256=aIhhcGzSNMY_c4_EupL7r1I5eNlmLR4u-fXe9eRaKJw,142
36
+ swarm/blueprints/divine_code/README.md,sha256=ilI203wOX5GSZ7mIYQh-nf9PcYy490yl_7u2LPYfcDo,82
37
+ swarm/blueprints/divine_code/__init__.py,sha256=Wzn252KW4QGhMzZGc8lH6Ltangw4fcGwwWWMDjtudww,844
31
38
  swarm/blueprints/divine_code/apps.py,sha256=k615JHdfOuo_GwfVbC7ah8X9OblkAL2XWm9aLBjmMyY,306
32
- swarm/blueprints/divine_code/blueprint_divine_code.py,sha256=mHe-8h9TNiPzPcAxeLG5FLED9Cf29ffoiuXWCKyKnOc,27285
39
+ swarm/blueprints/divine_code/blueprint_divine_code.py,sha256=EBpDGaEFT5ke63AdoMRxnc-o6SmeGw7MxyQx2gmFzz8,12305
33
40
  swarm/blueprints/django_chat/apps.py,sha256=rn1Eu11c4zZ6DYZeFb6AkCDMoM_dcQTzeNwW-IxXpCI,200
34
41
  swarm/blueprints/django_chat/blueprint_django_chat.py,sha256=rCxfYCcSNEKnzST0Zrq_Y9XHOwnURfbCK3FON5P6F9k,11544
35
42
  swarm/blueprints/django_chat/urls.py,sha256=TTTF3pgymvCYbuxpwi4WRBPv8ftQNH4pEoURT8sEVAg,147
36
43
  swarm/blueprints/django_chat/views.py,sha256=MUKjXXjXsq8jMZtAb4RR9g2mEYrwFemN6Bqxpeyi7p4,1299
37
44
  swarm/blueprints/django_chat/templates/django_chat/django_chat_webpage.html,sha256=wAEOI4Wg0JJ8drXaOcr2Pel6lW3JSHmyIpbocLS5tI8,1649
38
45
  swarm/blueprints/echocraft/blueprint_echocraft.py,sha256=1ttrbOWxGTerlip_lgLzCoCmzPJhDdfEIN6FoxnsP2A,16597
39
- swarm/blueprints/flock/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
+ swarm/blueprints/flock/README.md,sha256=kiwNc3qshVFfD76GirTlKCuKmWVgqf5v8dM8UTo-RvM,203
47
+ swarm/blueprints/flock/__init__.py,sha256=xJE1nyHUagJzrF9xwJAU0q6kAPd_We_jf0ig4YCa7E4,689
48
+ swarm/blueprints/flock/blueprint_flock.py,sha256=Vg1tOD8LxCOp_YBhNeXLbvw_aOfXrV_eHXZhSxZds3o,99
49
+ swarm/blueprints/flock/test_basic.py,sha256=kv0n6JYoYKL-VlASiDbJBAmYJ5TATrEscc9Tzm7_E4M,115
40
50
  swarm/blueprints/geese/README.md,sha256=o5tgiL7cK0m0JdHxMuZ-u8iKuzVO7EQKkuW4gP2mkHU,3699
41
51
  swarm/blueprints/geese/blueprint_geese.py,sha256=fSf8pmXOCDrW4FQ2S_yX9L62xJYzxntgdlkWY55RjvI,37255
42
52
  swarm/blueprints/geese/geese_cli.py,sha256=JNx2Te4F-HvYnCldXOtzDRKyNznse2N8_LXPlpZ_vbk,5354
@@ -299,8 +309,8 @@ swarm/views/message_views.py,sha256=sDUnXyqKXC8WwIIMAlWf00s2_a2T9c75Na5FvYMJwBM,
299
309
  swarm/views/model_views.py,sha256=aAbU4AZmrOTaPeKMWtoKK7FPYHdaN3Zbx55JfKzYTRY,2937
300
310
  swarm/views/utils.py,sha256=8Usc0g0L0NPegNAyY20tJBNBy-JLwODf4VmxV0yUtpw,3627
301
311
  swarm/views/web_views.py,sha256=T1CKe-Nyv1C8aDt6QFTGWo_dkH7ojWAvS_QW9mZnZp0,7371
302
- open_swarm-0.1.1745274459.dist-info/METADATA,sha256=LAmWU8maJObP1Ku7PcMovDBMQykoeKEA-Ly1nCFvmY0,39330
303
- open_swarm-0.1.1745274459.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
304
- open_swarm-0.1.1745274459.dist-info/entry_points.txt,sha256=fo28d0_zJrytRsh8QqkdlWQT_9lyAwYUx1WuSTDI3HM,177
305
- open_swarm-0.1.1745274459.dist-info/licenses/LICENSE,sha256=BU9bwRlnOt_JDIb6OT55Q4leLZx9RArDLTFnlDIrBEI,1062
306
- open_swarm-0.1.1745274459.dist-info/RECORD,,
312
+ open_swarm-0.1.1745274942.dist-info/METADATA,sha256=B6SkFZZO3uStKzSG9bAin_AD3UdVy-iTndFn3G6EX-g,39330
313
+ open_swarm-0.1.1745274942.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
314
+ open_swarm-0.1.1745274942.dist-info/entry_points.txt,sha256=fo28d0_zJrytRsh8QqkdlWQT_9lyAwYUx1WuSTDI3HM,177
315
+ open_swarm-0.1.1745274942.dist-info/licenses/LICENSE,sha256=BU9bwRlnOt_JDIb6OT55Q4leLZx9RArDLTFnlDIrBEI,1062
316
+ open_swarm-0.1.1745274942.dist-info/RECORD,,
@@ -0,0 +1,40 @@
1
+ # Chatbot Blueprint
2
+
3
+ **Chatbot** is an agentic conversational blueprint for Open Swarm, demonstrating agent-based conversation flows, robust fallback for LLM/agent errors, and unified ANSI/emoji UX with spinner feedback.
4
+
5
+ ---
6
+
7
+ ## What This Blueprint Demonstrates
8
+ - **Agent-based conversational orchestration**
9
+ - **LLM fallback and error handling** with user-friendly messages
10
+ - **Unified ANSI/emoji boxes** for conversation output, including summaries and fallback
11
+ - **Custom spinner messages**: 'Generating.', 'Generating..', 'Generating...', 'Running...'
12
+ - **Test mode** for robust, deterministic testing
13
+
14
+ ## Usage
15
+ Run with the CLI:
16
+ ```sh
17
+ swarm-cli run chatbot --instruction "What is the weather today?"
18
+ ```
19
+
20
+ ## Test
21
+ ```sh
22
+ uv run pytest -v tests/blueprints/test_chatbot.py
23
+ ```
24
+
25
+ ## Compliance
26
+ - Agentic:
27
+ - UX (ANSI/emoji):
28
+ - Spinner:
29
+ - Fallback:
30
+ - Test Coverage:
31
+
32
+ ## Required Env Vars
33
+ - `SWARM_TEST_MODE` (optional): Enables test mode for deterministic output.
34
+
35
+ ## Extending
36
+ - See `blueprint_chatbot.py` for agent logic and UX hooks.
37
+ - Extend agent capabilities or UX by modifying the `_run_non_interactive` method.
38
+
39
+ ---
40
+ _Last updated: 2025-04-21_