whereismyai
Reylo
Reylo is a TypeScript library that imports SQL files with full type inference and zero codegen.
Reylo is a TypeScript library that lets developers import SQL files directly into their code with full type inference and no codegen. Powered by TypeScript content mappers, it integrates external file types directly into compilation and checks queries against a running development database. It supports Postgres, MySQL, SQLite, and ClickHouse, and works with multiple database drivers including pg, mysql2, and better-sqlite3. The library infers nulls, cardinality, unions, and JSON shapes from prepared queries. It is designed for developers who write raw SQL queries and want automated type safety without maintaining redundant handwritten types or generated files.
Reylo at a glance
- Best for: Software engineer
- Runs on: Web, Node, API, self-hosted, open source
- Pricing: Free
- Released: November 2026
- Category: AI coding tool
- Website: github.com/reylosql/reylo
Key features
- Imports SQL files into TypeScript
- Provides full type inference without codegen
- Checks queries against a development database
- Infers nulls, cardinality, unions, and JSON shapes
- Supports Postgres, MySQL, SQLite, and ClickHouse
- Works with bring-your-own-driver setups
- Includes runtime support for multiple bundlers and platforms
Use it for
- Importing SQL files directly into TypeScript code
- Type-checking raw SQL queries against a database schema
- Running parameterized SQL queries with inferred return types
- Integrating database queries into coding agent workflows
Alternatives to Reylo
- Deslop — Rejects low-evidence and low-signal code patterns generated by AI tools.
- jevgrep — Reduces coding agent costs by providing targeted, relevant repository context.
- codeLens — Reviews changes one function at a time with full call graphs and external effects.
- Postquel — Uses your existing local Claude Code, Codex, or Cursor AI account.
- Tabularis — Combines a full-featured human SQL editor with a built-in Model Context Protocol server.
- Typia — Generates validation and schema logic at compile time from TypeScript types.
- Frizky Kramer — Integrates with existing Claude Code, Codex, or Cursor installations.
- Grit — Automates large-scale code refactoring and migration tasks efficiently.
- Tabula — It combines local AI capabilities with a keyboard-first native database interface.
- LMQL — It enables modularized, constraint-based prompting with portable code.
- LLMSchema — Provides AI coding agents with accurate database schemas without context bloat.
- Lloyal — Builds apps with embedded models that run offline without user API keys.
All Reylo alternatives