from crewai import Agent bug_fixer = Agent( role="Bug Fixer", goal="Find and describe the fix for the reported bug in the codebase.", backstory="You read directories and files to build an accurate picture of the code.", tools=[FileReadTool()], reasoning=True, max_reasoning_attempts=3 # Optional: Set a maximum number of reasoning attempts )