Skip to content
News
SYSTEMS SHIFT:

AWS Workflow Lets GitHub Actions Block Failed AI Agent Checks

Newsroom brief

AWS has published a reference workflow for testing AI agents in GitHub Actions, using AgentCore Evaluations to score traces, block risky merges and expose runtime and judge-model tradeoffs.

Verified against source materialSource: DeveloperTech
AWS Workflow Lets GitHub Actions Block Failed AI Agent Checks
Image source: DeveloperTech

DeveloperTech reported that AWS has released a reference setup that lets GitHub Actions test AI agents before code is merged, moving agent evaluation into the same CI/CD lane as other software checks.

The workflow is designed to turn a pull request into an agent test run. When a pull request touches the agent, its infrastructure, an MCP server or the test scripts, the job creates a development stack, runs preset prompts, gathers telemetry and sends scores back into CI.

Those scores can become a merge gate. Branch protections or rulesets can make the job mandatory, turning a failed agent score into a blocked merge rather than a warning outside the review flow.

AWS built the sample around Amazon Bedrock AgentCore Evaluations and a Strands-based agent running on AgentCore Runtime. In the sample stack, the agent reaches tools through a Model Context Protocol server, and AWS Cloud Development Kit creates the runtime pieces, Cognito setup and IAM roles.

The September 8 guide uses four built-in checks: GoalSuccessRate, Correctness, ToolSelectionAccuracy and ToolParameterAccuracy. Together they examine whether the agent finished the requested task, produced a suitable answer, chose the right tool and derived tool parameters from the conversation context.

The reference threshold is 0.8. In AWS's deliberate regression example, a changed system prompt made GoalSuccessRate, Correctness and ToolParameterAccuracy fall below the line, while ToolSelectionAccuracy still passed. Restoring the original prompt and rerunning the workflow brought all four evaluations back above the threshold.

The setup also points to a wider testing model for agent teams. AgentCore dataset evaluation can run collections of scenarios with expected responses, natural-language assertions and expected trajectories for tool calls. Correctness can compare output with an expected response, GoalSuccessRate can test session-level assertions, and trajectory evaluators can compare the actual execution path with the intended sequence.

That matters because AWS has warned that large language models can return different outputs, tool choices and paths across repeated runs. Reusable datasets give teams a way to rerun expected requests and behaviours instead of judging only a final answer from one session.

AgentCore can score more than the final response. Tests may target a full interaction, one recorded trace or selected tool-call spans; its modes cover controlled CI runs, sampled production behaviour and asynchronous scoring of multiple sessions.

The reference pipeline relies on OpenTelemetry data generated during agent sessions. AWS's starter toolkit retrieves the relevant traces from Amazon CloudWatch before submitting them for scoring, and a second documented option lets teams evaluate stored staging traces in CI without invoking a live AgentCore runtime during the pull-request check.

The implementation carries operational limits as well as test coverage. GitHub Actions uses OIDC federation in the sample to assume an AWS IAM role without storing long-lived credentials, and Cognito supplies a machine-to-machine token for OAuth-protected MCP tools. AWS also notes that the sample gives the CI pipeline access to all tools rather than testing role-specific access controls.

Runtime and cost are part of the tradeoff. AWS puts the full sample run at roughly 10 minutes, with deployment, startup, trace availability and scoring all included in the CI job. Trace propagation took between 30 and 90 seconds in AWS's tests, with retries every 30 seconds for as long as 10 minutes.

LLM-based evaluators add another variable. Four evaluators against five prompts create 20 judge-model calls for each pull request in the example, and AWS warns that LLM-as-a-judge scores can vary across repeated evaluations. Trajectory checks avoid those model calls by comparing recorded execution paths with predefined ground truth, while Lambda-based custom evaluators can add deterministic checks for application-specific requirements.

Share this article
inXf

Related articles

More
AWS introduces IAM for Agents and Greenlight to govern autonomous workloads
AI

AWS introduces IAM for Agents and Greenlight to govern autonomous workloads

AWS unveiled identity and permission controls for autonomous agents at re:Invent, alongside model and infrastructure announcements. Automated reasoning underpins tools intended to verify identities and detect conflicting agent rules.

AWS Adds Persistent Runtime Instances For Production AI Agents
Cloud & Data Centers

AWS Adds Persistent Runtime Instances For Production AI Agents

AWS announced runtime instances for Amazon Bedrock AgentCore Runtime, adding managed infrastructure for multi-agent workflows, shared sessions lasting up to 14 days and GPU-supported production agent deployments.

Microsoft Deploys 25 AI Agents Across Supply-Chain Workflows
AI

Microsoft Deploys 25 AI Agents Across Supply-Chain Workflows

Microsoft has put more than 25 AI agents into supply-chain operations, using them to support logistics planning, freight auditing, spare-parts availability and invoice checks.

Shopify Reworks Theme Code For AI Agents And Readability
AI

Shopify Reworks Theme Code For AI Agents And Readability

Shopify is preparing a cleaner storefront theme that shifts from JSON-heavy configuration toward mostly HTML and Liquid, as AI-assisted theme editing makes readable code and explicit contracts more important.

GitHub And Google Back ARD As AI Agents Search For Tools
AI

GitHub And Google Back ARD As AI Agents Search For Tools

GitHub, Google, Microsoft and other companies are backing Agentic Resource Discovery, a specification meant to help AI agents find, verify and connect to tools, skills, MCP servers and other resources without hard-coded integrations.

AWS launches Kiro bots to supervise parallel AI coding tasks
AI

AWS launches Kiro bots to supervise parallel AI coding tasks

Kiro Crew gains bots with persistent memory and recurring schedules, while analysts warn that agent coordination can compound costs and complicate oversight.

Capsule Uses Nvidia Nemotron Models To Block Rogue AI Agent Actions
AI

Capsule Uses Nvidia Nemotron Models To Block Rogue AI Agent Actions

SiliconANGLE reports that Capsule Security released a real-time detection layer for agentic AI, using fine-tuned Nvidia Nemotron models to judge and block risky agent actions before execution.

Novo Nordisk And AWS Build Agentic AI Workflows For Drug Discovery
AI

Novo Nordisk And AWS Build Agentic AI Workflows For Drug Discovery

AI News reported that Novo Nordisk named AWS its preferred cloud provider and strategic AI partner, adding a London co-innovation hub and agentic AI tools for drug-target, therapy-design and research workflows.

Keep Reading

More Stories

Latest
Starlink claims India security compliance, but launch still needs approvalsCapital & PolicyDec 4, 2026Starlink claims India security compliance, but launch still needs approvalsStarlink says it has demonstrated compliance with India's security conditions. Its update details domestic data storage, interception controls and gateway routing while commercial service awaits approvals and spectrum.Huang tells senators Nvidia chips were smuggled to China; board faces subpoenaCapital & PolicyDec 4, 2026Huang tells senators Nvidia chips were smuggled to China; board faces subpoenaJensen Huang acknowledged suspected chip smuggling while denying evidence against Megaspeed. Senate committee leaders indicated they would subpoena Nvidia's board to examine his testimony.Senators question Huang over Nvidia chip controls and his return as CEOCapital & PolicyDec 4, 2026Senators question Huang over Nvidia chip controls and his return as CEOA Senate hearing examined Nvidia’s safeguards against chip diversion to China and administration contacts preceding Jensen Huang’s reinstatement. Huang denied passing confidential information to Alice Huang.Cloudflare jumps 10% as encryption warning lifts cybersecurity stocksCybersecurityDec 4, 2026Cloudflare jumps 10% as encryption warning lifts cybersecurity stocksCloudflare, Palo Alto Networks and CrowdStrike rose in Thursday premarket trading after major technology companies urged encryption upgrades following an NSA alert.Lava sets December 9 India launch for Bold N4 5G and N4 Pro 4GTelco & ConnectivityDec 4, 2026Lava sets December 9 India launch for Bold N4 5G and N4 Pro 4GLava's next Bold phones are scheduled for December 9, with a 7,000mAh battery in the 4G Pro model and a sub-Rs 15,000 price planned for the N4 5G.Isomorph raises $3.5 million to expand AI governance teams and US salesAIDec 4, 2026Isomorph raises $3.5 million to expand AI governance teams and US salesRTP Global led the seed round for Isomorph, which plans engineering expansion in Bengaluru and San Francisco and a bigger US go-to-market operation.Premji Invest announces $1.5 billion fund for US AI, chip and robotics companiesCloud & Data CentersDec 4, 2026Premji Invest announces $1.5 billion fund for US AI, chip and robotics companiesFund V targets early- and growth-stage US businesses, with Premji Invest planning support through to public markets. Its remit also includes infrastructure software and life sciences.LITEON and MaiaEdge target existing telecom sites for AI inference, with HDCO building first serviceCloud & Data CentersDec 4, 2026LITEON and MaiaEdge target existing telecom sites for AI inference, with HDCO building first serviceThe joint solution combines rack-level power and cooling with private connectivity. HDCO is developing an inference offering using GPUs at a solar-powered LITEON site in Texas, with South America planned next.Pangram raises $50m as Andreessen Horowitz backs AI detectionAIDec 4, 2026Pangram raises $50m as Andreessen Horowitz backs AI detectionAndreessen Horowitz led Pangram Labs’ Series A, with the New York start-up planning to accelerate research and train more advanced AI-detection models.UK advances ransomware payment ban but drops advance-notification planCybersecurityDec 3, 2026UK advances ransomware payment ban but drops advance-notification planBritain plans to bar hospitals, schools, councils and critical infrastructure operators from paying ransoms, while limiting mandatory attack reporting to medium and large organizations and requiring payment disclosure only afterward.Viettel starts selling Starlink in Vietnam with VND9.3 million kitsCapital & PolicyDec 3, 2026Viettel starts selling Starlink in Vietnam with VND9.3 million kitsViettel Telecom is offering Starlink broadband in Vietnam after obtaining a resale licence, with monthly service plans starting at VND1.59 million.Qatar Cabinet approves bankruptcy bill prioritising viable business rehabilitationCapital & PolicyDec 3, 2026Qatar Cabinet approves bankruptcy bill prioritising viable business rehabilitationThe draft would replace bankruptcy provisions in Qatar's 2006 Commercial Law. The Cabinet approved referring it to the Shura Council, with rehabilitation before liquidation among its aims.