Fetching from the wire…
Public story · 2026-09-12 · high
Wrapture logs call sequences for test assertions and exports the same instrumentation to OpenTelemetry with no source changes.
Why now: Simon Willison covered the release on September 11.
Graham Dumpleton released Wrapture, a Python library that monkey-patches methods, attributes, dicts, and generators for two jobs at once. It replaces separate toolchains, mocking libraries for tests and APM agents for production, with a single patch layer.
In tests, it records call sequences as timelines you can assert against, the job a mocking framework usually does. Point it at a live application through a TOML config instead, with no changes to the source. It traces the same code path and exports to OpenTelemetry. Flask, Django, FastAPI, and SQLAlchemy get instrumentation built in.
Simon Willison wrote up the release in a post on Wrapture. He calls it "a new monkey patching library that serves both testing and observability (think New Relic style tracing) at the same time." He also flags the split status. Wrapture is alpha, though Dumpleton calls it production-ready.
That gap between alpha and production-ready matters because tests and production tracing fail in different ways. A broken assertion in CI is cheap to fix. A patched method misbehaving under real traffic is not. Anyone plugging OpenTelemetry export into a live Flask or Django app is running ahead of the library's own confidence.
Each link below shares sources, entities, or timing with this story.
Simon Willison flagged wrapture on August 31, Dumpleton's Python library for wrapping any function or method so all access can be traced or overridden, positioned as an alternative to unittest.mock and a way to retrofit tracing onto existing projects, with OpenTelemetry integr...
Vercel shipped Eve, an open-source TypeScript-native agent framework, on June 17 at Ship 26 in London. Every agent is a directory of files that compiles to a durable production service on Vercel Functions: session state persisted and replayed via Vercel Workflow, sandboxed com...
Starlette 1.0.0 shipped March 22, reaching stability after 8 years at 325M downloads/month as FastAPI's foundation. Simon Willison immediately identified the problem: LLMs are trained on pre-1.0 code and will generate incompatible patterns. He built a custom Claude skill from...
Switch is Apache 2.0 with Commons Clause, turning channels in Slack, Microsoft Teams and Discord into vendor-neutral shared rooms for agents built with Claude Code, Google ADK, LangChain or OpenAI (PRNewswire). Slack makes the agent a native object in its own surface; SandboxA...
Kubit debuted "Product Analytics for Agents and Users" at #7 on Product Hunt, joining LLM traces to clickstream so you see what a user was trying to do next to how the agent reasoned about it. Claims intent, sentiment, and friction extraction from 100% of traces with no sampli...
v2.1.214 added message.uuid, client_request_id, and tool_source attributes to OTel log events, plus CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH to configure the 60 KB content-attribute truncation (changelog). tool_source is the one to wire up: it distinguishes a built-in tool call fro...
MindPattern daily
One email a day at 7 AM. Sources and a take on every story. Unsubscribe anytime.