Agents 0.0.2
Edge AI Agents SDK
|
Tools Namespace. More...
Classes | |
class | FileReadTool |
File read tool that provides secure file reading capabilities. More... | |
class | FileWriteTool |
File write tool that provides secure file writing capabilities. More... | |
class | MediaLoaderTool |
Media loader tool that loads media from URLs and returns them as base64 encoded data URLs. More... | |
class | PythonTool |
Python execution tool that provides safe Python code execution capabilities. More... | |
class | ShellCommandTool |
Shell command tool that provides secure command execution capabilities. More... | |
class | SummarizationTool |
Summarization tool that provides text summarization capabilities using LLM. More... | |
class | ToolRegistry |
Registry for tools that agents can use. More... | |
class | WebSearchTool |
Web search tool that provides secure web search capabilities. More... | |
class | WikipediaTool |
Wikipedia search tool that uses the MediaWiki API. More... | |
Functions | |
void | registerStandardTools (ToolRegistry ®istry) |
Create and register standard tools. | |
std::shared_ptr< Tool > | createShellCommandTool () |
Creates a tool for executing shell commands. | |
std::shared_ptr< Tool > | createWebSearchTool () |
Creates a tool for performing web searches. | |
std::shared_ptr< Tool > | createWikipediaTool () |
Creates a tool for retrieving information from Wikipedia. | |
std::shared_ptr< Tool > | createPythonTool () |
Creates a tool for running Python code. | |
std::shared_ptr< Tool > | createFileReadTool () |
Creates a tool for reading files. | |
std::shared_ptr< Tool > | createFileWriteTool () |
Creates a tool for writing files. | |
std::shared_ptr< Tool > | createSummarizationTool (std::shared_ptr< AgentContext > context) |
Creates a tool for text summarization. | |
std::shared_ptr< Tool > | createMediaLoaderTool (std::shared_ptr< LLMInterface > llm) |
Creates a tool for loading media from URLs or local files. | |
Tools Namespace.
std::shared_ptr< Tool > agents::tools::createFileReadTool | ( | ) |
Creates a tool for reading files.
std::shared_ptr< Tool > agents::tools::createFileWriteTool | ( | ) |
Creates a tool for writing files.
std::shared_ptr< Tool > agents::tools::createMediaLoaderTool | ( | std::shared_ptr< LLMInterface > | llm | ) |
Creates a tool for loading media from URLs or local files.
llm | The LLM interface to use |
std::shared_ptr< Tool > agents::tools::createPythonTool | ( | ) |
Creates a tool for running Python code.
std::shared_ptr< Tool > agents::tools::createShellCommandTool | ( | ) |
Creates a tool for executing shell commands.
std::shared_ptr< Tool > agents::tools::createSummarizationTool | ( | std::shared_ptr< AgentContext > | context | ) |
Creates a tool for text summarization.
context | The agent context containing the LLM |
std::shared_ptr< Tool > agents::tools::createWebSearchTool | ( | ) |
Creates a tool for performing web searches.
std::shared_ptr< Tool > agents::tools::createWikipediaTool | ( | ) |
Creates a tool for retrieving information from Wikipedia.
void agents::tools::registerStandardTools | ( | ToolRegistry & | registry | ) |
Create and register standard tools.
registry | The tool registry to register tools with |