Skip to main content

Overview

Agno is an open-source Python framework for building agents, teams, and workflows. Connect it to Perplexity’s Agent API through Agno’s OpenAI Responses-compatible model class.

Installation

API Key Setup

Set your Perplexity API key as an environment variable:

Get API Key

Generate your Perplexity API key from the API portal.

Quick Start

Use OpenAIResponses with the Agent API base URL and any supported Agent API model. Pass a research preset through extra_body so answers are grounded in live web results:
Swap id for any Agent API model to route third-party models through Perplexity. The Agent API also provides research-backed presets and additional built-in tools.

Agno OpenAIResponses Docs

Configure Agno’s OpenAI Responses-compatible model.

Agent API Models

Browse supported models and pricing.

Agno Docs

Learn more about agents, teams, and workflows in Agno.