The TypeSafe wire model, as plain records: Answer, Question, Content, EvaluateRequest/EvaluateResponse, Usage, RequestId, Model, ModelDetails. No dependencies. With a codec-* module it serializes TypeSafe payloads without any client code, e.g. for a Kafka producer/consumer.

Artifacts using TypeSafe Core (10)
Sort by:Popular▼

The client contract: the TypeSafeClient interface, TypeSafeException, and the decorators that wrap any implementation (RetryingTypeSafeClient, DeadlineTypeSafeClient, TokenCounter). Depends only on typesafe-java-core.
Last Release on Oct 6, 2026
Codec implementation backed by Jackson 2.x. Depends only on typesafe-java-codec and typesafe-java-core; discovered via ServiceLoader.
Last Release on Oct 6, 2026
Two TypeSafeClient test doubles for unit-testing code that calls it without hitting the real API: RecordingTypeSafeClient (queue responses, record requests) and FailingTypeSafeClient (a decorator that fails every Nth call). Depends only on ...
Last Release on Oct 1, 2026
HttpTransport SPI implementation backed by java.net.http. Depends only on typesafe-java-core; discovered via ServiceLoader.
Last Release on Oct 1, 2026
HttpTransport SPI implementation backed by OkHttp. Depends only on typesafe-java-core (plus OkHttp itself); discovered via ServiceLoader.
Last Release on Oct 1, 2026
Codec implementation backed by Jackson 3.x. Depends only on typesafe-java-codec and typesafe-java-core; discovered via ServiceLoader.
Last Release on Oct 6, 2026
JsonCodec SPI implementation backed by Jackson 2.x. Depends only on typesafe-java-core; discovered via ServiceLoader.
Last Release on Oct 1, 2026
JsonCodec SPI implementation backed by Jackson 3.x. Depends only on typesafe-java-core; discovered via ServiceLoader.
Last Release on Oct 1, 2026
HttpTransport SPI implementation backed by java.net.http. Depends only on typesafe-java-core; discovered via ServiceLoader.
Last Release on Sep 21, 2026
MappingTypeSafeClient, a TypeSafeClient decorator that maps a record's @Noul/@Choice/@Score-annotated components into an EvaluateRequest and the response back into an instance of that same record, via reflection, so a caller gets a typed ...
Last Release on Oct 1, 2026
  • Prev
  • 1
  • Next