22. AI Tools

The AI Tools section brings together all the settings related to the artificial intelligence features integrated into the CRM. From here, you can configure the Large Language Model (LLM), manage MCP clients and servers, define AI agents, and customize the AI chat integrated into the system.

22.1 LLM

The LLM section of the settings allows you to register the Large Language Models (LLMs) that vtenext can use for AI agents and other AI-powered features. Here, you can define the model's connection details, assign it a name for identification, and configure parameters that influence the model's response behavior.

vtenext does not include a built-in AI model within the CRM. To configure an LLM, you must have either a remote model accessible through OpenAI-compatible APIs or a locally installed model that is reachable by the system. In other words, this configuration is used to connect vtenext to an external or local AI service—the model itself is not built into the CRM.

The List View

The list displays all previously saved configurations. For each entry, you can view:

image.png

From the list, you can create a new configuration, edit an existing entry, delete it, or quickly enable and disable it.

Creating a new LLM

image.png

  1. Open the LLM section.
  2. Click Add.
  3. Fill in the required fields.
  4. If necessary, run a configuration test.
  5. Save.

image.png

Active

makes the model available for use

Name

descriptive name of the model displayed in vtenext. Required field

URL

API endpoint to which vtenext sends requests to the model (for example, https://api.openai.com/v1/chat/completions). Required field

Model

identifier of the model to be used (for example, gpt-5.2). Required field

Base URL

the base address of the service hosting the model. In practice, it tells AI agents and the Python orchestrator where the model service is located. It becomes particularly important when using a local model or an internal service within the infrastructure, for example an endpoint such as http://127.0.0.1:11434

Provider

indicates to vtenext and the Python orchestrator what type of service is behind the model, such as OpenAI or Ollama

API Key

authentication key provided by the provider, required to authorize API requests

Temperature

controls the level of randomness in generated responses. Lower values (for example, 0.2) produce more consistent, predictable, and repeatable responses; higher values (for example, 0.8 or above) encourage more varied and creative responses

Maximum Tokens

defines the maximum total number of tokens that the model can use to process the request, including both the messages sent and the generated response (if supported by the provider)

Maximum Completion Tokens

limits the maximum number of tokens that the model can use exclusively for the generated response

Developer Message

instructions addressed to the model with the developer role, used to define behavioral rules or application constraints

System Message

general instructions that define the model’s behavior during the conversation

User Message

test message sent to the model to verify its operation. Required field

How the test works

The TEST button sends an actual request to the model using the configured parameters and displays:

image.png

image.png

Call Result: RESULT tab

image.png

Call Result: HEADERS tab

image.png

Call Result: RESPONSE tab

The test is used to verify the configuration, but it does not replace saving the configuration.

The test sends an actual request to the remote or local model. If the model cannot be reached via API, the test cannot be performed.

Practical examples

Example 1: OpenAI-compatible model

Use this configuration when the model is available as a remote service through an external API. Set the name, URL, model, and API Key, then send a simple test message.

Example 2: Local model

If the model runs locally or on an internal infrastructure, also fill in the Base URL and Provider fields. In this case as well, the model must already be installed, active, and reachable over the network.

22.2 MCP Server

The MCP Servers section allows you to publish, through vtenext, an MCP endpoint that makes CRM tools and operations available to compatible external clients. In practice, this section is used to define which MCP server to expose and which tools to publish through it.

In summary: an MCP server is not an AI model and does not replace an AI agent. It is an access point that securely exposes CRM functions, allowing compatible MCP clients to invoke them from external applications.

When to use it

The List View

The list displays all previously configured MCP servers.

image.png

Active

indicates whether the server is enabled and publicly available

Endpoint

identifier of the published server

Description

descriptive text for the server

Published Tools

number of tools made available through the server

MCP

associated MCP client, if any, including its synchronization status

From the list, you can create a new server, edit an existing one, delete it, or copy its full URL.

Creating a New MCP Server

image.png

  1. Open the MCP Servers section.
  2. Click Add.
  3. Check the Base URL displayed by the system and verify that it is accessible from outside the network.
  4. Enter the Endpoint name.
  5. Add a Description, if needed.
  6. Choose whether to also create the associated MCP client.
  7. Select the tools to publish.
  8. Save the configuration.

Configuration Parameters

image.png

Active

makes the server available for use

Base URL

initial part of the server address ($site_URL), displayed as read-only. It is automatically generated by the system

Endpoint

final identifier of the server. It is the part that completes the public URL of the MCP server. It must be unique and may contain letters, numbers, underscores, and hyphens

Description

used to explain the purpose of the server to administrators or users responsible for maintaining it

Create MCP Client

automatically creates an MCP client pointing to this server. The connection is kept synchronized and, if the server is deleted, the associated client is also removed

Published Tools Selection

After the main fields, the screen displays the section dedicated to the published tools.

image.png

The available tools can come from multiple areas of the system, for example:

You can select them by group or quickly search for them using the search field. Some basic tools are automatically maintained by the system, even if they are not manually selected, to ensure the correct operation of the integration.

Practical examples

Example 1: MCP server for internal CRM tools

You can create a server dedicated to a limited set of tools, for example only those required by an internal assistant or a controlled integration.

Example 2: MCP server with connected client

If you want the server to be immediately usable from the client side as well, you can enable the Create MCP Client option. In this way, vtenext automatically prepares the client that connects to that server.

Example 3: Selective tool publishing

If you do not want to expose all available functions, you can publish only the tools that are actually required. This approach helps keep the integration more organized and controlled.

22.3 MCP Client

The MCP Clients section is used to connect vtenext to an external or internal MCP server, allowing it to retrieve and use the available tools within processes and agents. In practice, this section is where you configure how to reach the MCP server, how to authenticate, and how to keep the list of available tools up to date.

In summary: the MCP client does not publish functions externally. It performs the opposite operation: it connects to an MCP server, retrieves its tools, and makes them available within vtenext.

When to use it

The List View

The list displays all previously configured MCP clients.

image.png

Active

indicates whether the client is enabled

Name

internal name used to identify the connection

URL

address of the MCP server to which the client connects

Last Synchronization

shows when the tools were last synchronized, or indicates that the client has never been synchronized

From the list, you can create a new client, edit it, or delete it. If the client is connected to an internal MCP Server, you can also directly open that server from the list.

Creating a New MCP Client

image.png

  1. Open the MCP Clients section.
  2. Click Add.
  3. Enter an easily recognizable Name.
  4. Enter the URL of the MCP server.
  5. Choose the Authentication type.
  6. Fill in the required credentials, if applicable.
  7. Decide whether to enable Periodic Synchronization.
  8. Enable Notifications if you want to be notified when tools change.
  9. Save the configuration.

Important: when saving, vtenext actually attempts to connect to the MCP server. If the connection fails, the configuration is not accepted.

Configuration Parameters

image.png

Active

enables or disables the client

Name

descriptive name of the connection

URL

full address of the MCP server to connect to

Authentication

defines how the client authenticates with the MCP server

Username and Password

displayed when Basic Authentication is selected

API Key

displayed when Bearer or X-API-Key authentication is selected

Synchronize

allows a cron job to periodically check the available tools and update them when new ones are detected

Notification

sends a notification when synchronization detects changes in the server's tools

How authentication works

The selected authentication method changes the fields displayed in the configuration form.

No Authentication

no additional credentials are required

Basic

you must enter a username and password

Bearer

you must enter a token or API key

X-API-Key

you must enter the API key in the dedicated field

VTE (Access Key)

vtenext automatically uses the dedicated MCP access key of the user performing the call. No credentials need to be entered manually

When to use VTE (Access Key): this option is particularly useful when the client points to an MCP Server exposed by vtenext, because it allows the system to manage authentication automatically.

Connection Verification and Tool Mapping

The client screen also provides a verification function.

image.png

image.png

Call Result: RESULT

image.png

Call Result: HEADERS

image.png

Call Result: RESPONSE

This verification is especially useful when configuring a new server or when you want to check that authentication is working correctly before the final save.

Available Tools

After saving, or after mapping from the verification window, vtenext displays the list of tools retrieved from the MCP server.

image.png

For each tool, you can view:

This information is stored locally, so the tools can then be invoked within agents and processes without having to reinterpret the remote server structure each time.

Periodic Synchronization

If you enable Synchronize, a scheduled process can periodically check whether new or modified tools are available on the MCP server.

Warning: when tools change on the MCP server, it may be necessary to check any processes or agents that use them, especially if parameters or outputs have changed.

Practical examples

Example 1: Connecting to an external MCP server

You can configure an MCP client that points to an external server published by another system. In this case, enter the URL, the required authentication method, and then verify the available tools.

Example 2: Connecting to a vtenext MCP Server

If you have already created an MCP Server in the relevant section, you can connect the client to the same endpoint and use VTE (Access Key) authentication to simplify the configuration.

Example 3: Controlled tool updates

If the tools on the remote server may change over time, it is recommended to enable periodic synchronization and, if necessary, notifications as well, so that processes and agents remain aligned.

Web Search MCP - Exa

vtenext also provides a preconfigured MCP client called Web Search MCP - Exa. This entry is created automatically but remains disabled until you decide to use it.

Exa is a web search service designed for AI agents. It allows real-time web searches, retrieval of content from specific web pages, and provides models with more up-to-date information compared to the knowledge already embedded within the model.

image.png

How to activate it

  1. Open the Web Search MCP - Exa entry in the MCP Clients list.
  2. Leave the preconfigured URL unchanged, as it points to Exa’s public MCP server.
  3. Set or complete the X-API-Key authentication with the API key from your Exa account.
  4. Enable the client.
  5. Save and verify the available tools.

In this case, the authentication method expected by vtenext is X-API-Key, which is already selected in the initial client configuration.

Available Tools with Exa

The MCP server exposes the following tools:

When it can be useful: Exa is particularly suitable when you want to provide agents and processes with access to up-to-date web searches, online page analysis, or the rapid collection of external information.

For further details about the service and the features of the Exa MCP server, refer to the official website: https://exa.ai/mcp.

22.4 Agents

The Agents section allows you to configure AI agents that combine an LLM model, one or more MCP tools, and, if required, CRM documents to use as a knowledge base. In practice, this is where you define how the agent reasons, which tools it can use, and which content it can access to perform a task.

In summary: an agent is not just an AI model. It is a complete configuration that combines an LLM, operational tools, and document sources, allowing it to perform tasks in a more controlled and context-aware way within vtenext.

Prerequisite: Agent Orchestrator

To use agents, the Agent Orchestrator service must be installed and reachable. In the Agents list view, there is a dedicated section where you can specify the Orchestrator Endpoint, which is the base URL of the service.

image.png

Important: if the orchestrator endpoint is not configured correctly, agents cannot be executed.

When to use it

The List View

The list displays all previously configured agents.

image.png

From the list, you can create a new agent, edit it, or delete it.

Creating a New Agent

image.png

  1. Open the Agents section.
  2. Click Add.
  3. Enable or disable the agent according to your needs.
  4. Enter the Name and Description.
  5. Select the LLM to use.
  6. Decide whether to keep the LLM system prompt or override it for this specific agent.
  7. Select the tools the agent will be able to use.
  8. If necessary, enable the RAG capability and select the documents.
  9. Configure any guardrails.
  10. Save the configuration.

Main Fields

image.png

When to use system prompt override: it is useful when you want to keep the same LLM but significantly change the behavior, tone, or responsibilities of a specific agent.

Available Tools for the Agent

Below the main fields, you will find the Tools section, where you can choose which tools the agent is allowed to use.

image.png

The tools are displayed by groups, based on the active MCP clients and the available internal tools.

For each group, you can select all tools or quickly deselect them. A search function is also available to filter tools by name or description.

Warning: the agent can only use the tools selected in this section. If an MCP client is not configured or has no synchronized tools, it will not appear as an available source.

RAG Capability and Documents

If you want the agent to also work with CRM content, you can enable the RAG capability.

image.png

Once added, documents remain linked to the agent and can be removed at any time from the table.

When to use RAG: it is useful when the agent needs to answer questions or perform tasks based on documentation, files, or company content stored in the CRM, rather than relying only on generic instructions.

Guardrail

The Agents section also allows you to define checks before and after response generation.

image.png

Static rules can include plain text or regular expressions, one per line.

Warning: LLM-based guardrails can increase token consumption and response times, as they add additional verification steps.

Practical examples

Example 1: Agent with operational tools

You can create an agent that uses an LLM and selected MCP tools to query data, perform permitted actions, or access external services such as web search.

Example 2: Document-based agent

You can create an agent focused on internal documents by enabling RAG and selecting only the files relevant to a specific department or process.

Example 3: Agent with enhanced controls

If the agent operates on sensitive content, you can apply pre-guardrails and post-guardrails to restrict inappropriate requests or responses.

22.5 Kitt Assistant

The Assistant section allows you to define how the vtenext Kitt Assistant should generate its responses. In practice, this is where you choose which response engine to use: a direct LLM, a preconfigured agent, or a custom REST Web Service.

In summary: the assistant is the access point through which the user interacts. Depending on the configuration, it can respond directly using a model, use advanced tools through an agent, or delegate the response to an external service.

Prerequisites

Creating or Editing the Assistant

image.png

  1. Open the Assistant section.
  2. Enable or disable the configuration.
  3. Select the Assistant Type.
  4. Fill in the field displayed based on the selected type.
  5. Save the configuration.

Type: Agent

If you select Agent, the assistant will use one of the agents already configured in vtenext.

image.png

When to use an agent: it is the right choice when you want the assistant to do more than provide a simple text response, for example by using tools, consulting documents, or applying more advanced controls.

Type: LLM

If you select LLM, the assistant will use a language model configured directly in the LLM section.

image.png

This mode is simpler than using an agent because it does not involve MCP tools or RAG documents.

Overriding the System Prompt

When the assistant is configured in LLM mode, you can decide whether to keep the model’s system prompt or replace it.

image.png

When it is useful: overriding the system prompt is useful when you want to keep the same model but change the assistant’s tone, purpose, or behavior compared to other configurations that use the same LLM.

Type: REST Web Service

If you select REST Web Service, the assistant delegates the response generation to an external REST service that has already been configured.

image.png

Limitation: in this mode, streaming and conversational memory are not supported.

This option is useful when you want to connect the assistant to an existing external system or to a custom AI service that is not managed directly as an LLM or agent within vtenext.

Practical examples

Example 1: LLM-only assistant

You can configure a lightweight assistant that uses an LLM directly to answer general questions, without additional tools or documents.

Example 2: Agent-based assistant

You can use an agent when you want the assistant to have access to web search, company documents, or CRM operational tools.

Example 3: Assistant with an external service

You can connect a custom REST Web Service if your workflow relies on an external response engine or business logic already developed outside of vtenext.

22.6 Examples

Below are some example requests to demonstrate the assistant’s capabilities.


Creating an Account

I can create any record managed by the CRM, such as an account in this case. Any tools used by the assistant are displayed, and for write operations, approval is requested before proceeding.

image.png     image.png

image.png

The account is created by triggering any configured processes. In this example, the active process performs web scraping to enrich the information in the company record.

image.png


Ticket Response Rewording

In this example, I need to reply to a ticket where the customer reported login issues. I can create a draft response by typing it directly into the Add Comment field.
By clicking on that field, the content is added to Kitt’s context and the Process Text quick action becomes available.

image.png

image.png     image.png

The response will include an Apply button, which allows you to replace the text in the field used as context with the processed text. You can then proceed to send the message.

image.png


From Ticket to FAQ

Using the ticket from the previous example, I ask the assistant to write a solution based on the comments and then create an FAQ.

image.png    image.png

image.png


Sending an Email

If the assistant uses an agent, all active tools can be used directly within the chat. For example, you can configure a process tool for sending emails and then ask the assistant to send an email.

The process will be configured as shown, and once activated, make sure that the tool is enabled in the agent.

image.png

image.png

By asking the assistant to send an email to a contact, the VTE tools will then be used.

image.png     image.png