Fraud Analyst Agent
The Fraud Analyst Agent is an AI-powered assistant designed to support Data Scientists and Data Engineers in their daily fraud analysis tasks. It comes equipped with capabilities such as data reconciliation, analysis, and explanation, helping streamline workflows and improve efficiency. With more capabilities coming soon, the Fraud Analyst Agent aims to make fraud detection and investigation easier than ever.
Fraud Analyst Agent using Canso AI Agentic System
The Canso AI Agentic System enables fast and seamless development and deployment of a Fraud Analyst Agent.
Follow the steps below to develop, deploy and interact with a Fraud Analyst Agent.
Prerequisites
Before Proceeding, please ensure you have:
A Canso compatible Kubernetes cluster set up.
Canso Helm charts installed on your cluster.
Canso AI Agent Components - Broker, Checkpoint DB and Task Server are set up on your cluster.
To get started, install Gru by following the instructions here
Creating the project bootstrap
Set up the scaffold folder for our fraud-analyst project by executing the command:
gru agent create_bootstrapThis will prompt us with a set of configurations for deploying our AI Agent. Provide inputs as specified below:
[1/7] agent_name (Agent Name): fraud-analyst
[2/7] agent_framework (Langgraph):
[3/7] version (0.0.1):
[4/7] task_server_name: <your-task-server-name>
[5/7] checkpoint_db_name: <your-checkpoint-db-name>
[6/7] replicas (1):
[7/7] iam_role_arn: <agent-iam-role>
Agent bootstrap project created successfully!Once done, we get a folder fraud-analyst with the following structure:
Developing the agent
The requirements.txt file contains the python requirements of the projects. Let us update it with the required dependencies:
src/main.py serves a the entrypoint for our application. In this file, we define our AI Agent and wrap it with the CansoLangraphAgent wrapper.
Add the necessary environment variables to the .env file.
Now we build the docker image for our Agent using the provided Dockerfile and push it to the repository.
Registering and Deploying the agent
Run the following commands to register and deploy the agent in your cluster.
Congratulations! The Fraud Analyst Agent is successfully deployed and is ready to work for you!
Interacting with the agent
You now interact with the agent using the gru agent converse <agent-name> command. Here's an example conversation with the Fraud Analyst Agent:
Last updated
Was this helpful?