Release Notes v0.7.0¶
Release Date: June 20, 2026
Highlights¶
- New
axpackage providing Agent Experience (AX) metadata for programmatic error handling, retry decisions, and request validation - AX error code integration with the SDK's
APIErrortype
Added¶
AX Package¶
The new ax package enables AI agents to handle errors intelligently and make informed retry decisions:
import "github.com/plexusone/opik-go/ax"
Features:
- 19 domain-specific error codes for LLM observability operations
- 201 operations mapped with retry safety policies
- 67 operations with required field definitions
- 7 capability types for operation introspection
Example usage:
import (
"github.com/plexusone/opik-go"
"github.com/plexusone/opik-go/ax"
)
trace, err := client.GetTrace(ctx, traceID)
if err != nil {
code, ok := opik.GetAXErrorCode(err)
if !ok {
return nil, err
}
switch code {
case ax.ErrTraceNotFound:
return client.CreateTrace(ctx, &Trace{ID: traceID})
case ax.ErrRateLimited:
time.Sleep(time.Second)
return client.GetTrace(ctx, traceID)
}
}
APIError AX Integration¶
New helper methods on APIError for extracting and checking AX error codes:
APIError.AXErrorCode()- extract AX code from API errorAPIError.HasAXCode()- check for specific AX codeIsAXError()- check any error for AX codeGetAXErrorCode()- extract AX code from any errorGetAXErrorInfo()- get metadata about error code
Fixed¶
- Linter warning for
strconvusage
Dependencies¶
- Upgraded
github.com/plexusone/omnillmfrom v0.13.0 to v0.16.1 - Upgraded
github.com/plexusone/omniobservefrom v0.7.0 to v0.11.0 - Upgraded
github.com/ogen-go/ogenfrom v1.20.1 to v1.22.0 - Upgraded
go.opentelemetry.io/otel/tracefrom v1.40.0 to v1.44.0 - Upgraded
go.opentelemetry.io/otel/metricfrom v1.40.0 to v1.44.0 - Updated
github.com/invopop/jsonschemato v0.14.0 (resolves ordered-map conflict with anthropic-sdk-go)
Documentation¶
- Added AX package documentation (overview, error codes, retry policies, capabilities)
- Added AX integration case study
- Applied PlexusOne unified theme to MkDocs site