# Agent Testing Frameworks

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

I was finishing the `vitest-evals` rewrite so I could migrate peated+junior to a better world.

For now, I wrote my own VCR thing inside of `peated` for web search.

I said that web-search VCR behavior would soon move into native behavior in the test runner.

I said `@peated_app` had three users and that I had nearly claimed victory.

I said the new classifier agent was automatically matching, correcting, and creating most bottles from its web scraper.

I said, “I'm going to solve this problem once and for all,” and invited people who use pi-ai to share their opinions on what a test harness should look like.

I pointed TypeScript users looking for a way to run tests on agents, or wondering why evals are so complicated, to a solution: https://t.co/YWtwgqu2ZG.

I said I spent a bunch of cycles yesterday making the docs not slop.

I said the solution works out of the box with pi-ai, ai sdk, and openai/agents.

I shared an MVP of a new local UI for digging into results from `vitest-evals`.

I said the UI gives you a simple way to view the results as well as the chat transcript in a familiar format.

I see testability as essential to building agent frameworks and evaluation tools. My work has included improving evaluation isolation for embedded agents, trying a draft for multimodal testing, and planning a rebuild of vitest-evals.

I said that framework/sdk authors need to be more concious of testability in the agent/MCP space.

I was overhauling our MCP repository in order to make it easier to isolate evals for the embedded agents (for our search tools).

I said the JavaScript ecosystem has mostly ignored testability historically.

I said we'd do ourselves a big disservice to continue to ignore it with the adoption of LLMs.

I said there are things that could be improved here that can be learned from other ecosystems.

I described my quick draft as intended to reduce suffering of shitty outputs from codex.

I said I need to give it some more real world testing yet.

I said the first pass using it was better than without.

My first test was improving vitest-evals to support multimodal.

I described the direction as rebuilding vitest-evals as a first class agentic testing solution.

I said, “The term evals is running my life”.

I said I so likely will make more changes to the baseline plan.

I shared the baseline plan at https://t.co/0kwkWYBWt0.

I was “trying to simplify some of the boilerplate still.”

I shared https://t.co/DDpU3eGKpE in the update.

I also shared https://t.co/p9nRcukGdA in the update.

I asked, “Does anyone have experience with any of the skill-specific eval frameworks? Would you recommend one?”

Any skill-specific evaluation framework I use needs to work with OpenRouter.

I said agent frameworks need “end-to-end testing that also tolerates llm judge assertions; local and production telemetry, both traces and unhandled errors.”

I said, “I find myself constantly fighting with both of these concerns in new technology.”

I said, “This mistake was made on repeat with new web frameworks,” and added that we do not need to tolerate it anymore.

My testing guidance was to “make your own testing harness; ensure it can work easily with something like vitest-evals.”

My telemetry guidance was to “export otel traces; there is a middleware approach or otherwise an unhandled error hook that Sentry can plug into.”

I said, “Eve does the former _really_ well,” as an end-to-end testing example.

I said, “Lots of folks are starting to support OTel for export; there are still gaps in the telemetry story for most toolkits.”

I said, “Without either of these you cannot build production software; these are not nice to have, they are mandatory.”

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