Use Cases

Introduction

Canso AI Agentic Systems provides a robust platform for deploying AI agents that can automate complex workflows and decision-making processes. At its core, the platform currently offers two powerful tools:

  • SQLRunnerTool: A tool for executing SQL queries against supported databases, enabling data retrieval, analysis, and updates. It provides secure, efficient database operations with built-in connection pooling and error handling.

  • KubernetesJobTool: A tool for managing containerized workloads in isolated environments, allowing parallel processing and scalable computations. It handles resource allocation, job scheduling, and execution monitoring.

NOTE: You can also create your own custom tools using the platform's extensible framework. This allows you to tailor tools to meet your unique requirements or integrate with specialized systems.

The following use cases demonstrate how these tools can be combined to build production-grade AI agent applications, focusing on risk analysis and machine learning operations.

Risk Analysis and Fraud Detection

Transaction Analysis

AI agents can analyze transaction patterns in real-time to identify potential fraud using a combination of database queries and computational jobs:

  • Query historical transaction data to establish baseline behavior

  • Run real-time comparisons against patterns

  • Execute risk scoring algorithms as Kubernetes jobs

  • Store results for audit trails

Example scenario: An agent monitors credit card transactions, using SQLRunnerTool to query recent transaction history:

SELECT 
    user_id,
    COUNT(*) as tx_count,
    AVG(amount) as avg_amount,
    STDDEV(amount) as std_amount,
    COUNT(DISTINCT merchant_category) as unique_categories,
    MAX(amount) - MIN(amount) as amount_range
FROM transactions 
WHERE timestamp >= NOW() - INTERVAL '1 hour'
    AND user_id IN (SELECT user_id FROM high_risk_users)
GROUP BY user_id
HAVING COUNT(*) > 10
    OR MAX(amount) > 5000

The agent then uses KubernetesJobTool to run risk scoring algorithms on flagged transactions:

Rule-Based Decision Engine

Implement and manage fraud detection rules with dynamic updates and scalable processing:

  • Store rules in SQL databases

  • Execute rule evaluation in isolated containers

  • Scale rule processing based on transaction volume

  • Update rules dynamically based on new patterns

Example scenario: An agent evaluates transaction rules by using SQLRunnerTool to fetch active rules:

The agent then uses KubernetesJobTool to evaluate these rules against transaction batches:

Machine Learning Operations

Model Deployment

Streamline model deployment process with automated validation and monitoring:

  • Query model performance metrics

  • Run model validation jobs

  • Execute A/B tests

  • Monitor deployment health

Example scenario: An agent manages model deployment using SQLRunnerTool to check performance metrics:

The agent then uses KubernetesJobTool to handle model deployment:

Future Enhancements

The platform roadmap includes enhancements such as:

  • Additional built-in tools for advanced data preprocessing, real-time analytics, and integration with emerging AI frameworks

Last updated

Was this helpful?