Langflow Integration

AgentQL integrates with Langflow, allowing you to prototype agents with AgentQL and other tools rapidly.

Langflow is a visual builder that lets you drag-and-drop components to design workflows for sophisticated AI applications.

Set up AgentQL with Langflow

  1. Follow Langflow installation guide to get Langflow running locally.
  2. Run Langflow locally. On the dashboard, click "+ New Flow" and choose a template to create a new flow from or a blank flow.
  3. On the left sidebar under Components, search for AgentQL Query Data and drag the component into the flow.
  4. Generate your AgentQL API key on the dev portal, and add it to the "AgentQL API Key" field.

Once that's done you can start building your workflow with AgentQL!

Usage

You can switch on the AgentQL component's "Tool Mode" to turn it into a tool for an Agent component to extract data from web pages at its own discretion.

tip

Paste the contents of the Introduction AgentQL Query into the Agent component's Agent Instructions field. This teaches the Agent how to write its own queries!

Once you have completed your flow, use the "Playground" button to test it out.

Support

If you have any questions about using AgentQL with Langflow, you can join Langflow's Discord channel.

Examples