AI Gateway Provider

Use AI Gateway with PraisonAI TypeScript

Diagram

Input

Agent

Output

AI Gateway Provider

Unified AI gateway access.

Environment Variables

bash
export AI_GATEWAY_API_KEY=...

Quick Start

  1. Simple Usage
    typescript
    import { Agent } from 'praisonai';
    
    const agent = new Agent({
      name: 'GatewayAgent',
      instructions: 'You are a helpful assistant.',
      llm: 'ai-gateway/model'
    });
  2. With Configuration

    Adjust provider credentials and model settings for production — see the sections above.

Related