Metadata-Version: 2.4
Name: sqbyl-runtime
Version: 0.4.0
Summary: The minimal, dependency-light sqbyl runtime: load a release + ask() + structured logging.
Project-URL: Homepage, https://github.com/jackwerner/sqbyl
Project-URL: Documentation, https://jackwerner.github.io/sqbyl/
Project-URL: Repository, https://github.com/jackwerner/sqbyl
Project-URL: Issues, https://github.com/jackwerner/sqbyl/issues
Project-URL: Changelog, https://github.com/jackwerner/sqbyl/blob/main/CHANGELOG.md
Project-URL: Discussions, https://github.com/jackwerner/sqbyl/discussions
Author: Jack Werner
License-Expression: MIT
Keywords: agent,anthropic,claude,llm,openai,sql,text-to-sql
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Database
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: duckdb-engine>=0.13
Requires-Dist: duckdb>=1.0
Requires-Dist: pydantic<3,>=2.7
Requires-Dist: sqlalchemy>=2.0
Requires-Dist: sqlglot>=25
Provides-Extra: anthropic
Requires-Dist: anthropic>=0.116.0; extra == 'anthropic'
Provides-Extra: bigquery
Requires-Dist: sqlalchemy-bigquery>=1.9; extra == 'bigquery'
Provides-Extra: langchain
Requires-Dist: langchain-core>=0.3; extra == 'langchain'
Provides-Extra: mysql
Requires-Dist: pymysql>=1.1; extra == 'mysql'
Provides-Extra: openai
Requires-Dist: openai>=1.40; extra == 'openai'
Provides-Extra: postgres
Requires-Dist: psycopg[binary]>=3.3.4; extra == 'postgres'
Provides-Extra: snowflake
Requires-Dist: snowflake-sqlalchemy>=1.5; extra == 'snowflake'
Description-Content-Type: text/markdown

# sqbyl-runtime

The minimal, dependency-light runtime for [sqbyl](https://github.com/jackwerner/sqbyl).

Embed a released sqbyl agent into your production app with three lines:

```python
from sqbyl_runtime import load

agent = load("revenue-analytics.v1.json", db=env.DATABASE_URL, model="claude-opus-4-8")
agent.ask("net revenue last month")  # → {plan, sql, rows, used_assets, usage, latency}
```

This package contains **only** release `load()` + `ask()` + structured logging.
None of the dev toolkit (eval, synth, Coach, judges, review console) ships here —
that all lives in the full `sqbyl` package. The one-way dependency arrow
(`sqbyl` → `sqbyl-runtime`, never the reverse) is enforced in CI.
