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
| Type | Connector | Agent Capabilities |
|---|---|---|
| SQL | Snowflake, Roe Tables | Natural language queries, schema discovery, data filtering |
| API | Zendesk | Ticket search, conversation retrieval, entity lookup |
Configuring Context Sources
Context sources are configured when setting up an agentic workflow (like AML Investigation). Each context source requires:Common Fields
| Field | Required | Description |
|---|---|---|
connection_type | Yes | Type of connector (snowflake, zendesk, Roe Tables) |
name | Yes | Friendly name for this data source |
connection_id | Yes* | UUID of the pre-configured connector (*not required for Roe Tables) |
description | No | Helps the agent understand what data is available |
SQL Context Sources
SQL-based context sources (Snowflake, Roe Tables) enable agents to query structured data using natural language.Snowflake Configuration
| Field | Description |
|---|---|
table | Table name for the agent to query |
sql_query | (Optional) Predefined SQL query—overrides automatic query generation |
Roe Tables Configuration
Roe Tables are stored directly in VolansDB 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:
| Description Example | Agent Behavior |
|---|---|
"Pull all support tickets for this customer" | Searches tickets by customer email/ID |
"Search for tickets mentioning fraud" | Searches for fraud-related keywords |
"Get tickets with 'escalated' tag" | Filters by specific tags |
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