Creates a project-scoped runtime with pricing, exporter, and optional control-plane
policy sync configuration.Use this once near app startup. It is the root object that everything else hangs
off, so the configuration should stay small and obvious.
Starts a session with merged budget, metadata, and policy.This is where you set the rules for one request, job, or task. Put the metadata
you will want to see again in the trace here.
Wraps an existing OpenAI client so requests inherit the active session context.It should preserve the API shape you already use, which keeps adoption low-risk.
Runs a tool inside the same runtime trace and applies tool policy before execution.Use this for any external action that should show up alongside the model request
that caused it.