You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/examples/single_agent/utils/README.md

29 lines
1.4 KiB

# Single Agent Utils
This directory contains utility functions and helpers for single agent operations.
## Examples
- [async_agent.py](async_agent.py) - Async agent implementation
- [custom_agent_base_url.py](custom_agent_base_url.py) - Custom base URL configuration
- [dynamic_context_window.py](dynamic_context_window.py) - Dynamic context window management
- [fallback_test.py](fallback_test.py) - Fallback mechanism testing
- [grok_4_agent.py](grok_4_agent.py) - Grok 4 agent implementation
- [handoffs_example.py](handoffs_example.py) - Agent handoff examples
- [list_agent_output_types.py](list_agent_output_types.py) - Output type listing
- [markdown_agent.py](markdown_agent.py) - Markdown processing agent
- [medical_agent_add_to_marketplace.py](medical_agent_add_to_marketplace.py) - Marketplace integration example
- [xml_output_example.py](xml_output_example.py) - XML output example
## Subdirectories
### Transform Prompts
- [transform_prompts/](transform_prompts/) - Prompt transformation utilities
- [transforms_agent_example.py](transform_prompts/transforms_agent_example.py) - Prompt transformation agent
- [transforms_examples.py](transform_prompts/transforms_examples.py) - Prompt transformation examples
## Overview
This directory contains utility functions, helpers, and common patterns for single agent operations including async handling, context management, output formatting, and prompt transformations.