# AI Gateway

These instructions apply to the legacy Admin Console.

AI Gateway nodes let you call AI providers from the Flow Editor using a consistent input/output format. These nodes work with [AI Routes](https://docs.contextual.io/legacy/components-and-data/ai-routes.md) and [AI Connections](https://docs.contextual.io/legacy/components-and-data/connections/types-of-connections/ai-connections.md) to manage providers, models, and failover.

## Where to Find These Nodes

In the Flow Editor, within the left palette under **AI Gateway** category.

## Node Reference

* [AI Generate](https://docs.contextual.io/legacy/components-and-data/flows/node-reference/ai-gateway/ai-generate.md) - Send requests to AI Gateway and receive structured responses.
* [AI Tool](https://docs.contextual.io/legacy/components-and-data/flows/node-reference/ai-gateway/ai-tool.md) - Define a tool that the model can call from AI Generate.
* [AI Tool Response](https://docs.contextual.io/legacy/components-and-data/flows/node-reference/ai-gateway/ai-tool-response.md) - Return tool results back into the AI Generate request.

## Features

* [Web Search](https://docs.contextual.io/legacy/components-and-data/flows/node-reference/ai-gateway/web-search.md) - Run a provider's native web search from AI Generate using the `providerTools` input.
