Skip to main content

Agent Configuration

Learn how to configure and manage AI agents within your data sources, including settings for execution limits, table exclusions, and scheduling automated runs.

VIDEO TUTORIAL⏱️ 3 mins

📹 Agent Configuration

Learn how to configure and manage AI agents within your data sources.

Overview

Autonify provides comprehensive configuration options for AI agents, allowing you to control how they interact with your data sources. This includes managing costs, setting execution schedules, and defining which data elements should be processed.

Accessing Agent Configuration

Agent configuration is accessed through multiple entry points:

From the Sidebar

  1. Navigate to your data source in the Autonify platform
  2. Agents are listed in the left sidebar under the "Agents" section
  3. Click on any agent name to view its details and run history
  4. Admin/Owner users will see a "View All / Manage Agents" link at the bottom of the agents list

From the Settings Page

  1. Click "Settings" in the left sidebar (only visible to Admin/Owner users)
  2. You'll see three tabs:
    • Connection Details - Database connection settings
    • Agent Settings - AI processing limits and exclusions
    • Schedules - Automated execution schedules

Settings page with three tabs

Running Agents

Manual Execution

Agents can be run manually at any time:

  1. Open the desired agent from the data source sidebar
  2. Click the "Run Agent" button (shows play icon)
  3. The agent will execute against your data source
  4. While running, a "Cancel" button appears to stop execution if needed
  5. View the results once processing completes

After execution, you can:

  • Review the run history showing all past executions
  • View the status of each run (Completed, Failed, In Progress, Queued)
  • Check execution logs for detailed information
  • See statistics including total runs, success rate, and last run date

Agent run button and execution results

Automatic Execution

By default, all agents run automatically when:

  • A new scan is performed on the data source
  • Changes are detected in the data structure

Managing Connected Agents

View Connected and Available Agents

Navigate to the Agents page (click "View All / Manage Agents" in the sidebar or go to /agents from your data source) to see two tabs:

  • Connected Agents - Agents currently linked to your data source
  • Available Agents - Agents that can be connected

Note: The "View All / Manage Agents" link is only visible to Admin and Owner users.

Managing Connected Agents

For each connected agent, you can:

  1. Click "View" to see the agent's details and run history
  2. Click "Remove" to disconnect the agent from the data source
  3. A confirmation dialog will appear before removing an agent

Connected agents tab

Connecting Available Agents

To add new agents to your data source:

  1. Switch to the "Available Agents" tab
  2. Browse agents not yet connected to your data source
  3. Click the "Connect" button for any agent
  4. The agent immediately moves to the Connected Agents tab
  5. You'll see a success notification confirming the connection

Available agents tab with connect buttons

Agent Settings Configuration

AI Processing Limits

Control AI costs and processing scope through the Agent Settings tab:

Table Processing Threshold

Set the maximum number of tables an agent will process:

  1. Navigate to "Settings" in your data source sidebar
  2. Click the "Agent Settings" tab
  3. Find the "Table Processing Limit" slider under "AI Agent Configuration"
  4. Adjust the value from 1 to 100,000 tables
  5. The description shows: "Maximum number of tables the AI will process before stopping"
  6. Click "Save Changes" button at the bottom

Table processing limit slider

Selection Mode

Choose how to control which data the AI processes:

  1. In Agent Settings, select the "Selection Mode" dropdown
  2. Choose between:
    • Include selected items only - AI processes only selected tables/schemas/databases
    • Exclude selected items - AI processes everything except selected items
  3. The description updates to explain the current mode

Table and Schema Selection

Control specific database elements for AI processing:

  1. Use the three tabs to select different levels:
    • Tables tab - Select individual tables
    • Schemas tab - Select entire schemas
    • Databases tab - Select complete databases
  2. Your selection mode determines if these are included or excluded
  3. Click "Save Changes" to apply your selections

Benefits of selection controls:

  • Improved processing speed
  • Reduced AI costs
  • Focus on relevant data only
  • Skip sensitive or temporary tables

Table/schema selection tabs

Agent Scheduling

Configure automated execution schedules for your agents.

Accessing Scheduling

  1. Navigate to "Settings" in your data source sidebar
  2. Click the "Schedules" tab
  3. You'll see two sections:
    • Data Scan Schedule - For database scanning
    • Agent Schedules - For individual agent execution

Configuring Schedules

For each agent or scan, use the dropdown menu to select a schedule:

  • Choose from preset options (Every hour, Daily, Weekly, etc.)
  • Select "Not scheduled" to disable scheduling
  • Custom cron expressions are not available in the dropdown interface

Available Schedule Presets

The dropdown menu provides these preset options:

  • Not scheduled - No automatic execution
  • Every minute (Testing) - For testing purposes only
  • Every 15 minutes - Frequent monitoring
  • Every hour - Runs at the start of every hour
  • Every 6 hours - Runs four times daily
  • Daily at midnight - Runs at 12:00 AM
  • Daily at 9 AM - Business hours execution
  • Daily at 6 PM - End of day execution
  • Weekly on Monday - Runs Monday at midnight
  • Monthly - Runs on the 1st at midnight

Schedule preset dropdown

[Note: Custom cron expressions are selected from presets in the dropdown menu. Advanced cron patterns are not currently supported through the UI.]

Managing Schedules

  • Update: Simply select a new option from the dropdown to change the schedule
  • Disable: Select "Not scheduled" to stop automatic execution
  • View History: Check individual agent pages to see run history from scheduled executions
  • Changes are saved automatically when you select a new schedule option

Best Practices

Cost Management

  1. Set appropriate table limits - Start with lower limits and increase as needed
  2. Use exclusions wisely - Exclude test tables, logs, and temporary data
  3. Schedule during off-peak hours - Reduce impact on database performance

Performance Optimization

  1. Exclude large tables - Skip tables with millions of rows if not needed
  2. Focus on critical schemas - Process only business-critical data
  3. Stagger agent schedules - Avoid running all agents simultaneously

Monitoring

  1. Review run history regularly - Check for failures or issues
  2. Monitor execution logs - Understand what agents are processing
  3. Track AI costs - Keep an eye on usage through table limits

Troubleshooting

Common Issues

Agent not running on schedule:

  • Verify the schedule is enabled
  • Check the cron expression syntax
  • Ensure the data source is accessible

Agent processing too many tables:

  • Lower the table processing limit
  • Add more exclusions
  • Consider splitting into multiple focused agents

High AI costs:

  • Reduce table processing limits
  • Exclude unnecessary tables/schemas
  • Adjust scheduling frequency

Next Steps