Towards Data Science

Running SQL Concurrently Across Three Remote DuckDB Servers with Quack

A small experiment in remote SQL execution The post Running SQL Concurrently Across Three Remote DuckDB Servers with Quack appeared first on Towards Data Science .

arXiv AI
Sep 3

Zeta-Lite: A Concurrent, Branchable In-Browser SQL Database for Agentic Memory

Zeta‑Lite is a WebAssembly‑based in‑browser SQL database that brings concurrent, snapshot‑isolated transactions and copy‑on‑write database branching to the client side. It is a compact 2.87 MB gzipped build of the Zeta engine, offering a full PostgreSQL‑compatible feature set—including joins, CTEs, window functions, JSONB, full‑text search, HNSW vector search, and graph queries—while maintaining high read/write throughput across major browsers. The engine’s log‑centric asynchronous MVCC core enables overlapping transactions on a single thread and unique branching capabilities rarely seen even in server‑side databases. whyItMatters":"Zeta‑Lite’s concurrent, branchable design provides a lightweight, privacy‑preserving, and offline‑ready memory layer for in‑browser AI agents, enabling them to explore, test, and commit speculative changes efficiently."

By Gene Zhang
arXiv AI
Sep 10

Typed Federated Artifacts for the Agentic Web:Sharing Tool-Routing Knowledge Across Frozen,Heterogeneous LLM Agents

The paper proposes typed federated artifacts—schema‑validated objects with per‑field privacy and dispute resolution—to enable tool‑routing knowledge sharing among frozen, heterogeneous LLM agents. By replacing flat text prompts with typed fields, the authors achieve near‑centralized routing performance on StableToolBench while reducing data size to 20 MB JSON per client. The study also highlights that a simple TF‑IDF classifier can outperform LLM routing on labeled benchmarks, indicating limitations in current evaluation methods.

By Abhijit Chakraborty, Ni Trieu, Vivek Gupta
Towards Data Science
4d ago

How to Run Claude Code and Other Coding Agents in the Cloud 24/7

The article explains two ways to keep Claude Code and other coding agents running continuously in the cloud: (1) quickly enable Claude Code’s built‑in cloud environment, or (2) rent a dedicated server for full control. It outlines the steps for each setup and highlights the trade‑offs between convenience and flexibility.

By Eivind Kjosbakken
Towards Data Science
Oct 18

Inferring the Host: A Bayesian Look at the Monty Hall Problem

The article discusses how the Monty Hall problem’s optimal strategy depends on the host’s behavior. It explains that for a specific type of host, the rule "always switch" is correct, and suggests observing a few episodes to identify which host you are dealing with. The piece applies Bayesian reasoning to determine the host’s strategy and its impact on the game’s outcome.

By Samit Ganguly
arXiv AI
Nov 16

LuthorSQL: A One-Pass Text-to-SQL Model as System 1 for a Slower LLM Agent

LuthorSQL is a 7B non‑autoregressive text‑to‑SQL model that performs a single forward pass to predict slot scores over a bounded grammar, compiles up to 32 candidate plans, and selects an answer with a trained validator. It achieves 68.03 % execution accuracy on BIRD’s hidden test set in 0.84 s per question on a single GPU, retains accuracy with 9 GB 8‑bit quantized weights, and zero‑shot transfers to multiple database engines within 3.1 points of native SQLite performance. When paired with Claude Opus 5.5 in a confidence cascade, LuthorSQL answers nearly half of queries locally, reducing API cost by 33.3 % while maintaining the same overall accuracy.

By Ibrahim Memon, Armin Karamzade, M. Hanif Jhaveri, Roy Fox
Towards Data Science
Nov 10

How to Validate LLM Output in a DuckDB and dbt Pipeline

The article explains how to validate large language model (LLM) output within a data pipeline that uses DuckDB and dbt. It describes a Gemini Flash‑Lite step that extracts skills, seniority, and Nigeria eligibility from 18 RemoteOK job postings, and then applies Python checks and dbt tests to ensure the accuracy of each extracted answer.

By Ibrahim Salami