Skip to content

Jev directory

OpenAI Scala Client

An async Scala client for the OpenAI API and multiple providers, with a dedicated TypeSafe AI adapter that answers Jev System One typed questions alongside Anthropic, Gemini, Groq, and Perplexity support.
Stars
255
Language
Scala
License
MIT
Reading time
3 min
Published by
Community
Author
cequence-io
Last verified
Sep 2026

About this project

This is a no-nonsense async Scala client for OpenAI API and multiple LLM providers supporting all the available endpoints and params including streaming (with a provider-neutral typed stream of text / thinking / tool-call / tool-result chunks), chat completion, responses API, agents API, tools (including MCP), graders, vision (with provider-uniform file/image attachments), batch processing, and voice routines (as defined here), provided in a single, convenient service called OpenAIService with adapters for…

Quoted from the project's README. Read the full README.

Highlights

  • A dedicated TypeSafe AI (Jev) adapter joins Anthropic, Google Gemini/Vertex AI, Groq, Perplexity, and others behind one OpenAIService.
  • Covers chat completions, the responses and assistants APIs, tools including MCP, graders, vision, batch processing, and voice routines.
  • Streams a provider-neutral typed stream of text, thinking, tool-call, and tool-result chunks, including Anthropic's native Messages events.
  • Anthropic support extends to Bedrock and the Managed Agents surface: agents, environments, sessions, deployments, vaults, and memory stores.
  • Version 1.3.0, MIT-licensed, with ready-to-use examples in the openai-examples module.

Watch out

MIT-licensed. Requires Scala with sbt and API keys for whichever providers you use, including a TypeSafe key for the Jev adapter.

Questions about this entry

Short answers drawn from the linked project or page.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai