Repository navigation
Conversation
Add a TraceProvider that fetches a Strands agent session from HoneyHive and converts it to the evals trace types, so evaluators can score stored sessions without re-running the agent. It reads sessions from Strands Python and Strands TypeScript agents through the HoneyHive events search API, and needs a project API key with read access.
sanjeed5
requested a deployment
to
manual-approval
October 9, 2026 00:29 — with
GitHub Actions
Waiting
sanjeed5
requested a deployment
to
manual-approval
October 9, 2026 00:29 — with
GitHub Actions
Waiting
Resolve the pyproject.toml conflict in the hatch-test and hatch-static-analysis feature lists by keeping both the honeyhive and stickler extras. Claude-Session: https://claude.ai/code/session_01KtJZ5cv5P3EbGLKEd1TibZ
sanjeed5
requested a deployment
to
manual-approval
October 10, 2026 08:54 — with
GitHub Actions
Waiting
sanjeed5
requested a deployment
to
manual-approval
October 10, 2026 08:54 — with
GitHub Actions
Waiting
This branch is waiting to be deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds
HoneyHiveProvider, aTraceProviderthat fetches a Strands agent session from HoneyHive and converts it to the evals trace types, so evaluators can score stored sessions without re-running the agent.invoke_agentspans becomeAgentInvocationSpan, model events becomeInferenceSpan, andexecute_toolspans becomeToolExecutionSpan. Event-loop-cycle spans are dropped. Events that fail to convert are logged and skipped.POST /v1/events/search, paginating until the reportedcount.ReadTimeoutis retried.ProviderErrorwith a clear message.api_key/api_url, or theHH_API_KEY/HH_API_URLenvironment variables.httpxdirectly rather than the HoneyHive SDK, so evals installs don't pull in the HoneyHive tracer and its OpenTelemetry dependencies. The optionalhoneyhiveextra only declareshttpx, whichstrands-agentsalready depends on.Related Issues
Closes #418
Documentation PR
N/A. The provider README section is updated in this PR.
Type of Change
New feature
Testing
Unit tests use three recorded HoneyHive sessions (Strands Python older SDK, Strands Python current SDK, Strands TypeScript) and a mock HTTP transport. No network calls.
They cover conversion, tool call and result pairing, tool span shapes, parallel tool results, string tool input, skipping events that fail to convert, pagination, retries, rejected API keys, and a missing session (17 tests).
ruff check,ruff format --check,mypy -p src, and the full unit suite (2233 tests) pass.Also checked against live HoneyHive sessions with
Experiment(...).run_evaluations(provider.as_task())and LLM-judge evaluators.I ran
hatch run prepareChecklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.