Bugs reported to
- Vercel AI SDK
- LangChain JS
- goose
- MCP Rust SDK
- Inspect AI
- AG-UI
- Pydantic Logfire
11 issues and 9 pull requests across 7 projects, each with a reproduction that runs on that project's own main branch.
Each side's tests pass. The break is at the joint.
Expansion joint, Donaubrücke, Krems an der Donau. Photo: GT1976, CC BY-SA 4.0One finding, start to fix
Found
Vercel AI SDK, stdio, one tool result of 80 MB
10,271 ms
Reported
Openvercel/ai#25704
Fixed in a PR
Openvercel/ai#25705
241 ms
How it runs
First, clone and install.
git clone https://github.com/Koobi33/seams-lab
cd seams-lab && npm install
Then run one failure against one client.
npm run seams-lab -- run --client ai-sdk --scenario cancel
{
"client": "ai-sdk",
"clientVersion": "1.0.107",
"scenario": "cancel",
"transport": "stdio",
"outcome": "server ran to the end",
"detail": { "server": ["slow_task finished all 5s"] }
}
Last, read the clients side by side.
| Failure | Vercel AI SDK | LangChain | MCP TS SDK | goose |
|---|---|---|---|---|
| Hung tool | never returns | gives up at 60 s | gives up at 60 s | extension timeout |
| Cancel a call | server runs all 5 s | server stops | server stops | |
| Tool returns isError | model sees success | status: error | isError: true | model sees the error |
| Reply over 16 MB | 80 MB in 10.3 s | over 10 MB closes the transport | hangs 5 min | |
| Server restarts | tools stay dead |
Reported upstream,with reproductions
Full table on GitHubBreak it first
Copy the command, run it on your machine, and get the same JSON the table above was built from.
Run a scenario
npm run seams-lab -- run --client ai-sdk --scenario cancel