← blog
ai-agentsai-evaluationevalstestingharness-engineering

Why isn't my AI agent getting the information it needs?

If your AI agent is missing input from a workflow, trace one alert from its source to the agent’s saved input to find where the details were lost.

“Did the AI get the message?” Beside AI Agent Evaluation Design, a sent card shows a checkout failure and incident number. The received card shows only the number.

When your AI agent misses something, check what reached it before you change the prompt. A workflow can receive a complete message and drop a detail before the agent ever sees it.

Where did the detail go?

A checkout monitor, for example, sends alert A-17 with the description “Checkout requests are failing.” The incident-response agent needs both the alert ID and the description. The agent starts, and nobody handles the alert.

I’d open three records for that one alert.

  1. The source. The monitor’s log shows it sent A-17 with the description.
  2. The step that picks it up. The worker’s log shows it got both fields and started run R-24. That link matters because the run might have lost the original ID.
  3. What went into the agent. The saved input for R-24 contains an incident number. The alert ID and description are gone.

The worker picked up the full alert, so start with the code that builds the agent’s input after pickup. A queue receipt would only tell you the queue accepted the alert. If you have no record of what went into the agent, leave the delivery result open. Capture that input on the next run so you can compare it with what the worker received.

Test the route the message takes

Send a test alert with a fresh ID through the workflow’s normal entry point. Decide when the agent must receive it and which fields must be there. If complete records show the run never started by the deadline or started with only the incident number, the workflow failed the test.

Keep a separate test with the full alert handed directly to the agent. That one tells you what the agent does once it has the information. If it passes and the full workflow still drops the alert, you have a much smaller problem to chase. Nugalaxy harness-engineering guides

For more examples of matching a test to the records that can prove it, see Nugalaxy Evaluation Cases.

If you’re drawing that map from scratch, it’s the exercise that opens AI Agent Evaluation Design.

share