Skip to content

[`agentic_crew.runners.crewai_runner`](#module-agentic_crew.runners.crewai_runner)

CrewAI runner implementation.

This is the default and most full-featured runner. CrewAI provides:

  • Hierarchical and sequential processes
  • Memory and planning
  • Knowledge sources
  • Tool integration
  • Delegation between agents
CrewAIRunnerRunner that uses CrewAI for crew execution.

class agentic_crew.runners.crewai_runner.CrewAIRunner

Section titled “class agentic_crew.runners.crewai_runner.CrewAIRunner”

Bases: agentic_crew.runners.base.BaseRunner

Runner that uses CrewAI for crew execution.

Initialize CrewAI runner.

‘crewai’

Build a CrewAI Crew from configuration.

Args: crew_config: Universal crew configuration.

Returns: CrewAI Crew object.

Execute the CrewAI crew.

Args: crew: CrewAI Crew object. inputs: Inputs for the crew.

Returns: Crew output as string.

Build a CrewAI Agent.

Args: agent_config: Agent configuration. tools: Optional tools for the agent.

Returns: CrewAI Agent object.

Build a CrewAI Task.

Args: task_config: Task configuration. agent: Agent to assign to the task. context: Optional list of tasks this task depends on.

Returns: CrewAI Task object.

Resolve tool names to actual tool instances.

Args: tool_names: List of tool names from config.

Returns: List of tool instances.

Load knowledge sources from paths.

Args: knowledge_paths: List of knowledge directory paths.

Returns: List of CrewAI knowledge source objects.