Overview
Context sources bridge your Connectors with agentic engines. While connectors establish the connection to your data, context sources configure how agents interact with that data during workflow execution.Supported Context Source Types
Configuring Context Sources
Context sources are configured when setting up an agentic workflow (like AML Investigation). Each context source requires:Common Fields
SQL Context Sources
SQL-based context sources (Snowflake, Roe Tables) enable agents to query structured data using natural language.Snowflake Configuration
Roe Tables Configuration
Roe Tables are stored in Roe Tables and don’t require a separate connection.Agent SQL Capabilities
When configured with SQL context sources, agents can:- Discover Schema: Automatically understand table structure and column types
- Generate Queries: Create appropriate SQL based on natural language instructions
- Apply Filters: Add relevant WHERE clauses based on investigation context
- Handle Errors: Recover from query issues and retry with corrections
API Context Sources
API-based context sources (Zendesk) enable agents to interact with third-party services.Zendesk Configuration
description field is crucial for Zendesk—it tells the agent what to search for:
Example: AML Investigation Setup
Here’s a complete context source configuration for an AML investigation:How Agents Use Context Sources
During investigation, agents follow this flow:1
Identify Data Need
Based on the SOP or investigation requirements, the agent determines what data is needed
2
Select Source
The agent chooses the appropriate context source based on the
name and description3
Generate Query
For SQL sources, the agent generates a natural language query that’s converted to SQL
4
Fetch Data
The query is executed and results are returned to the agent
5
Analyze Results
The agent incorporates the data into its investigation and analysis
Best Practices
Use Descriptive Names
Name context sources clearly (e.g., “Transaction History” not “Table1”)
Write Detailed Descriptions
Help agents understand when and how to use each source
Limit Table Scope
Specify specific tables rather than exposing entire databases
Use Read-Only Access
Configure connectors with minimal permissions for security
Related Documentation
Connectors
Set up connections to your data sources
AML Investigation
Configure context sources for AML workflows