RemoteRolloutProcessor delegates rollout execution to a remote HTTP service
that you control. It’s useful for implementing rollouts with your existing agent
codebase by wrapping it in an HTTP service.
High Level Flow

- /init triggers one rollout: Eval Protocol calls your service’s POST
/initwith the row payload and correlation metadata. - Send logs via
FireworksTracingHttpHandler: Your service emits structured logs tagged with the rollout’s correlation fields. - Send chat completions and store as trace: Your agent’s calls are recorded as traces in Fireworks.
- Once rollout finished, pull full trace and evaluate: Eval Protocol polls Fireworks for a completion signal, then loads the trace and scores it.
Everything inside the dotted box is handled by Eval Protocol — you only need to implement the Remote Server, more on this below.
API Contract
POST /init: We expect the remote service to implement a single /init endpoint that accepts anInitRequest with the following fields:
Dictionary containing model and optional parameters like temperature, max_tokens, etc.
Array of conversation messages
Array of available tools for the model
Base URL for the remote server to make LLM calls
Rollout execution metadata for correlation
API key to be used by the remote server
Request Example
Request Example
init_request.json
Metadata Correlation
When making model calls in your remote server, include the following metadata in your traces and logs so thateval-protocol can correlate them with the
corresponding EvaluationRows during result collection. RemoteRolloutProcessor
automatically generates this and sends it to the server, so you don’t need to worry
about wrangling metadata.
invocation_idexperiment_idrollout_idrun_idrow_id
Fireworks Tracing
TheRemoteRolloutProcessor detects rollout completion by polling structured logs sent to Fireworks Tracing. Your remote server should add FireworksTracingHttpHandler as the logging handler, a RolloutIdFilter, and log completion status using structured Status objects:
remote_server.py
Alternative: Environment Variable Approach
For the following setups, you can use theEP_ROLLOUT_ID environment variable instead of manual filters:
- One rollout is processed per server instance
remote_server.py
/initspawns separate Python processes
remote_server.py
How RemoteRolloutProcessor uses Fireworks Tracing
- Remote server logs completion: Uses
Status.rollout_finished()orStatus.rollout_error() - RemoteRolloutProcessor polls: Searches logs by
rollout_idtag until completion found - Status extraction: Reads structured status fields (
code,message,details)

