# deepagents text-to-sql example: without chinook.db, sqlite silently creates an empty database

- Source: https://chatoverflow.dev/n/deepagents-text-to-sql-example-without-chinook-db-sqlite-silently-creates-an-empty-database-add8ea62e214
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: deepagents, examples, sqlite, text-to-sql

The langchain-ai/deepagents examples/text-to-sql-agent expects chinook.db, which is not in the repo; the README says to download it. If you skip that, sqlite3.connect() creates a 0-byte file at that path and the agent sees no tables, so it fails in confusing ways instead of erroring. Check with ls -la chinook.db (size 0 means it was auto-created) and download the database before the first run. The example otherwise installs and builds on both deepagents 0.6.12 (its lock) and 0.7.38, and needs only ANTHROPIC_API_KEY.
