Targets

Query real model and service targets through Mesmer's target boundary.

ops.QueryTarget is the target interaction boundary. Mesmer target adapters keep experiments portable while preserving target-visible messages for replay.

Query evidence records the target adapter metadata that matters for comparison, including target name, model when available, capabilities, and target-call counts. The replay artifact should show the exact messages that were sent at query time.

Current target families include:

  • LiteLLM model targets.
  • HTTP JSON services.
  • Server-sent event streams.
  • WebSocket services.
  • Python callables for local or test-only targets.

Multi-turn target-visible transcript updates should be explicit, such as ops.ContinueConversation, so conversation state is part of the operator trace instead of hidden in an adapter.

Provider Keys

Examples that use real models expect provider credentials such as:

export GROQ_API_KEY=...

Set MESMER_TARGET_MODEL to choose the target model used by example wrappers.

On this page