Skip to main content
Testkube 2.6.0 is out! A new AI Agent Framework that integrates with external MCP Servers for agentic troubleshooting, remediation, etc. Read More

AI Agent Chats

An ongoing interaction with a Testkube AI Agent is called a "Chat". Testkube allows you to have multiple Chats ongoing at the same time, triggered by different mechanisms in the Testskube Dashboard - See below.

Testkube saves all Chats initiated by any user and makes them available in the Chats panel that can be opened from the left side Dashboard menu, making it easy to review old interactions and also follow up on them if needed.

AI Chats Panel

Chats can be filtered by their AI Agent and if they are waiting for tool approval (to help you quickly identify Chats that need your attention):

AI Chats Filter

Chat Details

Selecting a Chat will bring up the Chat Details panel to the right. This panel shows the ongoing conversation with the AI Agent, starting with the initial prompt and followed by MCP Tool calls, agent output and interactions that users have had with the Agent via follow-up prompts.

AI Chat Details

MCP Tool Calls

Each MCP Tool call that an Agent performs is shown separately in the Chat details, with the possibility to see the input/output for that particular interaction:

AI Chat MCP Tool Calls

MCP Tool Approval

Calls to MCP Tools that require approval in line with the configured approval policy (see Configuring MCP Server Tools ) will suspend the execution of the Chat until approval is either granted or denied.

In the example below, the list_commits tool in the GitHub MCP Server requires approval before it can be executed:

AI Chat MCP Tool Approval

User Input

The bottom of this view shows an input prompt that can be used to provide follow-up prompts to the Agent once it has completed its current task.

AI Chat User Input

Initiating a Chat

Chats can be initiated using various methods available in the Dashboard.

From the Chats Panel

The Chats View has a "Start a new chat" input box for initiating a new Chat with a specified AI Agent. Select the AI Agent you want to use and provide an optional initial prompt (if needed by the agent):

Start new Chat Modal

From the AI Agent Configuration Panel

When configuring an AI Agent, the "Run Agent" button on the top right will open a prompt to initiate a new Chat with that AI Agent:

Run AI Agent from AI Agent Details

From withing the AI Assistant

When interacting with the AI Assistant, you can directly ask it to initiate a Chat with a specified AI Agent:

Run AI Agent from AI Assistant

Using "AI Analyze"

In both the Executions Dashboard and Execution List for a specific Workflow, an "AI Analyze" button is available for failed Executions.

From the Executions Dashboard

AI Analyze in Executions Dashboard

From the Executions List

AI Analysize in Executions List

Selecting this button will prompt you to initiate a Chat with a selected AI Agent.

The default prompt will contain the names of the failed Execution and its Workflow, an Agent will automatically discover and use these values if its prompt requires them.

Default AI Analyze Prompt