sf-ai-agentforce-testing

Orchestrates end-to-end validation of Agentforce agents via API and CLI.

6|Updated Dec 20, 2023
One-click install
npx skills add https://github.com/ronitnuguru/Package-Visualizer --skill sf-ai-agentforce-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sf-ai-agentforce-testing
Source: https://github.com/ronitnuguru/Package-Visualizer/tree/main/.cursor/skills/sf-ai-agentforce-testing
Command: npx skills add https://github.com/ronitnuguru/Package-Visualizer --skill sf-ai-agentforce-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyyaml, rich, requests, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

The Agentforce testing workflow reduces manual QA overhead by automating multi-turn API tests and CLI tests for Agentforce agents, enabling faster validation and safer deployments.

Core Features & Use Cases

  • Dual-track testing: multi-turn API tests via Agent Runtime API and CLI tests via Testing Center.
  • Coverage analysis: topic, action, context, and guardrail scoring with observability hooks.
  • Agentic fix loop: auto-fix and re-test cycles with delegation to sf-ai-agentscript.

Quick Start

Run automated end-to-end agent tests to validate routing, actions, and guardrails across both API and CLI pathways.

Frequently Asked Questions about sf-ai-agentforce-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Agentforce agent testing for multi-turn API workflows?

Automated Agentforce agent testing orchestrates end-to-end validation using the Agent Runtime API to execute multi-turn API test scenarios and score results across 7 categories. It analyzes topic and action coverage to reduce manual QA overhead.

What is the best way to test Agentforce guardrails and topic routing?

Testing Agentforce guardrails and routing utilizes dual-track validation, combining Agent Runtime API tests with CLI Testing Center workflows. This analyzes topic, action, context, and guardrail scoring with observability hooks for safer deployments.

Can I automatically fix and re-test Agentforce agents after a failed test run?

Agentforce testing includes an agentic fix loop that automatically delegates fixes to sf-ai-agentscript and coordinates test data to re-test agents. This cycle continues until validation passes, ensuring reliable deployments.

Does Agentforce testing support CLI workflows alongside API testing?

Agentforce testing supports CLI workflows by executing tests via the Testing Center alongside multi-turn API testing. This dual-track approach validates agent routing and actions across both API and CLI pathways.

How do I get observability and coverage analysis for Agentforce agents?

Agentforce testing provides coverage analysis by scoring topics, actions, context, and guardrails with integrated observability hooks. It executes test scenarios to evaluate agent performance across 7 distinct categories.

Why does my Agentforce agent fail guardrail validation during automated testing?

Agentforce guardrail validation fails are identified through CLI and API testing workflows that score coverage across 7 categories. The agentic fix loop then delegates corrections to sf-ai-agentscript to resolve routing or action issues.