[`agentic_crew.core.runner`](#module-agentic_crew.core.runner)
Runner module - executes crews with inputs.
Module Contents
Section titled “Module Contents”Functions
Section titled “Functions”run_crew | Run a crew from a package with the given inputs. |
|---|---|
run_crew_from_path | Run a crew directly from a .crewai/ directory path. |
agentic_crew.core.runner.run_crew(package_name: str, crew_name: str, inputs: dict | None = None, workspace_root: pathlib.Path | None = None) → str
Section titled “agentic_crew.core.runner.run_crew(package_name: str, crew_name: str, inputs: dict | None = None, workspace_root: pathlib.Path | None = None) → str”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.
agentic_crew.core.runner.run_crew_from_path(crewai_dir: pathlib.Path, crew_name: str, inputs: dict | None = None) → str
Section titled “agentic_crew.core.runner.run_crew_from_path(crewai_dir: pathlib.Path, crew_name: str, inputs: dict | None = None) → str”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.