Sketch Agent
Generate and manage scenarios with prompts, select AI models and agents, and review generated scenarios in Test Design Studio.
✨ Generate and manage scenarios with Sketch Agent
Sketch is an interactive prompt agent in algoQA Test Design. Describe a scenario you want to create or change in plain language, then review Sketch's proposal or preview before approving the changes.
What you can do with Sketch Agent
Sketch Agent handles these tasks across your project's test cases, steps, features, controls, and nodes.
Test case management
- Create test cases with steps in BDD format: Given/When/Then.
- View test cases with their steps, outlines, tags, and metadata.
- Update test case names, outlines, and custom tags.
- Delete test cases, with a confirmation step.
- Copy or duplicate test cases under a new name or at a specific position.
- Reorder test cases within the project.
- Find duplicate test cases across the entire project.
- Search and filter by name, outline, custom tags, review status, creator, date range, and other criteria.
Scenario steps
- Add steps to test cases.
- Update existing steps, including the feature, control, action, and value.
- Delete a single step or several steps at once.
- Reorder steps within a test case.
- Bulk update steps across multiple test cases: replace, remove, merge, or add.
- Find control usage to see which test cases use a specific control.
Features and controls
- Create features (pages or modules) under nodes.
- Create nested features, that is, features within features.
- Update feature names, with impact analysis for shared features.
- Delete unused features.
- Create controls (UI elements such as buttons and text boxes).
- Update control names and properties.
- Delete unused controls.
- Prevent duplicates by keeping names unique within each scope.
Object repository (Locators/XPath)
- Add locator mappings (XPath, CSS, ID, and others) for controls.
- Update locator values and identification types.
- Delete object repository entries.
- Replace locators across multiple entries.
- Find entries by locator value.
Nodes and hierarchy
- View all nodes (page or module groups) in the project.
- Create nodes.
- Update node names.
- Delete nodes.
- Explore the complete feature and control hierarchy.
Jira integration (when connected)
- List Jira bugs and anomalies for the project.
- Fetch issue details by key.
- Generate test cases from Jira issues, up to three per turn.
- Auto-populate test case names, outlines, and steps from ticket descriptions.
Smart features
- Reuse existing steps: paste step lines and Sketch matches them to existing alias steps with all their properties.
- Auto-resolve IDs: Sketch resolves all internal database IDs, so you provide only names.
- Prevent data loss: confirmation gates for all destructive operations.
- Impact analysis: see what changes when you rename shared features or controls.
- Bulk operations: update many test cases at once with a single preview and approval.
Open Sketch Agent
After creating a project and its first scenario, open the Test Design screen and select algoAI (Sketch Agent) to create another scenario from a prompt.

Describe the scenario
Enter a description of the scenario you want to generate. To provide the description by voice, click the microphone once, speak the scenario description, and click Send.

AI credits are used when generating scenarios with algoAI. Pro Lite users receive 2,000 credits, Pro users receive 30,000 credits, and Enterprise users receive 100,000 credits. You receive a notification when you exceed your credit limit.
Review the scenario preview
Review the generated scenario preview. Select Reject to discard it or Create to add the scenario to your project.

Review the created scenario
Open the created scenario and review its steps. Make any necessary corrections before generating test cases.

Generate test cases
Review the scenario and make any corrections, such as updating the locator, then click Generate to generate test cases. For more information, refer to Generate Test Cases and Test Scripts.

Manage the chat
Click Expand chat to expand the chat. Click Collapse Chat to collapse the current chat. Click New Chat to start a new conversation.

Open chat history and scenarios
Select Recent to view recent scenarios.
Choose the AI model
Click the Choose the AI Model dropdown and select a model. The Auto option selects Claude Haiku 4.5 by default and uses Claude Sonnet 4.5 to generate complex scenarios. You can also manually choose Claude Haiku 4.5 or Claude Sonnet 4.5 based on the scenario complexity.

Choose an agent
Click the Agents dropdown to choose between algoAI Agents, Sketch Agent, Prompting, and Jira MCP. To learn more about prompting, refer to Prompting. To learn more about integrating Jira and generating scenarios from Jira defects, refer to Jira Defects to Test Case Generation.

Use Sketch with bulk updates and maintenance
Use interactive prompts in Sketch to update multiple selected scenarios at once or create and refine new scenarios. Sketch shows a proposal or preview first and does not change scenarios until you approve the proposal.
Review the proposal before approving it. For updates, compare the Original and Updated versions, exclude any scenarios that should not change, and then approve the proposal.
Add a step across selected scenarios
Select the scenarios
Select the scenarios that should receive the new step.
Describe the step and its position
Send a prompt that describes the step and the position where Sketch should place it in the selected scenarios.
Review the proposal
Compare the Original and Updated versions. Exclude any scenarios that should not receive the step.
Approve and verify the update
Approve the proposal, then verify that the step appears in the requested position in each selected scenario.
Delete a step across scenarios
Review the delete proposal
Send a prompt describing the step to delete. Review each listed occurrence where Sketch will remove the step.

Approve and verify the deletion
Approve the proposal, then verify that the step was removed from the intended scenarios.

Create a scenario
Describe the scenario
Send a prompt describing the scenario you want to create.
Review the preview
Review the generated scenario preview.
Reject or create the scenario
Select Reject to discard the preview or Create to add the scenario.
Refine a scenario
Send a follow-up prompt
Send a follow-up prompt that names the created scenario and specifies the steps to change or add and where Sketch should place them.
Review the proposal
Review the proposed refinement for the named scenario.
Approve or reject the refinement
Select Approve to apply the refinement or Reject to discard it.