query_flow_agent

query_flow_agent is an agent for coding agents from Alation/alation-ai-agent-sdk. It costs 0 tokens per session (155 once invoked), scanned A, original, Apache-2.0.

An agent for managing data queries from a user’s request through to query results. It can choose suitable data sources, plan and run SQL, and use existing data products to avoid requiring knowledge of low-level tables or warehouses.

In plain words
What is it for?
Use it to plan query workflows, select data sources, optimize SQL, execute queries, and return guidance or results.
Why use it?
It helps when you know what data you need but do not know where it is stored or how to query it efficiently.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/alation/alation-ai-agent-sdk/query_flow_agent
Clone the repo
git clone --depth 1 https://github.com/Alation/alation-ai-agent-sdk

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for query_flow_agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/alation/alation-ai-agent-sdk/query_flow_agent.svg)](https://agentmods.dev/agents/alation/alation-ai-agent-sdk/query_flow_agent)
Your own site
<a href="https://agentmods.dev/agents/alation/alation-ai-agent-sdk/query_flow_agent"><img src="https://agentmods.dev/badge/agents/alation/alation-ai-agent-sdk/query_flow_agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 155 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00155
Opus 5 $0.00000 $0.00077
Sonnet 5 $0.00000 $0.00031
Haiku 4.5 $0.00000 $0.00015

Measured 5d ago against content hash 0f3f9ae0ae08, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

query_flow_agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

guides/agents/query_flow_agent.md · 19 lines

What it actually says

query_flow_agent

Query Flow Agent for data product query workflow management.

Functionality

This agent leverages existing data products to create, optimize, and execute data source queries. It is capable of SQL query planning & execution, but is also able to determine the appropriate data sources to used by understanding data products. This can be useful if the caller wants to query data, but does not know what low level tables or warehouses to use.

Input Parameters

  • message (required, str): Description of your query workflow needs.
  • chat_id (optional, uuid): An existing chat to use. If not provided, a new chat will be created.

Returns

  • Query workflow guidance, optimization suggestions, execution plans, and query output.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 19 lines · 0 tokens per session scan A 0f3f9ae0ae08

Subscribe to this mod's changes

query_flow_agent is an agent published in the GitHub repository Alation/alation-ai-agent-sdk (19 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 155 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

architecture

Read this guide when changing runtime wiring, MCP connections, HTTP routing, authentication, persistence, or database behavior. For the public runtime overview, see docs/development/architecture.mdx.

samanhappy/mcphub · 0 tokens

mie-builder

Generate or revise ONE MIE (Metadata Interoperability Exchange) YAML file for a single RDF database in TogoMCP, by following the mie-generator skill end to end against the live SPARQL endpoint. Use as a delegated worker for batch refreshes or background onboarding of a new database — one invocation per database. Not…

dbcls/togomcp · 117 tokens

timps_db_agent

DB Agent — schema design, query optimisation, and migration scripts. Given a description of your data model it produces: CREATE TABLE SQL, an ER diagram in Mermaid, index recommendations, a migration script (Alembic / Flyway / raw SQL), and query templates. Pairs with the sqlinjection LoRA for secure query generation.…

Sandeeprdy1729/timps-swarm · 99 tokens

database-administrator

Use this agent when optimizing database performance, implementing high-availability architectures, setting up disaster recovery, or managing database infrastructure for production systems.

alexmmatos/arthur-mcp · 31 tokens

sql-pro

Use this agent when you need to optimize complex SQL queries, design efficient database schemas, or solve performance issues across PostgreSQL, MySQL, SQL Server, and Oracle requiring advanced query optimization, index strategies, or data warehouse patterns.

alexmmatos/arthur-mcp · 49 tokens

bigquery-table-analyst

Use this agent when you need to explore BigQuery datasets, understand table structures, analyze data quality, or discover relationships between tables. Examples: (1) User asks 'What tables are available in the sales dataset?' - Use this agent to explore the dataset and provide detailed table analysis with schemas…

pvoo/bigquery-mcp · 145 tokens