Skip to content

Steampipe

Every Steampipe plugin's tables, with key-column pushdown and secret-held credentials

Connector software
Free and open source
Service credentials
Required
Use with an agent

Install the Orchard skill in your project to help your agent find connectors, configure them, and verify SQL results.

npx skills add Query-farm/vgi-skills --skill orchard

Copy this request into your coding agent to get started.

Use https://query.farm/products/orchard/connectors/steampipe/index.md to help me query Steampipe with DuckDB or Haybarn 2.0.1 and VGI protocol 3.4. Ask only for missing details about the result I need or whether I want local execution, self-hosting or Query Farm hosting. Check the connector's actual hosting availability, credentials and input requirements. Read one format of each needed reference and the exact object declarations before writing SQL. Use a released connector, and distinguish a saved example result from anything you actually execute. If you cannot run the query, tell me what remains to verify.

Compare cloud resources by region

Attach the Steampipe AWS plugin under the schema name aws and configure its AWS credentials first.

Uses your connected account. Set up the connector and credentials to run it with your data.

SELECT region, count(*) AS instances
FROM steampipe.main.scan('aws', 'aws_ec2_instance')
GROUP BY region
ORDER BY instances DESC

Quick start

Choose where to run Steampipe, then follow the steps below.

The connector runs alongside DuckDB or Haybarn. No Query Farm account is needed.

1. Install the vgi extension

Run this in your SQL client. On DuckDB, keep FROM query_farm on LOAD in later sessions.

setup.sql
SET allow_extension_repositories = 'allowed';

CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm
    WITH PREFIX 'https://duckdb-extensions.query.farm';

INSTALL vgi FROM query_farm;
LOAD vgi FROM query_farm;

2. Attach the connector

Attach the release directly

Downloads the latest release for your platform and caches it locally.

ATTACH 'steampipe' AS steampipe (
  TYPE vgi,
  LOCATION 'github-auto://Query-farm/vgi-steampipe'
);

3. Add service credentials

After attaching, create the secret for the service you want to query in the same SQL session. Replace the placeholders with your service settings.

steampipe credentials

Connection config for a hosted Steampipe plugin: the HCL (or JSON) body of a Steampipe connection block, typically its credentials. Merged over the ATTACH config option at query time.

Get these credentials →
secret.sql
CREATE SECRET steampipe (
    TYPE steampipe,
    plugin '<plugin>',
    config '<STEAMPIPE_CONFIG>'  -- secret
);
Credential fields and requirements →

4. Run a query

query.sql
SELECT region, count(*) AS instances
FROM steampipe.main.scan('aws', 'aws_ec2_instance')
GROUP BY region
ORDER BY instances DESC
More example queries →
Technical details
Verified connector release
v0.2.0
Engine
2.0.1
VGI protocol
3.4.0
Verified on
December 1, 2026
Release notes on GitHub
Pin a version for production

When running the connector yourself, keep a specific release until you’re ready to upgrade. Replace the ATTACH statement above with this one and follow the same extension and credential setup.

Attach the release directly

Uses the verified release each time you attach the connector.

ATTACH 'steampipe' AS steampipe (
  TYPE vgi,
  LOCATION 'github-auto://Query-farm/[email protected]'
);

Overview

Host Steampipe plugins and query their tables from DuckDB: each plugin named at ATTACH becomes a schema, each plugin table a table, with key-column filters pushed down. No Steampipe CLI or Postgres needed.

ATTACH options

plugins
Comma-separated Steampipe plugins to host, each `[schema=]ref`. A ref is an OCI image (`csv`, `[email protected]`, `turbot/aws`, `ghcr.io/org/repo/name:tag`, `name@sha256:<digest>`) or a local plugin binary path. Each plugin becomes a schema named after it (or `schema`), holding one table per plugin table.VARCHAR
config
Non-secret connection settings, one HCL block per schema (`csv { paths = ["/data/*.csv"] }`) or a JSON object keyed by schema. Used to discover tables at ATTACH and for every query. Never put credentials here: use CREATE SECRET (TYPE steampipe, ...).VARCHAR
cache_dir
Directory for plugins fetched from a registry (default: <user cache dir>/vgi-steampipe/plugins). Binaries are stored by verified sha256 digest and reused offline.VARCHAR
registry
OCI registry for plugin refs that name none (default https://ghcr.io); for mirrors and tests.VARCHAR

Catalog

Everything steampipe exposes once attached — read straight from the worker's released build.

steampipe 2 schemas
fixture 4 tables

Steampipe plugin vgi_steampipe_v0.2.0_steampipe_plugin_fixture_darwin_arm64 (/private/tmp/orchard-protocol34/assets/vgi-steampipe-v0.2.0-steampipe-plugin-fixture-darwin_arm64), 4 tables.

Schema examples (4)
Examples (4)

A few rows of fixture_greeting

SELECT name, message
FROM steampipe.fixture.fixture_greeting
WHERE name = 'example'
LIMIT 10;

A few rows of fixture_item

SELECT id, name, category FROM steampipe.fixture.fixture_item LIMIT 10;

A few rows of fixture_lookup

SELECT id, name, category
FROM steampipe.fixture.fixture_lookup
WHERE id = 1
LIMIT 10;

A few rows of fixture_whoami

SELECT has_token, token_sha256
FROM steampipe.fixture.fixture_whoami
LIMIT 10;
Tables
fixture_greeting 1 example4 cols

Greets the required name using the connection's greeting. Requires a WHERE filter on: name.

Columns
name VARCHAR
The name greeted (required key column).
message VARCHAR
The greeting.
sp_connection_name VARCHAR
Steampipe connection name.
sp_ctx JSON
Steampipe context in JSON form.
Example

A few rows of fixture_greeting

SELECT name, message
FROM steampipe.fixture.fixture_greeting
WHERE name = 'example'
LIMIT 10;
Link
fixture_item 1 example13 cols

Deterministic items; filter by category or id range.

Columns
id BIGINT
Item number: a 1-based integer index, from 1 to item_count.
name VARCHAR
Item name, item-NNNN.
category VARCHAR
One of hardware, software, services.
price DOUBLE
Price in US dollars.
active BOOLEAN
True for even ids.
created TIMESTAMP WITH TIME ZONE
Creation time, one hour per id after 2024-01-01.
tags JSON
Tags as a JSON array.
attrs JSON
Attributes as a JSON object.
ip VARCHAR
An IPv4 address.
network VARCHAR
An IPv4 network.
note VARCHAR
Set for every tenth id, otherwise NULL.
sp_connection_name VARCHAR
Steampipe connection name.
sp_ctx JSON
Steampipe context in JSON form.
Example

A few rows of fixture_item

SELECT id, name, category FROM steampipe.fixture.fixture_item LIMIT 10;
Link
fixture_lookup 1 example13 cols

Look items up by id: id is a required key column of both the Get and the List call. Requires a WHERE filter on: id.

Columns
id BIGINT
Item number: a 1-based integer index, from 1 to item_count.
name VARCHAR
Item name, item-NNNN.
category VARCHAR
One of hardware, software, services.
price DOUBLE
Price in US dollars.
active BOOLEAN
True for even ids.
created TIMESTAMP WITH TIME ZONE
Creation time, one hour per id after 2024-01-01.
tags JSON
Tags as a JSON array.
attrs JSON
Attributes as a JSON object.
ip VARCHAR
An IPv4 address.
network VARCHAR
An IPv4 network.
note VARCHAR
Set for every tenth id, otherwise NULL.
sp_connection_name VARCHAR
Steampipe connection name.
sp_ctx JSON
Steampipe context in JSON form.
Example

A few rows of fixture_lookup

SELECT id, name, category
FROM steampipe.fixture.fixture_lookup
WHERE id = 1
LIMIT 10;
Link
fixture_whoami 1 example4 cols

Reports whether the connection config carried api_token (never the token itself).

Columns
has_token BOOLEAN
True when api_token is set.
token_sha256 VARCHAR
SHA-256 of api_token.
sp_connection_name VARCHAR
Steampipe connection name.
sp_ctx JSON
Steampipe context in JSON form.
Example

A few rows of fixture_whoami

SELECT has_token, token_sha256
FROM steampipe.fixture.fixture_whoami
LIMIT 10;
Link
main 3 tables · 1 function

Introspection of the hosted Steampipe plugins: their tables, required filters and pushed-down key columns.

Schema examples (5)
Examples (5)

Read a plugin table directly, filtering on a key column

SELECT category, count(*) AS items
FROM steampipe.main.scan('fixture', 'fixture_item')
WHERE id <= 12
GROUP BY category
ORDER BY category;

Ask the plugin for at most 10 rows (Steampipe's limit pushdown)

SELECT count(*) AS fetched
FROM steampipe.main.scan('fixture', 'fixture_item', max_rows := 10);

The attached plugins and how many tables each serves

SELECT schema_name, plugin, plugin_version, table_count
FROM steampipe.main.plugin
ORDER BY schema_name;

Tables that need a WHERE filter, and on which columns

SELECT schema_name, table_name, required_filters
FROM steampipe.main.plugin_table
WHERE required_filters IS NOT NULL
ORDER BY ALL;
1 more example

Columns each table can filter on through the plugin's API

SELECT table_name, column_name, require, operators
FROM steampipe.main.plugin_key_column
WHERE call = 'list' AND column_name <> 'sp_connection_name'
ORDER BY ALL;
Tables
plugin 2 examples10 cols

The Steampipe plugins of this ATTACH, one row per plugin schema, with image digests and table counts.

Columns
schema_name VARCHAR
Schema the plugin's tables live in.
pluginnot null VARCHAR
Plugin short name, e.g. csv or aws.
refnot null VARCHAR
Resolved plugin reference: OCI image (registry/repository:tag or @digest) or local binary path.
image_digest VARCHAR
sha256 digest of the OCI manifest the binary came from; NULL for a local binary.
layer_digest VARCHAR
Verified sha256 digest of the plugin binary layer; NULL for a local binary.
plugin_version VARCHAR
Version annotation of the OCI image, when published.
binary_pathnot null VARCHAR
Path of the executable the worker runs.
sdk_version VARCHAR
steampipe-plugin-sdk version the plugin was built with.
schema_mode VARCHAR
static, or dynamic when the tables depend on the connection config.
table_countnot null BIGINT
Number of tables the plugin serves under the ATTACH config.
ConstraintsPRIMARY KEY (schema_name)
Examples (2)

The attached plugins and how many tables each serves

SELECT schema_name, plugin, plugin_version, table_count
FROM steampipe.main.plugin
ORDER BY schema_name;

The plugin the linter's worker launches with

SELECT schema_name, plugin, sdk_version, table_count
FROM steampipe.main.plugin
ORDER BY schema_name;
Link
plugin_key_column 2 examples6 cols

The key columns of every attached plugin table: the filters the plugin pushes to its API, and which are required.

Columns
schema_name VARCHAR
Plugin schema.
table_name VARCHAR
Plugin table name.
column_name VARCHAR
Key column.
call VARCHAR
'get' (look up one row) or 'list' (filter a listing).
requirenot null VARCHAR
'required', 'optional' or 'any_of' (at least one of the table's any_of columns).
operatorsnot null VARCHAR[]
Operators pushed to the plugin for this column: =, <>, <, <=, >, >=, IN (as =), IS [NOT] NULL.
ConstraintsPRIMARY KEY (schema_name, table_name, column_name, call)
Examples (2)

Columns each table can filter on through the plugin's API

SELECT table_name, column_name, require, operators
FROM steampipe.main.plugin_key_column
WHERE call = 'list' AND column_name <> 'sp_connection_name'
ORDER BY ALL;

Required key columns of the fixture plugin

SELECT table_name, column_name, call
FROM steampipe.main.plugin_key_column
WHERE require = 'required'
ORDER BY ALL;
Link
plugin_table 2 examples7 cols

Every table of the attached plugins, with the WHERE filters a query on it must include and its key columns.

Columns
schema_name VARCHAR
Plugin schema.
table_name VARCHAR
Plugin table name.
description VARCHAR
The plugin's description of the table.
column_countnot null BIGINT
Number of columns.
required_filters VARCHAR
WHERE filters a query must include, as 'a; b or c' (AND of OR-groups); NULL when none are required.
get_key_columnsnot null VARCHAR[]
Columns a Get call looks rows up by.
list_key_columnsnot null VARCHAR[]
Columns a List call can filter on through the API.
ConstraintsPRIMARY KEY (schema_name, table_name)
Examples (2)

Tables that need a WHERE filter, and on which columns

SELECT schema_name, table_name, required_filters
FROM steampipe.main.plugin_table
WHERE required_filters IS NOT NULL
ORDER BY ALL;

Tables of the fixture plugin that need a filter

SELECT table_name, required_filters
FROM steampipe.main.plugin_table
WHERE required_filters IS NOT NULL
ORDER BY table_name;
Link
Table functions
scan (schema VARCHAR, table VARCHAR, max_rows := BIGINT) 2 examples

Read one table of an attached Steampipe plugin, pushing key-column filters down as quals

Positional arguments
schema VARCHAR
Plugin schema of this ATTACH, as named by the plugins option (e.g. 'csv').
table VARCHAR
Plugin table name (e.g. 'csv_products' or 'aws_s3_bucket').
Named arguments
max_rows := BIGINT
Plugin-side row limit (Steampipe's limit pushdown); 0 means no limit. It caps the rows the plugin fetches before any WHERE filter that is not a key-column qual is applied. · default 0
Returns columns
name VARCHAR
The name greeted (the table's required key column).
message VARCHAR
The greeting.
sp_connection_name VARCHAR
The plugin schema the row came from.
sp_ctx JSON
Steampipe connection context (connection name, SDK version).
Returns columns · depends on the arguments
name VARCHAR
The name greeted (the table's required key column).
message VARCHAR
The greeting.
sp_connection_name VARCHAR
The plugin schema the row came from.
sp_ctx JSON
Steampipe connection context (connection name, SDK version).
Examples (2)

Read a plugin table directly, filtering on a key column

SELECT category, count(*) AS items
FROM steampipe.main.scan('fixture', 'fixture_item')
WHERE id <= 12
GROUP BY category
ORDER BY category;

Ask the plugin for at most 10 rows (Steampipe's limit pushdown)

SELECT count(*) AS fetched
FROM steampipe.main.scan('fixture', 'fixture_item', max_rows := 10);
Link

Credentials

The secret type steampipe declares, as reported by the worker itself.

steampipe

How to get these credentials

Connection config for a hosted Steampipe plugin: the HCL (or JSON) body of a Steampipe connection block, typically its credentials. Merged over the ATTACH config option at query time.

secret.sql
CREATE SECRET steampipe (
    TYPE steampipe,
    plugin '<plugin>',
    config '<STEAMPIPE_CONFIG>'  -- secret
);
Key Type Required Description
plugin VARCHAR — Schema or plugin name the secret configures (e.g. 'aws'); the secret is ignored for other plugins. Empty applies to any.
config secret VARCHAR — Connection settings as an HCL body (token = "...") or a JSON object ({"token": "..."}).

The worker doesn't mark which keys are required.

Create the secret in the same session, after attaching steampipe — the worker registers its secret types at ATTACH. Keys marked secret are masked in duckdb_secrets(); angle-bracket values are placeholders. Read credentials from your environment or secret store in your application and pass them through your SQL client’s parameter bindings. Keep real values out of saved SQL and history. Native DuckDB and Haybarn do not provide a SQL getenv() function.

Try these queries

A few rows of fixture_greeting

SELECT name, message
FROM steampipe.fixture.fixture_greeting
WHERE name = 'example'
LIMIT 10

Uses fixture_greeting

A few rows of fixture_item

SELECT id, name, category FROM steampipe.fixture.fixture_item LIMIT 10

Uses fixture_item

A few rows of fixture_lookup

SELECT id, name, category
FROM steampipe.fixture.fixture_lookup
WHERE id = 1
LIMIT 10

Uses fixture_lookup

A few rows of fixture_whoami

SELECT has_token, token_sha256
FROM steampipe.fixture.fixture_whoami
LIMIT 10

Uses fixture_whoami

Read a plugin table directly, filtering on a key column

SELECT category, count(*) AS items
FROM steampipe.main.scan('fixture', 'fixture_item')
WHERE id <= 12
GROUP BY category
ORDER BY category

Uses scan

The attached plugins and how many tables each serves

SELECT schema_name, plugin, plugin_version, table_count
FROM steampipe.main.plugin
ORDER BY schema_name

Uses plugin

6 more examples in the Catalog, each listed under the table or function it uses.

Questions it can answer

Plain-English questions from the worker's agent test tasks. An AI agent with this catalog attached should answer each one with SQL.

  • Using the steampipe worker, how many Steampipe plugins are attached to the steampipe catalog?
  • Using the steampipe worker, how many attached plugin tables require a WHERE filter?
  • Using the steampipe worker's scan function, how many fixture_item rows with id up to 30 are in each category?
  • In the steampipe fixture plugin, how many software items cost more than 20 dollars?
  • What greeting does the steampipe fixture plugin give the name 'Grace'?
  • Using the steampipe fixture plugin's lookup table, what is the name of the item with id 7?

Steampipe is an independent open-source connector from Query.Farm. It is not affiliated with, endorsed by or sponsored by the services, projects or organisations it works with. Product names, logos and trademarks belong to their respective owners.