ai-agent

Rax: Improve Ranking Models

Get a Learning-to-Rank library with Rax, for founders building AI models with Python, 339 GitHub stars
339 stars12 forksPythonGuide quality 8/10Updated 6/23/2026100% free · open source
What it does

Rax is a library that helps you train machine learning models to rank items in a list, such as search results or product recommendations.

When to use it
  • Building a search engine that needs to rank results by relevance
  • Creating a product recommendation system that suggests items based on user behavior
  • Developing a content ranking system for a news feed or social media platform
Ready-to-paste prompt
python examples/train_model.py --dataset=example_data --model=ranking_model
Heads up: Rax requires JAX to be installed, which can be challenging to install on certain platforms, especially those without GPU support, so ensure you have a compatible environment before installing Rax.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/rax && curl -fsSL https://workflowstacks.com/api/skills/rax/claude-skill -o ~/.claude/skills/rax/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Rax: Improve Ranking Models works
Codeflow
Free to inspect

Rax: Improve Ranking Models is a medium Python project (~8.1k lines across 33 code files). Setup is light: installs like a normal app. Reading the code is optional. Last commit a month ago, Apache-2.0 license, has a test suite.

Size
Medium codebase
~8.1k lines · 33 code files · ~1 h to skim
Setup
One-command install
Installs like a normal app. Reading the code is optional.
Runs on
Python
No API keys detected
Python 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    rax/__init__.py
    Inside rax/ — the main logic begins here
  3. 3
    examples/__init__.py
    A worked example — copy this to get going
What's in each folder
rax/Core code — the actual logic17 files
examples/Examples you can copy20 files
docs/Documentation10 files
requirements/Folder4 files
.github/CI / automation (GitHub Actions)2 files
READMEHas testsDocumentedCI checksExamples includedApache-2.0 licenseUpdated 1 mo ago
Quick Actions
Details
Creator
google
Language
Python
Category
ai-agent
Published
1/13/2022

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.

Ready-to-run pack · one-time $29

Rank Tracker

A weekly email of where you actually rank on Google.

Includes the tested workflow and a written setup playbook. Needs: SerpAPI key (free tier).

See what you get