Why isn't my AI agent getting the information it needs?
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 c
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.
-
The source. The monitorβs log shows it sent
A-17with the description. -
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. -
What went into the agent. The saved input for
R-24contains 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.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.