Skip to main content

Agents

Overview

Agents in Veezoo allow you to create reusable analysis assistants tailored to your specific business needs. They consist of instructions that Veezoo will follow when the agent is invoked.

For example, an agent may give you an overview of recent sales trends in your company, and you can instruct it what it should focus on.

An agent can be created over the Chat UI or defined through a agent declaration in VKL.

qb {
agent Marketing_Agent {
name.en: "Marketing Analysis"

for_user_role: "Marketing"

instructions:
"""# Intent
Look at the marketing campaigns and their performance last year.
Focus in particular on ...
"""
}
}

Advantages of defining as VKL code

By defining it as VKL code, you can:

  • collaborate more easily with other team members
  • have it version controlled
  • easily share it across tenants in a multi-tenant / embedded setup
  • have the agent available in development branches

How to create it

To create an agent in VKL, you have two options:

To create a new agent, just analyze your data through the chat UI and once you are satisfied with the results, click on "Save as Agent" at the end of the latest text answer.

Studio Sidebar

This is very useful, as Veezoo will generate the instructions for the agent for you, based on your analysis.

Creator users can then transform an existing agent into VKL by clicking on the "Transform to VKL Agent" button in the agent's dropdown menu.

Before doing so, you can also check the VKL code that will be generated by clicking on "VKL Agent (Preview)".

Studio Sidebar

Option 2 - Directly in Studio

Open Studio and click to create a new Agent file in the Sidebar. When the modal appears, give it a name, e.g. "My Agent".

Studio Sidebar