Build Your Digital AI Agent in Minutes¶
In this tutorial, you will learn how to create a simple digital AI Agent from scratch that greets you by name. Then you will test this agent using built-in Cognigy testing tools.
Create a Project¶
Create a project that involves building an AI Agent:
- Open the Cognigy.AI interface.
- In the upper-left corner, click + Create Project.
- On the Basic settings for your Project page, specify a name for your agent in the Project Name field, for example,
AI Agent
. - Click Create Empty Project.
Once the project creation is complete, you can proceed with building the AI Agent.
Build a Chat Agent¶
To build a chat agent, follow these steps:
- In the left-side menu, navigate to Build > Flows.
- Create a new Flow by clicking + New Flow in the upper-right corner.
- In the New Flow window, do the following:
3.1. Add a unique name, for example,Getting Started
.
3.2. Add a relevant description, for example,Getting Started Guide for chat agent
.
3.3. Click Create. - In the Flow editor, create a new Node by clicking + and selecting a Question Node from the list.
- Left-click the Question Node to open the Node editor.
- In the Question Node editor, set up the following parameters:
5.1. From the Question Type list, select Text.
5.2. In the Text field, enter the following sentences:Hello! What's your name?
5.3. Click Save Node. - Below the Question Node, add a Say Node.
- Left-click the Say Node to open the Node editor.
- In the Say Node editor, go to the Text field.
- In the Text field, enter
Hello
and click.
- From the Tokens list, select Answer. This token lets reuse the user's answer in the AI Agent's response.
- Click Save Node.
Once your AI Agent is created, you can test it via the Interaction Panel.
Test your Chat Agent¶
To test your AI Agent, follow these steps:
- In the existing Flow, open the Interaction Panel by clicking
Chat with your Agent in the upper-right corner of the page. The Interaction panel appears on the right side of the Flow Editor.
- Initiate a conversation by entering
Hello
in the Text Message field and press Enter. - Answer the AI Agent's question by entering your name. The AI Agent will greet you by your name.
![](../../../_assets/ai/overview/getting-started-chat.png)
Now you can deploy the agent using the Webchat v3 Endpoint, and see how conversations look on the production environment through Demo Webchat.
What's Next?¶
- Familiarize yourself with the core concepts of building AI Agents, such as Projects, Flows, Nodes, and Cognigy Script.
- Enhance your agent's performance with AI features, such as NLU, LLMs and Generative AI, as well as Knowledge AI.
- Explore test and deploy features.
- Connect your agent to the contact center.