Skip to content
Kitbay
Submit

agentforce-test

Apache-2.0Updated on Nov 6, 20261,156GitHub stars

A Salesforce skill for testing Agentforce agents. The agent writes AiEvaluationDefinition test specs in YAML, deploys and runs them with sf agent test commands, reads the results and explains why cases failed.

What the skill teaches

A Salesforce skill for testing Agentforce agents. The agent writes AiEvaluationDefinition test specs in YAML, deploys and runs them with sf agent test commands, reads the results and explains why cases failed. It also advises on coverage, metric choice and custom evaluations, and on running suites in batches or in CI. A security mode has the agent design adversarial cases, such as prompt injection and other categories from the OWASP list of LLM risks, run them live and give the agent a security grade. Writing or deploying the agent itself is left to other skills in the set.

Capabilities

  • Write Agentforce test specs in YAML
  • Run agent test suites with the sf CLI
  • Diagnose failing agent test cases
  • Run security and prompt-injection tests against an agent