Skip to content

[`agentic_crew.crew`](#module-agentic_crew.crew)

CrewAI Entry Point

This file is the standard CrewAI entry point that crewai run expects. It loads configuration from crewbase.yaml and executes the crew.

CrewAgentsWrapper class for CrewAI crew execution.
get_crewbase_pathGet path to crewbase.yaml.
load_crewbaseLoad crewbase.yaml configuration.
kickoffMain entry point for crewai run.
trainTrain the crew using memory/learning features.

Get path to crewbase.yaml.

Wrapper class for CrewAI crew execution.

Provides a class-based interface for flows to instantiate and run crews. This bridges the gap between Flow expectations and the YAML-based crew config.

Initialize CrewAgents with optional custom config path.

Lazy load configuration.

Lazy load crew from YAML.

Get a crew instance, optionally filtered to a specific task.

When task filtering is needed, creates a fresh crew instance to avoid mutating the cached crew’s task list.

Args: task_name: Optional task name to filter to

Returns: Crew instance (cached if no filtering, fresh if filtering)

Raises: ValueError: If task_name is provided but not found

Execute the crew with given inputs.

Args: inputs: Optional dict with:

  • task: Specific task name to run (filters crew tasks)
  • Any other inputs passed to crew.kickoff()

Returns: CrewOutput from crew execution

Note: This method does NOT mutate the inputs dict passed by caller.

Async version of kickoff for parallel execution.

Note: This method does NOT mutate the inputs dict passed by caller.

Load crewbase.yaml configuration.

Main entry point for crewai run.

Args: inputs: Optional dict with:

  • task: Specific task name to run
  • All other task inputs from crewbase.yaml

Note: This function does NOT mutate the inputs dict passed by caller.

Train the crew using memory/learning features.