Skip to content

docs: add Rewind to ecosystem integrations#2869

Closed
risjai wants to merge 1 commit intoopenai:mainfrom
risjai:add-rewind-integration
Closed

docs: add Rewind to ecosystem integrations#2869
risjai wants to merge 1 commit intoopenai:mainfrom
risjai:add-rewind-integration

Conversation

@risjai
Copy link
Copy Markdown

@risjai risjai commented Apr 9, 2026

Adds Rewind to the ecosystem integrations list in the tracing documentation.

What is Rewind?

Rewind is a time-travel debugger for AI agents. It records every LLM call, tool execution, and handoff — then lets you:

  • Fork timelines at any step
  • Replay from failure — cached steps served instantly (0 tokens, 0ms), only the fixed step re-runs live
  • Diff original vs replayed timelines
  • Regression test with rewind assert in CI

Integration

Zero config — auto-registers a TracingProcessor via add_trace_processor():

import rewind_agent
from agents import Agent, Runner

rewind_agent.init()  # auto-detects Agents SDK, registers tracing

agent = Agent(name="researcher", instructions="...", tools=[web_search])
result = await Runner.run(agent, "What is the population of Tokyo?")
# rewind show latest → full trace with agent names, tool calls

Install: pip install rewind-agent[agents]

Links

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Apr 9, 2026
@risjai risjai force-pushed the add-rewind-integration branch from 3e7f7c6 to b555ae0 Compare April 9, 2026 18:29
Rewind is a time-travel debugger for AI agents — it records every LLM
call and tool execution via a TracingProcessor, then lets you fork
timelines, replay from failure (cached steps + live re-execution),
and diff the results.

Integration: `pip install rewind-agent[agents]` + `rewind_agent.init()`
auto-registers the tracing processor. Zero config needed.

Docs: https://github.com/agentoptics/rewind/blob/master/docs/openai-agents-sdk.md
@risjai risjai force-pushed the add-rewind-integration branch from b555ae0 to 9d5b57e Compare April 9, 2026 18:30
@seratch
Copy link
Copy Markdown
Member

seratch commented Apr 9, 2026

Thanks for sharing this. However, the page lists only the integrations that support tracing interface and your one does not have the functionality. If you build something with tracing, please feel free to create a new PR.

@seratch seratch closed this Apr 9, 2026
@risjai
Copy link
Copy Markdown
Author

risjai commented Apr 10, 2026

Thanks for the feedback! We've updated our integration to properly implement the tracing interface:

  • RewindTracingProcessor now formally subclasses agents.tracing.TracingProcessor
  • Verified: issubclass(RewindTracingProcessor, TracingProcessor) == True
  • Registers via add_trace_processor() — either auto-detected through rewind_agent.init() or manually:
from agents.tracing import add_trace_processor
from rewind_agent.openai_agents import RewindTracingProcessor
from rewind_agent.store import Store

store = Store()
session_id, timeline_id = store.create_session("my-agent")
processor = RewindTracingProcessor(store, session_id, timeline_id)
add_trace_processor(processor)

Maps GenerationSpanDatallm_call steps (with model, tokens from usage), FunctionSpanDatatool_call steps, HandoffSpanData → handoff steps.

Updated integration docs: https://github.com/agentoptics/rewind/blob/master/docs/openai-agents-sdk.md

Published on PyPI: pip install rewind-agent[agents]

@NoClueMike

This comment was marked as off-topic.

@openai openai locked and limited conversation to collaborators Apr 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants