Skip to main content

Cohere Provider

Use Cohere’s Command models and embeddings.

Environment Variables

export COHERE_API_KEY=...

Supported Modalities

ModalitySupported
Text/Chat
Embeddings
Tools

Quick Start

import { Agent } from 'praisonai';

const agent = new Agent({
  name: 'CohereAgent',
  instructions: 'You are a helpful assistant.',
  llm: 'cohere/command-r-plus'
});

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