Skip to content

feat: Add HarmActionsEval for evaluation of action-level safety in AI agents - #213

Open
prane-eth wants to merge 4 commits into
confident-ai:mainfrom
prane-eth:feat/harmactionseval-benchmark
Open

feat: Add HarmActionsEval for evaluation of action-level safety in AI agents#213
prane-eth wants to merge 4 commits into
confident-ai:mainfrom
prane-eth:feat/harmactionseval-benchmark

Conversation

@prane-eth

@prane-eth prane-eth commented Apr 1, 2026

Copy link
Copy Markdown

Background

AI agents have a growing adoption across the industry, including critical applications. AI agents that have access to tools can currently call tools directly with no centralized validation layer that inspects these calls before execution, allowing harmful or disallowed tool calls to be executed without oversight. Existing agent benchmarks evaluate the safety of final responses instead of actions.

HarmActionsEval benchmark evaluates actions. It found that 80% of the LLMs tested executed actions at the first attempt for over 95% of the harmful prompts.

Related work: https://github.com/Pro-GenAI/Agent-Action-Guard. It received 962 downloads on PyPI, and 247 clones on GitHub in the first week.

Changes

I integrated HarmActionsEval to allow evaluation of agent safety at action-level. HarmActionsEval is a dataset-based evaluation benchmark. I added the dataset, benchmark, test cases, and documentation.

All the test cases passed using: pytest tests/test_frameworks/test_harmactionseval.py
Example file at "examples/harmactionseval_evaluation.py" has been executed successfully.

@vercel

vercel Bot commented Apr 1, 2026

Copy link
Copy Markdown

@prane-eth is attempting to deploy a commit to the Confident AI Team on Vercel.

A member of the Team first needs to authorize it.

@prane-eth prane-eth changed the title Feature Request: Add HarmActionsEval for evaluation of AI agent action safety Feature: Add HarmActionsEval for evaluation of action-level safety in AI agents Apr 1, 2026
@prane-eth
prane-eth force-pushed the feat/harmactionseval-benchmark branch from d2f31ab to b8db7ac Compare April 3, 2026 07:47
@prane-eth
prane-eth force-pushed the feat/harmactionseval-benchmark branch from b8db7ac to df368a9 Compare April 3, 2026 07:51
@prane-eth prane-eth changed the title Feature: Add HarmActionsEval for evaluation of action-level safety in AI agents feat: Add HarmActionsEval for evaluation of action-level safety in AI agents Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant