The analytics layer, integrations, and identity helpers. Install the latest bentolabs-sdk to get every patch in this line.Added
- Analytics layer (init, track_ai, begin, flush, shutdown), with no OTel setup of your own.
- bento.begin for multi-step trajectories.
- The @bento.interaction and @bento.tool decorators, sync or async.
- bento.tool_span and interaction.tool_span for standalone and nested tool spans.
- Google ADK integration: capture every call with one bento.instrument() line.
- Identity getters on init, for user_id, session_id, and tags.
- Late-binding identity: update_current_trace, update_current_span, and propagate_attributes.
- track_ai and begin detach from the caller’s context, so Bento spans stay out of framework traces.
- Property types survive on the wire; dicts and mixed lists become JSON strings.
Initial release: the low-level OpenTelemetry layer.
- BentoLabsSpanProcessor and BentoLabsTraceExporter ship spans to Bento.
- resolve_options reads the API key and base URL from args, env vars, or defaults.
- BentoAuthError carries a code: missing_api_key, invalid_api_key_format, or already_initialized.