Getting Started with Agentic AI¶
This guide walks you through the process of creating a Project with an AI Agent powered by a large language model (LLM). You'll learn how to create an AI Agent with the persona of a customer support engineer, implement a tool to unlock accounts by validating the user email, and test your Flow using the Interaction Panel.
Prerequisites¶
- Ensure you have access to your Cognigy.AI account and have configured a primary LLM.
- During the Flow Configuration steps, an Email Notification Node will be used. Make sure your SMTP server settings are properly configured to receive notifications.
Create a Project¶
To create a Project, follow these steps:
- In the upper-left corner, click + to create a Project.
- Configure your basic Project settings.
- Select Agentic AI as your Project type.
Create an AI Agent¶
To create your first LLM-powered AI Agent, follow these steps:
- In the General Settings step, fill in the following fields:
- Name — enter a name for your AI Agent. This name will be visible to end users when the AI Agent greets them in the chat or when one AI Agent transfers the conversation to another. For example,
Hello, my name is John. How can I help you?
- Description — enter a description of the AI Agent that shapes its behavior and enhances its ability to understand the desired communication style. For example:
John works at ACME and is highly skilled at making customers feel comfortable.
- Name — enter a name for your AI Agent. This name will be visible to end users when the AI Agent greets them in the chat or when one AI Agent transfers the conversation to another. For example,
- In the Avatar section, select an avatar of your choice.
- In the Speaking Style step, configure how the AI Agent's choice of wording is influenced by the selected speaking style, which can affect the tone and clarity of its responses:
- Concise/Comprehensive — adjust the slider to the left for brief responses.
- Formal/Informal — adjust the slider to the left for more casual and conversational responses.
- In the Knowledge & Instructions step, configure the following fields:
- Instructions — provide special instructions to your AI Agent in bullet-point form. For example:
- Greet users warmly and professionally. - Keep responses concise; expand only if requested.
- Instructions — provide special instructions to your AI Agent in bullet-point form. For example:
- In the Data Privacy & Security step, we recommend leaving the settings unchanged.
- In the Job Selection step, select Default to create an AI Agent with a predefined Flow.
- Click Create & Configure LLM to save changes and open the Flow with the created AI Agent.
Configure the AI Agent in your Flow¶
Once the Flow opens, you'll see the AI Agent Node with predefined settings based on the AI Agent persona you created.
To configure the Flow, follow these steps:
- Below the parent AI Agent Node, configure the child Tool Action Node. Left-click the unlock_account Node to open the Node editor.
- Activate the Use Parameters setting to request a user email before unlocking the account. In the Parameters section, make sure that the email parameter appears.
- Below the child Tool Node, replace the placeholder Node with an Email Notification Node. The Email Notification Node acts as an Action Node, designed to trigger specific actions and perform the task assigned to the tool. In this case, the Email Notification Node will send a confirmation email when the task is completed.
- Open the Node editor and configure the following fields:
- Recipient TO Email Addresses — enter the email address to which the account unlocking confirmation should be sent.
- Email Subject — enter
Account Unlocked
. - Email Content — enter
Dear user, your account has been successfully unlocked
.
- Below the Action Node, add a Resolve Tool Action Node to control how the AI Agent responds after executing the Email Notification Node. The Resolve Tool Action Node returns the conversation to the parent AI Agent Node, providing the option to choose a different tool.
Test your Agent¶
To run your Flow, follow these steps:
- Open the Interaction Panel.
- Enter the following text:
Hello, I want to unlock my account
. The AI Agent will ask you to provide your email. - Enter your email. The AI Agent will validate your email address and send an update to the provided email address. The AI Agent will confirm that the account is unlocked by posting:
Your account has been successfully unlocked
.
What's Next?¶
- Try creating an AI Agent tailored to your business needs or hire one from the Job Market.
- Add the AI Agent to your Flow and create a set of tool actions for your AI Agent to operate.
- For a deeper dive into Agentic AI, visit the Cognigy Help Center.