Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.
TypeScript agent-harnessagent-harness-engineeringai-engineeringai-observabilityamd-gpuclaude-codeclickhousecodexcoding-agentcoding-agentscursorgenaigpu-monitoringllm-observabilityllmopsnvidia-smiobservabilityopen-sourceopenaiopentelemetry
// Package codex implements the Codex CLI hook adapter.
//
// Codex emits hooks (SessionStart, UserPromptSubmit, PostToolUse, Stop)
// with a JSON payload, plus a rollout JSONL at
// ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl that carries token usage
// the hooks alone don't expose. Adapter logic lives in handle.go.
package codex
import (
"context"
"github.com/openlit/openlit/cli/internal/coding/normalize"
"github.com/openlit/openlit/sdk/go/semconv"
)
// New returns a new Codex adapter.
func New() normalize.Adapter { return &adapter{} }
type adapter struct{}
func (a *adapter) Vendor() string { return semconv.CodingAgentVendorCodex }
func (a *adapter) Handle(ctx context.Context, in normalize.Input) error {
return handle(ctx, in)
}