open-swarm 0.1.1745274515__py3-none-any.whl → 0.1.1745274976__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.
- {open_swarm-0.1.1745274515.dist-info → open_swarm-0.1.1745274976.dist-info}/METADATA +1 -1
- {open_swarm-0.1.1745274515.dist-info → open_swarm-0.1.1745274976.dist-info}/RECORD +25 -11
- swarm/blueprints/chatbot/README.md +40 -0
- swarm/blueprints/chatbot/blueprint_chatbot.py +321 -170
- swarm/blueprints/chatbot/metadata.json +23 -0
- swarm/blueprints/chucks_angels/README.md +11 -0
- swarm/blueprints/chucks_angels/blueprint_chucks_angels.py +7 -0
- swarm/blueprints/chucks_angels/test_basic.py +3 -0
- swarm/blueprints/digitalbutlers/README.md +11 -0
- swarm/blueprints/digitalbutlers/__init__.py +1 -0
- swarm/blueprints/digitalbutlers/blueprint_digitalbutlers.py +4 -23
- swarm/blueprints/digitalbutlers/test_basic.py +3 -0
- swarm/blueprints/divine_code/README.md +3 -0
- swarm/blueprints/divine_code/__init__.py +10 -0
- swarm/blueprints/divine_code/blueprint_divine_code.py +249 -469
- swarm/blueprints/flock/README.md +11 -0
- swarm/blueprints/flock/__init__.py +8 -0
- swarm/blueprints/flock/blueprint_flock.py +7 -0
- swarm/blueprints/flock/test_basic.py +3 -0
- swarm/blueprints/jeeves/README.md +41 -0
- swarm/blueprints/jeeves/blueprint_jeeves.py +528 -518
- swarm/blueprints/jeeves/metadata.json +24 -0
- {open_swarm-0.1.1745274515.dist-info → open_swarm-0.1.1745274976.dist-info}/WHEEL +0 -0
- {open_swarm-0.1.1745274515.dist-info → open_swarm-0.1.1745274976.dist-info}/entry_points.txt +0 -0
- {open_swarm-0.1.1745274515.dist-info → open_swarm-0.1.1745274976.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,8 @@
|
|
1
|
+
# Enhanced search/analysis UX: show ANSI/emoji boxes, summarize results, show result counts, display params, update line numbers, distinguish code/semantic
|
2
|
+
# This is a stub for flock blueprint search/analysis UX. (If this blueprint is implemented, the run method should follow the unified UX pattern.)
|
3
|
+
|
4
|
+
# No run method in __init__.py, but if/when a blueprint is implemented here, ensure:
|
5
|
+
# - Support for both code and semantic search (with clear output distinction)
|
6
|
+
# - ANSI/emoji boxes for search/analysis, with result counts, search params, and progress
|
7
|
+
# - Creative output box for non-search/agent output
|
8
|
+
# - Spinner states: 'Generating.', 'Generating..', 'Generating...', 'Running...'
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# Jeeves Blueprint
|
2
|
+
|
3
|
+
**Jeeves** is a multi-agent home and web orchestration blueprint for Open Swarm, demonstrating multi-agent delegation for web search and home automation, robust fallback for LLM/agent errors, and unified ANSI/emoji UX with spinner feedback.
|
4
|
+
|
5
|
+
---
|
6
|
+
|
7
|
+
## What This Blueprint Demonstrates
|
8
|
+
- **Multi-agent delegation and orchestration** for web search and home automation
|
9
|
+
- **LLM fallback and error handling** with user-friendly messages
|
10
|
+
- **Unified ANSI/emoji boxes** for operation results, including summaries, counts, and parameters
|
11
|
+
- **Custom spinner messages**: 'Generating.', 'Generating..', 'Generating...', 'Running...'
|
12
|
+
- **Progress updates** for long-running operations (result counts, summaries)
|
13
|
+
- **Test mode** for robust, deterministic testing
|
14
|
+
|
15
|
+
## Usage
|
16
|
+
Run with the CLI:
|
17
|
+
```sh
|
18
|
+
swarm-cli run jeeves --instruction "Turn off the living room lights and search for pizza recipes."
|
19
|
+
```
|
20
|
+
|
21
|
+
## Test
|
22
|
+
```sh
|
23
|
+
uv run pytest -v tests/blueprints/test_jeeves.py
|
24
|
+
```
|
25
|
+
|
26
|
+
## Compliance
|
27
|
+
- Agentic:
|
28
|
+
- UX (ANSI/emoji):
|
29
|
+
- Spinner:
|
30
|
+
- Fallback:
|
31
|
+
- Test Coverage:
|
32
|
+
|
33
|
+
## Required Env Vars
|
34
|
+
- `SWARM_TEST_MODE` (optional): Enables test mode for deterministic output.
|
35
|
+
|
36
|
+
## Extending
|
37
|
+
- See `blueprint_jeeves.py` for agent logic and UX hooks.
|
38
|
+
- Extend agent capabilities or UX by modifying the `_run_non_interactive` and agent orchestration methods.
|
39
|
+
|
40
|
+
---
|
41
|
+
_Last updated: 2025-04-21_
|