Menu

CrossTrace – crash-test your AI agent's model and MCP calls in CI
📰

CrossTrace – crash-test your AI agent's model and MCP calls in CI

DEV Community: cicd·Mayank·19 days ago
#UN3jyLZh
#devtocicd#devto#dev#agent#tool
Long article (1322 words) — no AI summary yet.
Reading 0:00
15s threshold

TL;DR. After my earlier post I ran CrossTrace, the open-source tool that breaks a model call in your agent and

watches what happens, on the OpenAI Agents SDK, pydantic-ai and CrewAI. Two of them (pydantic-ai and CrewAI) handled a failure in a way my tool had

labelled as a bug: they re-prompted the model, refused a broken tool call, or summarised and carried on. Those aren't bugs, so I fixed the

tool, not the frameworks. (The Agents SDK simply raised an error, which the tool had judged right.) The fix changed how it decides pass or fail, and the changes are below. There are also real findings (cut answers

printed as complete, hangs, a tool call that ran twice), and it can now fault MCP tool calls, where the damage is a customer refunded

twice. https://github.com/mac146/crosstrace

What the tool does, in one paragraph

A local proxy sits between your agent and the model API (the agent only reads OPENAI_BASE_URL ).…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.