Skip to content

replayd v0.1.3

Latest

Choose a tag to compare

@TaimoorKhan10 TaimoorKhan10 released this 03 Jun 00:21
· 3 commits to main since this release

Auto-instrumentation for OpenAI and Anthropic. Call instrument_openai(client) or instrument_anthropic(client) once and tool calls record themselves during capture ,no manual record_tool_call needed. Works with both sync (OpenAI, Anthropic) and async (AsyncOpenAI, AsyncAnthropic) clients.

replayd run CLI. Replay saved tests against an agent without writing a script: replayd run --agent module:agent_fn. Exits 1 on failure for CI.

Deeper grading. Assert on the arguments of an expected action and on call sequence, not just tool names.

uninstrument_openai / uninstrument_anthropic. Cleanly restore a client to its original state. Idempotent.

Real OpenAI example. examples/real_openai_agent.py runs an actual model call end to end.

Known gaps, documented: streaming responses (stream=True) are not auto-recorded yet and now warn loudly with the manual fallback. Async replay needs asyncio.run() around the agent. Both land in 0.1.4.

61 tests passing. Full details in CHANGELOG.md.