aw_agents.agents

Agents for agentic workflows.

This module contains various AI agents that can be deployed to chatbot platforms.

Classes

DownloadAgent([default_download_dir])

Smart download agent with context-aware naming and intelligent link handling.

class aw_agents.agents.DownloadAgent(default_download_dir=None, **kwargs)[source]

Bases: AgentBase

Smart download agent with context-aware naming and intelligent link handling.

Features:

  • Detects landing pages and finds actual download links

  • Special handling for GitHub, HuggingFace, Kaggle

  • Context-aware file naming

  • Multiple content type support

>>> agent = DownloadAgent()
>>> tools = agent.get_tools()
>>> len(tools) >= 3
True
execute_tool(name, arguments)[source]

Execute a tool with given arguments.

Return type:

Dict[str, Any]

get_metadata()[source]

Get agent metadata.

Return type:

Dict[str, Any]

get_tools()[source]

Return tool definitions for this agent.

Return type:

List[Dict[str, Any]]

Modules

download

Download Agent - Smart content downloader with context-aware naming.