Source: https://seerepo.com/compare/guardrails-ai/guardrails/vs/ray-project/ray
Markdown source: https://seerepo.com/compare/guardrails-ai/guardrails/vs/ray-project/ray.md
Description: guardrails and ray share 9 technologies: Rich, pyjwt, LangChain, tiktoken, lxml, Pydantic, jsonschema, OpenTelemetry, and opentelemetry-exporter-otlp-proto-grpc. Both are written in Python.

# guardrails vs ray

guardrails and ray share 9 technologies: Rich, pyjwt, LangChain, tiktoken, lxml, Pydantic, jsonschema, OpenTelemetry, and opentelemetry-exporter-otlp-proto-grpc. Both are written in Python.

- [guardrails-ai/guardrails](https://seerepo.com/r/guardrails-ai/guardrails): Adding guardrails to large language models.
- [ray-project/ray](https://seerepo.com/r/ray-project/ray): Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.

## What they share and what sets them apart

- In common: Rich, pyjwt, LangChain, tiktoken, lxml, Pydantic, jsonschema, OpenTelemetry, opentelemetry-exporter-otlp-proto-grpc
- Only in guardrails: OpenAI, litellm
- Only in ray: FastAPI, aimrecords, aimrocks, amqp, array-record, arro3-core, async-lru, azure-common, azure-datalake-store, azure-storage-blob, confluent-kafka, delta-kernel-rust-sharing-wrapper, diskcache, expiringdict, feather-format, gitdb, google-cloud-core, h5py, huey, jupyter-cache, kombu, partd, petastorm, pickleshare, py-partiql-parser, pylance, pymongo, qpd, s3torchconnectorclient, s3transfer, semidbm, sqlitedict, taskiq, tensorboard-data-server, zict, pyarrow, mcap, aioboto3, MongoDB, Redis, adlfs, pyiceberg, smart-open, deltalake, clickhouse-connect, daft, gcsfs, lance-namespace, obstore, Celery, delta-sharing, fastavro, hudi, pyzmq, s3fs, s3torchconnector, taskiq-redis, zarr, Google, Hugging Face, Google Cloud Storage, Kafka, Databricks, adagio, asgiref, Flask, flask-cors, graphene, graphql-core, graphql-relay, jupyter-core, jupyterlab-server, pygame, pymars, werkzeug, Ray, starlette, AIOHTTP, pyspark, Lightning, raydp, anyio, tornado, uvicorn, React, react-router-dom, accessible-pygments, alabaster, cycler, fonttools, jupyterlab-pygments, pydata-sphinx-theme, soupsieve, sphinx-design, tinycss2, aim-ui, alive-progress, bokeh, contourpy, glfw, halo, jupyter-server-terminals, jupyterlab-widgets, matplotlib-inline, Plotly, prompt-toolkit, pyglet, pyopengl, spinners, Textual, widgetsnbextension, xyzservices, Gradio, ipywidgets, pydot, alembic, peewee, sqlglot, adal, argon2-cffi, argon2-cffi-bindings, azure-identity, flask-basicauth, gcs-oauth2-boto-plugin, google-auth-oauthlib, google-oauth, google-reauth, id, itsdangerous, joserfc, jwcrypto, keyring, msal, msal-extensions, oauth2client, oauthlib, pyu2f, requests-oauthlib, cryptography, google-auth-httplib2, aws-requests-auth, albucore, autograd, ax-platform, bayesian-optimization, bitsandbytes, botorch, cma, cmdstanpy, crcmod, cupy-cuda100, cupy-cuda12x, cupy-cuda13x, einops, fairscale, fbgemm-gpu, gpytorch, gradio-client, gym, jaxlib, labmaze, lightning-utilities, linear-operator, llvmlite, lm-eval, minigrid, ml-dtypes, moocore, mosaicml, nltk, ONNX, onnx-ir, onnxruntime, onnxscript, openai-whisper, opt-einsum, optax, orbax-checkpoint, peft, prophet, pymoo, pyro-ppl, pytorch-ranger, rouge-score, sacrebleu, safetensors, scikit-image, sentencepiece, skops, stanio, statsforecast, tf-keras, timm, tokenizers, torch-geometric, torch-optimizer, torch-scatter, torch-sparse, torchtext, triton, yahp, gymnasium, torch, transformers, TensorFlow, jax, torchvision, xgboost, lightgbm, scikit-learn, MLflow, datasets, pytorch-lightning, comet-ml, dm-env, flax, Keras, torchmetrics, aim, ale-py, configspace, deepspeed, diffusers, dm-control, hpbandster, hyperopt, nevergrad, open-spiel, Optuna, tensorflow-probability, zoopt, bleach, defusedxml, et-xmlfile, imageio, imageio-ffmpeg, imagesize, jsonlines, linkify-it-py, mako, markdown, markdown-it-py, markupsafe, mdit-py-plugins, mdurl, mistune, moviepy, myst-parser, nbconvert, nh3, openpyxl, pandocfilters, pytablewriter, readme-renderer, ruamel-yaml, ruamel-yaml-clib, strictyaml, tinyscaler, webencodings, xlrd, xmltodict, pillow, docutils, jinja2, beautifulsoup4, decord, nbformat, torchcodec, annotated-types, fastjsonschema, fqdn, jsonschema-path, jsonschema-specifications, openapi-spec-validator, pathvalidate, referencing, rfc3339-validator, rfc3986, rfc3986-validator, typepy, validators, aiobotocore, applicationinsights, aws-sam-translator, aws-xray-sdk, azure-cli-core, azure-cli-telemetry, azure-core, azure-mgmt-compute, azure-mgmt-core, azure-mgmt-network, azure-mgmt-resource, azure-mgmt-resource-deployments, boto, cloud-tpu-diagnostics, colorlog, execnet, google-cloud-audit-log, Gunicorn, log-symbols, ml-goodput-measurement, msrestazure, opencensus-context, opentelemetry-instrumentation, opentelemetry-instrumentation-asgi, opentelemetry-semantic-conventions, opentelemetry-util-http, python-json-logger, supervisor, psutil, boto3, botocore, prometheus-client, pybuildkite, kubernetes, opentelemetry-exporter-prometheus, docker, opentelemetry-instrumentation-fastapi, ray-haproxy, typeface-roboto, MUI, usehooks-ts, lowlight, react-window, react-icons, @mui/icons-material, js-yaml

## Side by side

| | guardrails | ray |
|---|---|---|
| Size | 45,060 lines written, 175 code files | 1,583,573 lines written, 2,829 code files |
| Who writes it | 1.2% of its commits signed by AI. With Claude Code | 3.8% of its commits signed by AI. With Claude Code, Gemini CLI, GitHub Copilot, Cursor, and Codex |
| Activity | Last push November 18, 2026, 2,607 commits, 7,626 stars | Last push November 18, 2026, 32,530 commits, 44,318 stars |
| Tests | 157 test files. 57.7% of its code files have a test that imports them | 2,221 test files. 9.4% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, guardrails or ray?

ray, with 1,583,573 lines written; guardrails has 45,060.

The proof: [ray-project/ray's code at commit eb50407](https://github.com/ray-project/ray/tree/eb50407602c55f2660b4a3a93d7e2fe07824ae20)

### Which has more GitHub stars, guardrails or ray?

ray, with 44,318 stars; guardrails has 7,626.

The proof: [ray-project/ray on GitHub](https://github.com/ray-project/ray)

### Which has more tests, guardrails or ray?

ray, with 2,221 test files; guardrails has 157.

The proof: [ray-project/ray's code at commit eb50407](https://github.com/ray-project/ray/tree/eb50407602c55f2660b4a3a93d7e2fe07824ae20)

### Which was updated more recently, guardrails or ray?

Both got their last push on November 18, 2026.

The proof: [ray-project/ray's commits on GitHub](https://github.com/ray-project/ray/commits)

### Which has more commits signed by AI, guardrails or ray?

ray: an AI signed 3.8% of its commits, with Claude Code, Gemini CLI, GitHub Copilot, Cursor, and Codex; in guardrails, 1.2%.

The proof: [the commits each tool signed in ray-project/ray](https://seerepo.com/r/ray-project/ray/ai)

## Sources

- guardrails-ai/guardrails: Read on November 19, 2026, at commit 06d0ff2 (https://github.com/guardrails-ai/guardrails/tree/06d0ff2c5f9bcb493d976b76f885e37e41ce845d)
- ray-project/ray: Read on November 18, 2026, at commit eb50407 (https://github.com/ray-project/ray/tree/eb50407602c55f2660b4a3a93d7e2fe07824ae20)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
