You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loads and serializes Strands Agent instances via dictionary configurations. Supports model configuration, tool loading, structured output, and advanced agent features.
346
336
347
337
**Key Methods:**
348
-
-`load_agent(config, cache_key=None)` - Load agent from dictionary configuration
338
+
-`load_agent(config)` - Load agent from dictionary configuration
349
339
-`serialize_agent(agent)` - Serialize agent to dictionary configuration
350
-
-`clear_cache()` - Clear internal agent cache
351
-
-`get_available_agents()` - Get list of cached agent keys
352
340
353
341
### ToolConfigLoader
354
342
Loads AgentTool instances via string identifiers or multi-agent configurations. Supports @tool decorated functions, module-based tools, and Agent-as-Tool functionality.
@@ -357,24 +345,21 @@ Loads AgentTool instances via string identifiers or multi-agent configurations.
357
345
-`load_tool(tool, module_path=None)` - Load tool by identifier or configuration
358
346
-`load_tools(identifiers)` - Load multiple tools
359
347
-`get_available_tools(module_path=None)` - Get list of available tool identifiers
360
-
-`clear_cache()` - Clear internal tool cache
361
348
362
349
### SwarmConfigLoader
363
350
Loads and serializes Strands Swarm instances via dictionary configurations. Leverages AgentConfigLoader for agent management and adds swarm-specific configuration.
364
351
365
352
**Key Methods:**
366
-
-`load_swarm(config, cache_key=None)` - Load swarm from dictionary configuration
353
+
-`load_swarm(config)` - Load swarm from dictionary configuration
367
354
-`serialize_swarm(swarm)` - Serialize swarm to dictionary configuration
368
355
-`load_agents(agents_config)` - Load multiple agents from configuration
369
-
-`clear_cache()` - Clear internal swarm cache
370
356
371
357
### GraphConfigLoader
372
358
Loads and serializes Strands Graph instances via dictionary configurations. Supports nodes, edges, entry points, and condition configurations.
373
359
374
360
**Key Methods:**
375
-
-`load_graph(config, cache_key=None)` - Load graph from dictionary configuration
361
+
-`load_graph(config)` - Load graph from dictionary configuration
376
362
-`serialize_graph(graph)` - Serialize graph to dictionary configuration
0 commit comments