Skip to content

Integrate Hackbot with Firefox Profiler - #6875

Open
evgenyrp wants to merge 5 commits into
mozilla:masterfrom
evgenyrp:hackbot-firefox-profiler
Open

evgenyrp wants to merge 5 commits into
mozilla:masterfrom
evgenyrp:hackbot-firefox-profiler

Conversation

@evgenyrp

@evgenyrp evgenyrp commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Based on https://github.com/fqueze/claude-profiler

Decisions:

  • Copy the full Claude's transcripts to agent run's artifacts
  • Use fqueze/claude-profiler as a lib to reuse the conversion and have it maintained in one place
  • The convertion happens server side to avoid bringing extra deps to the client
  • Use with https://profiler.firefox.com/from-post-message to avoid hosting transcripts publicly, confiuring CORS etc. The downside is the link is not sharable, a user has to press a button in the Hackbot UI
  • The several Claude sessions of the run are glued together to have only one link and make the inspection easier. Custom markers per session are added to the profile
  • This will work only with the new sessions that will have transcripts in the artifacts. We could backfill the old sessions based on agent.log, but it doesn't have all the info.

fixes #6841

Screenshot 2026-09-17 at 4 19 08 PM Screenshot 2026-09-17 at 4 24 11 PM Screenshot 2026-09-17 at 4 11 57 PM

FYI @fqueze

@evgenyrp
evgenyrp requested a review from a team as a code owner September 17, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider integrating Claude profiler

1 participant