Skip to main content

AgentsGenerator

Defined in the Agents Generator module.
AI Agents Framework

Constructor

agent_file
Any
required
No description available.
framework
Any
required
No description available.
config_list
Any
required
No description available.
log_level
Any
No description available.
agent_callback
Any
No description available.
task_callback
Any
No description available.
agent_yaml
Any
No description available.
tools
Any
No description available.

Methods

is_function_or_decorated()

Checks if the given object is a function or has a call method.

load_tools_from_module()

Loads tools from a specified module path.

load_tools_from_module_class()

Loads tools from a specified module path containing classes that inherit from BaseTool

load_tools_from_package()

Loads tools from a specified package path containing modules with functions or classes.

load_tools_from_tools_py()

Imports and returns all contents from tools.py file.

generate_crew_and_kickoff()

Generates a crew of agents and initiates tasks based on the provided configuration.

Source

View on GitHub

praisonai/agents_generator.py at line 172

Agents Concept

Single Agent Guide

Multi-Agent Guide

Agent Configuration

Auto Agents