prebuilt.company_researcher.agent¶

Classes¶

EnhancedKYCAgent

Advanced KYC Agent with comprehensive risk assessment workflow.

Functions¶

main()

Main.

Module Contents¶

class prebuilt.company_researcher.agent.EnhancedKYCAgent(config: TConfig, verbose: bool = False, rich_logging: bool | None = None)¶

Bases: haive.core.engine.agent.agent.Agent[haive.prebuilt.company_researcher.config.KYCAgentConfiguration]

Advanced KYC Agent with comprehensive risk assessment workflow.

Implements a sophisticated multi-stage KYC processing pipeline: 1. Initial Screening 2. Risk Assessment 3. Enhanced Due Diligence (if needed) 4. Final Decision

enhanced_due_diligence(state: haive.prebuilt.company_researcher.state.KYCWorkflowState) haive.prebuilt.company_researcher.state.KYCWorkflowStage¶

Perform Enhanced Due Diligence for high-risk customers.

Parameters:

state – Current workflow state

Returns:

Updated state with EDD results

final_decision(state: haive.prebuilt.company_researcher.state.KYCWorkflowState) haive.prebuilt.company_researcher.state.KYCWorkflowState¶

Make final KYC decision based on all previous assessments.

Parameters:

state – Current workflow state

Returns:

Final KYC decision state

initial_screening(state: haive.prebuilt.company_researcher.state.KYCWorkflowState) haive.prebuilt.company_researcher.state.KYCWorkflowState¶

Perform initial customer screening.

Parameters:

state – Current workflow state

Returns:

Updated state with screening results

risk_assessment(state: haive.prebuilt.company_researcher.state.KYCWorkflowState) haive.prebuilt.company_researcher.state.KYCWorkflowState¶

Assess customer risk based on initial screening.

Parameters:

state – Current workflow state

Returns:

Updated state with risk assessment

route_risk_assessment(state: haive.prebuilt.company_researcher.state.KYCWorkflowState) str¶

Determine routing based on risk assessment.

Parameters:

state – Current workflow state

Returns:

Next node in the workflow

setup_workflow() None¶

Configure the KYC workflow graph.

Stages: - Initial Screening - Risk Assessment - Enhanced Due Diligence (conditional) - Final Decision

prebuilt.company_researcher.agent.main()¶

Main.