Skip to main content
Testkube 2.16.0 is out! Skills for AI Agents and Test Bundles, evals for AI Agents, A2A access, and much more! Read More

Testkube AI Overview

Testkube AI works inside your environment, with the logs, artifacts and history from every test run, so it knows your tests. It has four parts:

  • AI Test Creation - describe what you want to verify, and get a running test.
  • AI Agents - investigate failures, analyze trends and propose fixes, in a chat or on their own.
  • Testkube MCP Server - connect your own AI tools to your Testkube environment.
  • AI Governance - control who can use which AI Agents and models, how many tokens they use, and see what they did.

AI Test Creation​

AI Test Creation writes tests from a description in plain language. The AI generates the test files, runs them in your environment in an isolated Sandbox, and shows you the code and the execution results, so you can review them and keep refining in chat.

  • Start from a prompt in the Test Catalog, with the testing framework of your choice
  • Work on an existing repository from GitHub or GitLab, and push the changes to a branch for review
  • Keep related tests together in Test Bundles

Learn more about AI Test Creation →

AI Agents​

AI Agents are the core of Testkube AI — customizable, LLM-powered workers that perform analysis and automation tasks using MCP (Model Context Protocol) tools to interact with your workflows, executions, and external systems.

AI Assistant​

The AI Assistant is where you chat with AI Agents, an always-available chat interface in the Testkube Dashboard. Open it from the bottom-left button to ask questions, analyze failures, or run any AI Agent interactively.

  • Overlay mode for quick questions on top of your current view
  • Docked mode for side-by-side work during longer analysis sessions
  • Switch between AI Agents and LLM models on the fly

Learn more about the AI Assistant →

Default Agents​

Every environment comes with five pre-configured agents ready to use:

AgentWhat it does
Testkube HelperGeneral-purpose assistant — ask it anything about your workflows, executions, or environment
TroubleshootAnalyzes failed executions — examines logs, artifacts, and history to identify root causes
Design & OptimizeCreates new Test Workflows and optimizes existing ones (with approval for changes)
Analyze & ReportSummarizes execution trends, workflow health, and metrics into actionable reports
Git Integration SummaryWrites the short execution summary the Git integration posts back on a pull or merge request

Custom Agents​

Build agents tailored to your needs by defining a custom prompt and selecting which MCP tools the agent can access. Connect external MCP Servers (GitHub, Slack, Jira, etc.) to extend agents beyond Testkube.

Learn more about AI Agents →

AI Agent Triggers​

AI Agent Triggers turn agents into automated pipeline components that react to events without human intervention. Configure a trigger to automatically run an agent when:

  • A workflow execution fails — instant root cause analysis or automatic rerun
  • A workflow changes state — detect newly broken workflows without repeated noise
  • A scheduled workflow completes — periodic health audits, compliance checks, or cost reports

Triggers support label selectors to scope which workflows activate them, prompt templates with execution context variables, and deduplication to prevent duplicate sessions.

Learn more about AI Agent Triggers →

Testkube MCP Server​

The Testkube MCP Server implements the Model Context Protocol standard, enabling AI tools in your IDE — GitHub Copilot, Cursor, Claude, and others — to interact directly with your Testkube environment. Run workflows, analyze failures, and manage tests using natural language from your editor.

Learn more about the MCP Server →

Testkube Agent Skills​

Testkube Agent Skills are open source skills that teach AI coding agents how to work with Testkube — discovering the tests in a repository, authoring valid TestWorkflow YAML, and running and diagnosing executions. Where the MCP Server gives an agent access to your environment, skills give it the knowledge to use that access well.

They follow the Agent Skills open standard and work with Claude Code, GitHub Copilot, Codex, and Cursor.

Learn more about Testkube Agent Skills →

AI Governance​

AI Governance gives Organization admins and owners control over how AI is used in their Organization, from one place: AI & Governance in Organization Management.

  • Access - decide who can use each AI Agent and see its chats, and which models each Member and AI Agent can use
  • Token limits and pauses - cap the AI tokens a Member, an AI Agent, an Environment or the Organization can use, or pause AI at any of those levels
  • Usage - see how many AI tokens were used, split by AI Agent, Member, model or Environment
  • Evals - have a judge model score the answers of an AI Agent, and warn about or disable it when too many of its turns fail
  • Tracing and audit - send OpenTelemetry traces of every AI turn to your own observability tool, and find every tool call in the Audit log

Learn more about AI Governance →

AI Models​

Testkube AI works with your choice of LLM. Platform models are provided out of the box, and you can add your own models (OpenAI, Azure OpenAI, or any OpenAI-compatible service) to use specific models for different agents or tasks.

Learn more about Configuring AI Models →


Getting Started​

  1. Enable AI - Configuration Quick Start
  2. Create a test with AI - Describe your first test and review what the AI writes and runs
  3. Try the AI Assistant - Open it from the Dashboard and ask a default agent to analyze a recent execution
  4. Create a custom agent - Define an agent tailored to your workflow, or start from an example
  5. Automate with triggers - Set up a trigger to run agents automatically on failures or on a schedule
  6. Connect your IDE - Configure the MCP Server for AI-assisted testing in your editor
  7. Govern AI use - Set access, token limits and tracing for your Organization
  8. Teach your coding agent - Install the Testkube Agent Skills so it knows how to discover, author, and run tests

Reference​