# Autonomous Test Engineer

> Risk-based autonomous testing agent for generating, executing, and triaging software regression suites.

Autonomous Test Engineer is a free AI agent skill on Agensi by Lutian, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Lutian](https://www.agensi.io/creators/lutian)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.0
- Last updated: 2026-11-03
- Security: scan passed (2026-10-17); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/autonomous-test-engineer
- Tags: testing, code-review, automation, vitest, pytest

## About this skill

Manual testing and generic test generation often miss edge cases or fail to map back to specific code changes. This skill implements a risk-based testing workflow that identifies high-impact surfaces, generates targeted test cases, and triages failures with evidence. It treats every test as a verifiable experiment rather than a one-off script.

### What it does
- **Risk mapping** creates a behavior-to-test matrix covering happy paths, negative cases, and failure modes.
- **Framework detection** inspects existing repository configurations to match local testing conventions.
- **Test generation** writes isolated, deterministic tests with stable fixtures for regression and new features.
- **Failure triage** categorizes results into product defects, test defects, flakiness, or environment issues.
- **Evidence reporting** delivers measured pass rates and execution logs while clearly marking unverified code.

### How it works
1. **Discovery** analyzes the codebase, changed modules, and existing CI configuration to determine the test framework.
2. **Strategy** builds a risk-based matrix based on user objectives and system constraints.
3. **Implementation** writes tests using isolated fixtures and repository-specific patterns.
4. **Execution** runs the test subset, capturing exact commands and exit codes for the final report.

### Frameworks & tools
Works with any standard testing stack including Jest, Pytest, Cypress, Playwright, or JUnit. It adapts to the host environment's available CLI tools and shell permissions.

### Why this beats prompting it yourself
Generic prompts often produce hallucinated test results or generic assertions that do not actually run. This skill enforces a strict verification loop, distinguishing between proposed code and executed evidence while mapping every test back to a specific risk surface.

### Use cases
- Generate a regression suite for a high-risk refactor of a legacy module.
- Triage intermittent CI failures by isolating flakiness from environment issues.
- Map new acceptance criteria to a concrete behavior-to-test matrix.
- Audit existing test coverage against documented project requirements.

### Known limitations
Cannot perform destructive operations or access external networks without explicit authorization. Execution is limited to the tools and permissions provided by the host environment.

## Requires

- jest
- Node.js

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Autonomous Test Engineer skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does the agent handle and triage test failures?

The agent performs a deep analysis of your codebase and CI logs to categorize failures as genuine product bugs, environment issues, or flaky tests, saving engineers hours of manual debugging.

### Which testing frameworks and languages are supported?

It is designed to be framework-agnostic and automatically detects your environment to work with industry standards like Playwright, Cypress, Jest, Pytest, and JUnit.

### How does this compare to simply asking a general AI to write a test script?

Unlike a one-off prompt, this skill follows a strict verification loop that maps every generated test to a specific risk matrix, ensuring assertions are based on executed evidence rather than hallucinations.

### What exactly is included with the purchase of this skill?

The skill includes the core autonomous testing logic, predefined risk-mapping templates, and a suite of diagnostic tools for environment-aware test execution.

### Are there any security restrictions or network requirements for the agent to run?

The agent operates entirely within the permissions of your host environment; it cannot perform destructive operations or access external APIs unless you explicitly grant those capabilities.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
