Skip to content

[`agentic_crew.core.runner`](#module-agentic_crew.core.runner)

Runner module - executes crews with inputs.

run_crewRun a crew from a package with the given inputs.
run_crew_from_pathRun a crew directly from a .crewai/ directory path.

Run a crew from a package with the given inputs.

Args: package_name: Name of the package (e.g., ‘otterfall’). crew_name: Name of the crew to run (e.g., ‘game_builder’). inputs: Optional dict of inputs to pass to the crew. workspace_root: Optional workspace root path.

Returns: The crew’s output as a string.

Raises: ValueError: If package or crew not found.

Run a crew directly from a .crewai/ directory path.

Args: crewai_dir: Path to the .crewai/ directory. crew_name: Name of the crew to run. inputs: Optional dict of inputs to pass to the crew.

Returns: The crew’s output as a string.