Groq Provider

Use Groq inference with PraisonAI TypeScript

Diagram

Input

Agent

Output

Groq Provider

Ultra-fast inference with Groq’s LPU technology.

Environment Variables

bash
export GROQ_API_KEY=gsk_...

Supported Modalities

ModalitySupported
Text/Chat✅
Tools✅

Quick Start

  1. Simple Usage
    typescript
    import { Agent } from 'praisonai';
    
    const agent = new Agent({
      name: 'GroqAgent',
      instructions: 'You are a helpful assistant.',
      llm: 'groq/llama-3.3-70b-versatile'
    });
    
    const response = await agent.chat('Hello!');
  2. With Configuration

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

Available Models

ModelDescription
llama-3.3-70b-versatileLlama 3.3 70B
mixtral-8x7b-32768Mixtral 8x7B
gemma2-9b-itGemma 2 9B

Related