### Answer
Based on the available documentation, here's guidance on choosing the right agent type for working with multi-record databases:
Choosing the Right Agent Type:
For complex database interactions requiring structured logic and branching paths,
Conversation Flow Agent is recommended [(1) ](
) . This agent type provides the most control over dialogue paths and allows you to create intricate conversation structures [(2) ](
) . It's particularly beneficial when you need to handle multiple database queries with conditional logic [(1) ](
) .
Key benefits of Conversation Flow for database work:
- Structured conversations with defined exact paths and transitions
- Predictable behavior where each node has specific logic and outcomes
- Support for conditional branching and state management
- Function nodes that can trigger API calls to your database [(3) ](
)
Alternative Options:
- **Multi-Prompt Agent**: Suitable if you need to handle multiple topics or tasks within a single session, combining several prompts into a structured tree [(2) ](
) . This works when database interactions follow a more linear pattern [(4) ](
) .
- **Single Prompt Agent**: Best for straightforward, quick database lookups where minimal interaction is needed [(2) ](
) . However, it may lead to hallucinations as complexity increases .
**Databa