Explorer, time travel and SQL editor for DuckLake catalogs, inside VS Code.
Project site: aantje.dev. Source and issues: github.com/TEitelberg/aantje.
Install aantje-dev from the Visual Studio Marketplace (VS Code) or from Open VSX (VSCodium, code-server and other editors that use the Open VSX Registry), or from the releases page as a VSIX package.
aantje adds an explorer to the Activity Bar and a SQL editor. It runs in desktop VS Code and in code-server.
- Browse schemas, tables, views, macros and columns.
- Go back in time to any snapshot, compare a table or the whole catalog between snapshots and see which rows changed.
- Compare two tables or two schemas, also across connections, and get a script that makes one like the other.
- Generate
SELECT, CREATE, ALTER and DROP scripts for every object, and a table or view with its rows as CREATE TABLE plus INSERT statements.
- Run SQL with completion, hover help and result grids.
- Start from SQL templates: search the DuckLake templates that ship with aantje and your own, fill in their names and values, and import or share templates as
.sql files.
- Export a whole table, view or query result to a CSV or Parquet file.
- Create a DuckLake from the editor in Azure (PostgreSQL and ADLS Gen2, signed in with your Microsoft account) or in AWS (RDS for PostgreSQL and S3, with your AWS profile).
- Give every connection its own storage and sign-in for the data files: AWS S3, S3-compatible stores (MinIO, Cloudflare R2, Wasabi), Azure ADLS Gen2 and OneLake.
- Browse the files on the storage of a lake and import CSV, Parquet, JSON or Excel files with a script, also the subfolders of Hive partitions (
year=2026/month=09/) with the folder names as columns.
- Sync a lake, a schema or a table to an Apache Iceberg REST catalog and bring it up to date later.
- Reports show the health, storage, growth, activity and dependencies of your lake and suggest maintenance steps.
- Let Copilot or Claude Code work on your connected lakes through aantje's MCP server: objects, columns, dependencies, statistics, maintenance advice, and the plans and profiles of queries, so that it can say why a query or view is slow; aantje's tools never write and open changes for you to run.
The catalog can live in DuckDB, SQLite or PostgreSQL, or be served by a DuckDB server over Quack. The explorer only reads; the SQL editor runs whatever SQL you write, with a read-only switch per connection (on a Quack server the rights of the token decide).
The complete list of features and their limits is in Features.
Screenshots
Table statistics. File count, size and the distribution of file sizes of a table; a warning shows when most files are small.

Growth. How the rows, the size or the number of files of a table, or of the whole lake, changed over the snapshots.

Script as SELECT. Every node of the tree can be scripted. The script opens in the SQL editor, and the result appears in a grid below it.

Macros. Macros of a lake appear in the tree. Script as CREATE gives the statement with the matching DROP as a comment.

Requirements
- VS Code 1.140 or newer. aantje runs in desktop VS Code and in code-server.
- Windows or Linux, each on x64 or arm64. aantje ships a native DuckDB binding, so there is one package per platform; macOS is not supported.
- A DuckLake catalog that follows specification 1.x. aantje checks the version when it connects.
- Reading data and the SQL editor need the DuckDB extensions
ducklake, postgres, sqlite or quack, httpfs (for S3 and Quack), aws (for the AWS credential chain) and azure (for Azure and OneLake). The explorer of a Quack catalog needs quack too. DuckDB downloads them on first use, so that needs internet access once. On a machine without internet, put them into a directory and set aantje.duckdb.extensionDirectory.
- Create Notebook... needs the Jupyter extension (
ms-toolsai.jupyter) and a Python 3 kernel with pip.
- aantje runs where the workspace runs. In code-server or in a remote window, file paths and host names are resolved on the server, not on your computer.
Installation
aantje is published as the extension aantje-dev (id teitelberg.aantje-dev; the Visual Studio Marketplace does not allow the name aantje). In VS Code, search for aantje-dev in the Extensions view or open its page on the Visual Studio Marketplace. Editors that use the Open VSX Registry (VSCodium, code-server) find it there. From the command line:
code --install-extension teitelberg.aantje-dev
codium --install-extension teitelberg.aantje-dev
code-server --install-extension teitelberg.aantje-dev
Or install the VSIX package of your platform from the releases page with Extensions: Install from VSIX... or code --install-extension aantje-dev-win32-x64-0.3.1.vsix.
If you installed aantje under its earlier id teitelberg.aantje (versions up to 0.3.0), uninstall it and install teitelberg.aantje-dev. Your aantje.* settings, with the connections, stay. Saved passwords and keys, the query history, the trusted views, your own SQL templates and other remembered choices do not carry over, because VS Code keeps them per extension id; Installation lists them.
Installation describes the platforms and how to preconfigure connections for a whole machine.
To try aantje against a complete DuckLake first, the Docker stack starts a workbench with aantje, PostgreSQL, S3 storage, Gitea and sample notebooks with one command.
Quick start
- Open the aantje view in the Activity Bar.
- Choose Add Connection... (the
+ in the view title, or aantje: Add Connection... in the Command Palette). Pick PostgreSQL, SQLite, DuckDB or DuckDB + Quack and answer the prompts: a name and then, for PostgreSQL, host, port, database, user, whether to use TLS, password, and whether SQL editor sessions are read-only; for SQLite and DuckDB, the path of the database file that holds the ducklake_* tables and whether SQL editor sessions are read-only; for DuckDB + Quack, host, port, whether to use TLS (aantje shows the fingerprint of the server certificate and pins it once you confirm it) and the token. Leave the password empty if the server needs none. aantje tests the connection before it saves it.
- Expand the connection. aantje connects on the first expansion and lists the schemas. Expand a schema for the folders Tables and Views, a table or a view for its folder Columns.
- Hover over a node for its tooltip. Right-click a node to Copy Qualified Name, to Copy DDL of a table or view, or to use the submenus Script as, Maintenance and Reports.
- To see the catalog as it was earlier, click Show Catalog at Snapshot... (the history icon) on the connection and pick a snapshot. Latest goes back to following the newest snapshot. The status bar shows the active one.
- Use Search Catalog... (the magnifier in the view title) to find a table, view or column by name. Info in the
... menu of the view title shows the version of aantje, of the DuckDB engine it carries and the platform of the package; Details there opens this page inside VS Code, Copy copies the lines for a bug report. Open Settings below it opens the settings of aantje, in their groups (Settings). Refresh (in the view title, or the button on a connected connection, a schema, its folders Tables, Views and Macros, a table or a view) reopens the connection and reloads the tree, so that new commits and the newest snapshot show up. Filter... on a connection, a schema or its folders Tables, Views and Macros shows only the objects whose name holds a text or matches a pattern such as sales*. Show Details lists the tables, views and macros of a schema or of the lake in one sortable list with their rows, size, files and last change.
- Right-click a table and choose Select Top 1000 Rows. The first rows open in a grid for the snapshot that the tree shows. Click a header to sort, type into the boxes below the names to filter, right-click a cell to copy it, its row or all rows (also as Markdown), and use Export as File to save the rows as CSV, JSON or Markdown; Column Statistics shows above each column its type, NULLs, range or distinct values and a histogram, computed by DuckDB over the whole table.
- Right-click a table and choose Create Notebook... to get a Jupyter notebook for it. Run the cells from the top; edit
QUERY in the last cell to ask your own question.
- If the data files are not on this machine, the connection needs a storage: Add Connection asks where the files are (AWS S3, an S3-compatible store, Azure or OneLake) and how to sign in, and Set Storage Sign-in... on the connection replaces keys or tokens later. A connection without
storage uses aantje.s3.endpoint (and aantje.s3.region, aantje.s3.urlStyle) and the keys of aantje: Set S3 Credentials...; without stored keys aantje uses AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY from the environment.
- Right-click a table and choose New Query. A SQL editor opens with the SELECT of the table, and it belongs to the connection. Press
F5 to run it, or put the cursor into a statement and press Ctrl+Enter to run only that one. Shift+F5 cancels a run. The results open below the query and stay with it; Hide Results in the editor title (Ctrl+Alt+R) hides them and Show Results brings the last run back. The status bar shows the connection and the mode of the session of the editor (read/write or read-only); click it to select another connection, to switch the mode or to close the session. The folder Query History below the connection lists the statements you ran; a double-click opens one in a new query, and Set as Favorite keeps one in the folder Favorites at its top.
If a connection fails, open the output channel aantje (View > Output); passwords and tokens are masked there.
Settings
aantje: Open Settings (the gear in the ... menu of the view title of the catalogs) opens the settings of aantje in the Settings editor, in these groups. All have machine scope.
SQL Editor
| Setting |
Default |
Description |
aantje.sql.maxRows |
10000 |
The most rows that the SQL editor keeps of one result (at least 1), at most 1000000. A longer result is cut and marked as partial; the rest is not read. Machine scope. |
aantje.sql.codeLens |
true |
Shows Execute, Explain, Analysis and Statistics above each query of a SQL editor with a connection, and above each CTE of its outermost WITH. Machine scope. |
aantje.sql.cteRowLimit |
100 |
The LIMIT that Execute of a CTE on its own adds (at least 1), at most 1000000. Run CTE with Limit... asks for another number. Machine scope. |
aantje.sql.confirmUnfilteredWrites |
true |
Asks before an UPDATE or DELETE without WHERE (also WHERE true, WHERE 1 = 1) runs in the SQL editor, with the number of rows of its table. A guard against mistakes, not a permission check. Machine scope. |
aantje.sql.askCommitMessage |
true |
Asks once per run of the SQL editor that changes the lake for the commit message of its snapshots, empty by default: Enter with an empty field runs without one, Escape cancels the run. Machine scope. |
aantje.commitAuthor |
"" |
The author recorded together with a commit message. Empty uses the user of a PostgreSQL connection (for an Entra login its UPN); other connections then record no author. Machine scope. |
aantje.sql.formatKeywordCase |
upper |
How Format Document writes SQL keywords in the SQL editor: upper, lower or preserve (as written). Names, strings and comments are never changed. Machine scope. |
Data and Storage
| Setting |
Default |
Description |
aantje.queryTimeoutSeconds |
30 |
Maximum duration of a single catalog query, in seconds (at least 1). Applies to PostgreSQL, DuckDB and Quack catalogs; a SQLite catalog is read from memory and has no limit. It also limits one reading of data (rows or the columns of a view) from the attach of the catalog on; installing the DuckDB extensions (the first download, about 40 MB) has its own limit of 5 minutes. |
aantje.s3.endpoint |
"" |
S3 endpoint that holds the Parquet data, as host:port or http(s)://host:port. Empty means AWS. Used by Select Top 1000 Rows and written into notebooks, by connections without storage. Machine scope. The key and secret are not a setting: use Set S3 Credentials. |
aantje.s3.region |
"us-east-1" |
S3 region for reading data. Machine scope. |
aantje.s3.urlStyle |
"path" |
How bucket names are put into S3 URLs: path or vhost. Most S3-compatible servers need path. Machine scope. |
aantje.duckdb.extensionDirectory |
"" |
Directory with the DuckDB extensions ducklake, postgres, sqlite or quack, and httpfs, aws and azure as the storage needs them. Empty uses the DuckDB default, which downloads them on first use and needs internet access. Set it for offline use. Machine scope. |
Explorer
| Setting |
Default |
Description |
aantje.explorer.snapshotLimit |
50 |
How many of the newest snapshots the Snapshots folder of a connection lists, at most 10000. Show All Snapshots on the folder lists all of them until the connection is refreshed. The snapshot picker, the reports and the SQL editor are not limited by it. Machine scope. |
Query History and Export
| Setting |
Default |
Description |
aantje.queryHistory.size |
25 |
Statements per connection that the folder Query History keeps, at most 1000: the last ones that Execute Query on DuckLake, Run Statement or Execute ran on it, in the global state of VS Code on this machine, with the secrets of the connection and of CREATE SECRET masked. 0 records nothing, hides the folder and deletes what is stored, favorites included. Machine scope. |
aantje.export.markdownNull |
"empty" |
How a NULL shows in a Markdown table (Copy as Markdown, the Markdown export of the grid, and Markdown files of Run to File and Export): empty for an empty cell, NULL for the word. Machine scope. |
Templates
| Setting |
Default |
Description |
aantje.templates.folders |
[] |
Folders of SQL templates, for example the clone of a Git repository of your team, that Templates lists read-only (Templates): the .sql files directly in a folder that are marked as a template. Absolute paths; ~ is your home folder. Machine scope. |
MCP Server
| Setting |
Default |
Description |
aantje.mcp.enabled |
true |
Runs the MCP server of aantje on 127.0.0.1, so that Copilot and Claude Code in VS Code can read the catalog of the connected connections and explain, analyze and profile statements that read; it never writes and never connects a connection. Machine scope. |
aantje.mcp.maxRows |
0 |
Rows that the MCP tool sample_rows may return to an AI assistant, at most 1000. 0 returns no rows and offers neither the tool nor profile and explain_analyze. Machine scope. |
Connections and Iceberg Targets
| Setting |
Default |
Description |
aantje.connections |
[] |
The connection profiles. Machine scope; passwords and tokens are never stored here. |
aantje.icebergTargets |
[] |
The Iceberg REST catalogs that Sync to Iceberg... writes to (Sync to Iceberg); Add Iceberg Target... adds one. Client secrets and tokens are never stored here, they are in the VS Code secret storage. Machine scope. |
Connection profiles
The Add Connection wizard writes aantje.connections for you. Edit the setting by hand only for the options that the wizard does not ask for (metadataSchema) or to provision a machine. Each entry has these properties:
| Property |
Used by |
Description |
name |
all |
Display name in the explorer. Required. |
kind |
all |
postgres, sqlite, duckdb or quack (a DuckDB server that serves the catalog over Quack). Required. |
id |
all |
Stable identifier, also the key of the stored password or token. Defaults to a slug of the name. |
host, port |
PostgreSQL, Quack |
Where the catalog server is. port defaults to 5432, for Quack to 9494. A Quack server cannot be reached under the host name quack. |
database, user |
PostgreSQL |
The database that holds the catalog and the user to log in with. |
metadataSchema |
PostgreSQL |
Schema that holds the ducklake_* tables. Defaults to the default schema of the connection. |
ssl |
PostgreSQL, Quack |
Use TLS. Defaults to true, and to false for localhost, 127.0.0.1 and ::1. |
fingerprint |
Quack |
SHA-256 fingerprint of the server certificate, pinned instead of the system trust store (for a self-signed certificate). The wizard reads it from the server and asks before it pins it. Needs ssl. |
path |
SQLite, DuckDB |
Database file that holds the ducklake_* tables. |
azureAccount, azureTenant, azureAuth |
PostgreSQL |
azureAuth is entra to sign in to PostgreSQL with your Microsoft account instead of a password, azureTenant the tenant of that token. azureAccount is the older way to name the Azure storage account of the data files (read with Microsoft Entra); it keeps working, new entries use storage. The wizard asks for them when you choose Microsoft Entra ID; Create Azure DuckLake... and Import Azure DuckLake... write storage and azureAuth. |
awsAuth, awsProfile |
PostgreSQL |
awsAuth is iam to sign in to PostgreSQL on Amazon RDS with IAM database authentication instead of a password: a token that awsProfile signs (a profile of the AWS configuration; without it the profile of an AWS storage, else the environment) is the password of user, a role with rds_iam. Needs ssl. The wizard asks for them when you choose AWS IAM; Create AWS DuckLake... and Import AWS DuckLake... write them for a lake with IAM. |
storage |
PostgreSQL, SQLite, DuckDB |
Where the data files of the lake live and how to sign in there, one storage per connection: an object with kind (aws, s3 for an S3-compatible store or Cloudflare R2, azure, onelake) and signIn plus the fields of that kind (region, endpoint or accountId, urlStyle, account, tenant, clientId, certificatePath, chain, awsProfile). Keys, tokens and passwords are not part of it: they go to the secret storage. Without storage a connection uses the global S3 settings. Not for Quack, and not together with azureAccount; azureAccount of older entries still works. |
fileRoots |
PostgreSQL, SQLite, DuckDB |
The roots of the Files folder below the connection: paths on the storage of the lake, such as s3://bucket/exports/ or an absolute local folder. When set, they replace the default root, the bucket, container or workspace of the data path (for a local data path the folder above it). Edit Connection asks for them. Not for Quack. |
readOnly |
PostgreSQL, SQLite, DuckDB |
Open the SQL editor sessions of this connection read-only. Defaults to false: writable. The wizard asks and suggests true for a DuckDB file, because a writable session locks the file against the explorer. Not for Quack: a Quack server has no such lock, and the server decides what its token may do. |
{
"aantje.connections": [
{
"name": "Lake",
"kind": "postgres",
"host": "localhost",
"port": 5432,
"database": "ducklake",
"user": "ducklake",
"ssl": true
},
{
"name": "Local catalog",
"kind": "sqlite",
"path": "/data/catalog.sqlite"
}
]
}
Author
Tillmann Eitelberg (publisher teitelberg). Project site aantje.dev, source on GitHub.
License
MIT, © 2026 Tillmann Eitelberg. The licences of the bundled packages are in THIRD-PARTY-NOTICES.md.
| |