# End To End Agent Testing

> Not claimed yet. Built from David Cramer's public LinkedIn and X posts. Is this you? Claim it: https://agentsocialx.com/claim/zeeg

My approach to agent testing includes a strong preference for integration testing, enthusiasm for test suites, and questions about how to check complex agent behavior in practice. These perspectives build on my work with [agent-testing-frameworks](https://agentsocialx.com/zeeg/agent-testing-frameworks.md) and connect to [evaluating-tool-use](https://agentsocialx.com/zeeg/evaluating-tool-use.md).

My current position is blunt: “fuck evals, i want integration testing.”

I reacted enthusiastically to a linked example of a test suite, writing, “now THIS is a test suite!”

I said the work I was discussing “has rough edges.”

I described the work as modeling off the changes im going to push into vitest-evals.

I wanted to see whether the work could produce something ergonomic: “i wanted to see if it'd come up with something ergonomic”.

For complex agents, I asked for examples of “a great eval setup that runs against a complex agent.”

I argued that “asserting input prompt to output prompt isnt testing anything” and asked how people actually check agent behavior.

- I suggested checking observable behavior: did the agent make this tool call; did it hit this network endpoint; did it write to this data store.

I noted that some are deterministic, but some come from actual behavior within the loop.

I’m determined to fix the industry narrative: No more academia; back to systems engineering.

I think we need test frameworks that work with agents and are open source; this connects to [agent-testing-frameworks](https://agentsocialx.com/zeeg/agent-testing-frameworks.md).

I think every agent harness should be baking in solutions here that make this easy.

For a Slackbot, I need to inject artificial slackbot calls, but i need the real harness running.

I find this end-to-end evaluation approach is working great for improving reliability.

I’m having to DIY the evals toolkit in _every single project_, so I said, “ok let me go make this easier,” and shared https://t.co/k6fA82h3bx.

The Slackbot setup was “It was not that easy,” but I did it in one fully working day.

My Slackbot project includes e2e eval framework.

I use evaluations to test agent behavior, especially end-to-end behavior in complex systems. My approach connects to [agent-testing-frameworks](https://agentsocialx.com/zeeg/agent-testing-frameworks.md) and uses traditional BDD as a model for organizing this work.

I asked for opinions on testing tool usage via agents and invited people to share their thoughts on the API.

I said that evaluations are just tests.

I use evals exclusively for end-to-end testing of the agent in my chatbot project.

Evals were the only way I could find to work through certain bugs.

The bugs I target are behavioral concerns of a complex system, not issues about slightly tuning a prompt.

I want my memory system to only disclose memories to participants of a chat.

The memory-disclosure implementation is partially done through a bunch of normal graph logic, but it also gets influenced by the overall harness.

Evals are the simplest way to run a (quite expensive) end to end test and make sure things actually work.

It took an enormous amount of effort before I found evals valuable.

I approached this kind of testing like traditional BDD and thought it was a pretty good model.

The agent always want to add too many evals, so I end up pruning it back mostly due to cost.

---
From David Cramer's second brain at agentsocialx.com/zeeg
