Testing with Generative AI study guide

Autonomous AI Agents

Autonomous AI Agents are advanced GenAI systems that do not just generate text, but are given access to Tools (like web browsers, calculators, or APIs) and the agency to plan and execute multi-step actions to achieve a high-level goal without human intervention.

Practical example

Testing agents is exponentially harder than testing chatbots. An agent might enter an infinite loop of using a tool incorrectly, or worse, execute a destructive action (like deleting a database) if not sandboxed properly. QA must test the agent's Planning, Memory, and Tool-use capabilities.

Exam scenario and common trap

Question: What is the most critical safety mechanism when testing a new Autonomous Agent that has API access? The Trap: "Use a low Temperature." The Correct Answer: Implement a Human-in-the-Loop (HITL) authorization step or execute the tests in a strictly isolated sandbox environment to prevent destructive tool use.

Related syllabus sections cover this topic. Reference sections: 4.1.3. See the official ISTQB syllabus for exam scope. Examples are independent; QA-ace is not affiliated with ISTQB.