Documentation Index
Fetch the complete documentation index at: https://mintlify.com/withastro/flue/llms.txt
Use this file to discover all available pages before exploring further.
flue add fetches connector installation instructions from the Flue registry and routes them to the right place. When run by an AI coding agent, it prints the connector markdown to stdout for the agent to read and execute. When run by a human in a terminal, it shows a short recipe to pipe to an agent.
Usage
Flags
Connector slug (e.g.
daytona, e2b) or a provider docs URL (when used with --category).Connector category (e.g.
sandbox). Use this alongside a URL positional argument to build a connector from scratch using the provider’s own documentation as the agent’s starting point.Requires a URL or path argument — the URL is substituted into the category’s generic instructions.Always print the raw connector markdown to stdout, regardless of whether the caller is an AI agent. Useful when you want to inspect the instructions or pipe them manually.
How it works
flue add behaves differently depending on who is running it:
Run by a human in a terminal
Run by a human in a terminal
Prints a short recipe to stderr showing how to pipe the connector to your agent:
Run by an AI coding agent
Run by an AI coding agent
Detected automatically via
@vercel/detect-agent. When an agent is the caller, flue add prints the connector markdown directly to stdout for the agent to read and execute — no extra flags needed.Run with --print
Run with --print
Always prints the connector markdown to stdout, regardless of caller. Use this to inspect the instructions or pipe them manually from a human terminal session.
Listing available connectors
Runflue add with no arguments to see the full list of available connectors:
Building a connector from scratch
If the connector you need is not listed, you can build one from scratch by pointing the agent at the provider’s documentation:--category flag fetches the generic instructions for that category type and substitutes your URL as the provider’s starting point. Your coding agent reads the instructions and writes a small TypeScript adapter into your project.
Examples
Connector registry
Named connectors are fetched fromhttps://flueframework.com/cli/connectors/<slug>.md. The connector markdown contains instructions that your AI coding agent follows to write a small TypeScript adapter — typically at .flue/connectors/<name>.ts or connectors/<name>.ts — into your project.