Skip to main content

Together.ai Provider

Access open-source models via Together.ai.

Environment Variables

export TOGETHER_API_KEY=...

Supported Modalities

ModalitySupported
Text/Chat
Embeddings
Tools

Quick Start

import { Agent } from 'praisonai';

const agent = new Agent({
  name: 'TogetherAgent',
  instructions: 'You are a helpful assistant.',
  llm: 'togetherai/meta-llama/Llama-3-70b-chat-hf'
});

const response = await agent.chat('Hello!');