AgentToolkitNames

AgentToolkitNames is an enumeration class that represents different types of agent tools in the automata.agent.agent package. This class helps manage a collection of agent tools that can be used for distinct tasks. Each named enum member corresponds to a particular type of agent tool. The builders for these tools are located in the automata/core/agent/builder/ directory.

Example

Below is a brief example of how you can use AgentToolkitNames:

from automata.agent.agent import AgentToolkitNames

# Get a specific toolkit name
toolkit_name = AgentToolkitNames.PYTHON

# You can also list all toolkit names
all_toolkit_names = list(AgentToolkitNames)

Limitations

The AgentToolkitNames enum is limited to the tool names it defines; you can’t add new names to the enum after it’s defined. If a new tool is to be supported, its name must be added to this enum class. Remember to also create a corresponding builder in automata/core/agent/builder/.

Follow-up Questions:

  • What specific toolkits exist under each AgentToolkitNames?

  • How are the builders for each AgentToolkitNames written and maintained?

  • Are there any best practices or guidelines when adding new toolkit names and their corresponding builders?