Urgent.News

What's breaking now, across thousands of outlets.

AI

I Gave My Agent a Deployment Tool. It Could Finally Answer.

My first CloudOps agent could not tell me whether production was healthy. That was the correct answer. It had a model and a system prompt, but it had no connection to deployment data. For the next experiment, I asked the same question again: Is production healthy? This time, the agent returned the service name, deployed version, instance count, active alarms, and observation time. The model had…

In a recent experiment, a reporter discovered a method to determine if a production environment is healthy. Initially, their CloudOps agent was unable to provide an answer to this question. However, by granting the agent access to deployment data, they were able to obtain detailed information about the service, deployed version, instance count, active alarms, and observation time. This was made possible by providing a controlled way for the agent to query another system for evidence.

The setup was deliberately kept simple, with the user posing the question "Is production healthy?" to the AgentCore. The AgentCore then utilized a harness to select a method called get_deployment_status. This method, in turn, invoked a registered target using AWS Lambda, which returned a deterministic snapshot of the deployment status.

To ensure the accuracy of the agent's responses, the reporter defined what constituted a healthy environment in code. The Lambda function compared three conditions: whether the desired and running versions matched, if the number of healthy instances equaled the desired instances, and if there were no active alarms. The function returned "healthy" if all conditions were met, and "unhealthy" otherwise.

The reporter also provided specific instructions for the agent, such as only accepting the production environment and rejecting any unsupported environments. To facilitate testing, the reporter utilized AWS Serverless Application Model (SAM) and Docker to create a local Lambda test environment. Initially, the local attempt reported an error regarding Docker compatibility, but after updating SAM, the function was successfully invoked and returned a detailed snapshot of the production environment's health status.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Code While You Take a Breath

A few months ago, I started having this strange feeling that I was falling behind on AI. Which is funny, because I've been developing with AI for almost four years.

  • Author felt overwhelmed by AI developments
  • Took a break to understand reality of AI
  • Gained higher-level view of AI technology

I Built Nabsun: An Open-Source AI Browser That Works in Your Real Tabs

You have three documentation tabs open, a form half-filled, and the account you need already signed in. Then you ask an AI assistant for help—and start copying everything into a chat window.

  • Nabsun is an AI-powered browser integrated into existing tabs.
  • Supports multiple AI models like Qwen3 1.7B and cloud providers.
  • Allows tasks like summarizing pages and filling forms within browser session.

More from Friday 25 September →