cd /news/ai-tools/quail-a-fast-engine-for-ai-functions… · home › topics › ai-tools › article
[ARTICLE · art-177828] src=fsdatalab.github.io ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Quail: A fast engine for AI functions in SQL

Quail released quail-engine, a SQL engine that runs AI functions such as AI.IF and PROMPT directly over table rows, returning one answer per row that SQL can use like any other value. The package requires Python 3.12 and a supported CUDA GPU, and can run on Modal or connect to Quail Server when no local GPU is available.

key takeaway

Quail's quail-engine lets developers call AI.IF and PROMPT inside SQL SELECT statements so each row gets an AI-generated answer usable as a normal column value, but it requires Python 3.12 and a supported CUDA GPU or Modal/Quail Server.

read1 min views4 publishedNov 28, 2026
Quail: A fast engine for AI functions in SQL
Image: source
SELECT r.id FROM reviews r
WHERE AI.IF(PROMPT(
  'Does the review discuss the ending? {0}',
  r.body))
id body AI.IF
r1 The ending was perfect and the cast was great. true
r2 Too long, and the ending made no sense. true
r3 Great music, but I want my money back. false

AI functions #

Each AI function returns one answer per row. SQL uses the answer like any other value.

Install #

Quail needs Python 3.12 and a supported CUDA GPU.

The package is quail-engine, and you import it as quail. With no local GPU, run Quail on Modal or connect to Quail Server.

── more in #ai-tools 4 stories · sorted by recency
── more on @quail 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/quail-a-fast-engine-…] indexed:0 read:1min 2026-11-28 · —