Back to prompt library
Define Agents and Tools in CrewAI
Linked challenge: Orchestrate an Account Aggregator NBFC Credit Underwriting Crew using CrewAI and Synthflow
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Import `Agent`, `Task`, and `Crew` from `crewai`. Define three agents: `aa_data_analyst` (analyzes AA financial statements), `risk_underwriter` (calculates DSCR and risk grade), and `compliance_auditor` (checks RBI compliance guidelines). Include custom tool definitions for calculating DSCR.