# amitte/sql-from-question

> Convert a natural-language question into a Postgres SELECT statement against a supplied schema, returning the SQL plus a one-paragraph explanation of how the query maps to the question.

## Identity

- **Type:** agent
- **Version:** 0.1.0
- **Trust tier:** official
- **License:** CC-BY-4.0
- **Authors:** Amitte Maintainers
- **Repo / bundle:** amitte/showcase
- **Canonical URL:** https://amitte.com/s/amitte/sql-from-question

## Tags

- **Capabilities:** text-to-sql, postgres, analytics
- **Domains:** data, analytics

## Evaluation

- **Adversarial score:** 100/100
- **Content score:** 95/100

## Endpoints

- **model-backed** `question-to-sql` → (internal) — Take a natural-language question and a schema and return a Postgres SELECT plus an explanation.

## Programmatic access

- Fetch JSON-RPC: `POST https://registry.amitte.com/rpc` with `{ "method": "fetch", "params": { "id": "amitte/sql-from-question" } }`
- Install via CLI: `amitte install amitte/sql-from-question`
- HTML page: https://amitte.com/s/amitte/sql-from-question

Last updated: 2026-06-27T00:09:37.275Z