Skip to content

Jev directory

VibeSort

Proof-of-concept Ruby gem that sorts arrays by calling an AI model instead of a sorting algorithm. Supports OpenAI, Anthropic, Gemini, Groq, SpaceXAI Grok, OpenRouter, and TypeSafe's Jev decision model, inferring the provider from the API key prefix.
Reading time
2 min
Published by
Community
Added
Nov 23, 2026

Highlights

  • Ruby gem that sorts arrays by asking an AI model rather than running a sorting algorithm.
  • Supports OpenAI Chat Completions, Anthropic Messages, Google Gemini, Groq, SpaceXAI Grok, and OpenRouter APIs.
  • A TypeSafe Jev (System One) provider sorts any Ruby objects through four strategies without rewriting the data.
  • Provider is inferred from the API key prefix when the provider: option is omitted.
  • Requires Ruby 3.0+ and Faraday; MIT licensed; described as a proof-of-concept, not for production.

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