aw_agents.agents.download.agent

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

This agent wraps the core download functionality and exposes it through the AgentBase interface for use with multiple chatbot platforms.

class aw_agents.agents.download.agent.DownloadAgent(default_download_dir: str | Path | None = None, **kwargs)[source]

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: str, arguments: Dict[str, Any]) Dict[str, Any][source]

Execute a tool with given arguments.

get_metadata() Dict[str, Any][source]

Get agent metadata.

get_tools() List[Dict[str, Any]][source]

Return tool definitions for this agent.

aw_agents.agents.download.agent.main()[source]

Main entry point for running the agent as a server.