Replicate Provider
Use Replicate with PraisonAI TypeScript
Replicate Provider
Run open-source models on Replicate.
Environment Variables
export REPLICATE_API_TOKEN=...Quick Start
- Simple Usage
typescript import { Agent } from 'praisonai'; const agent = new Agent({ name: 'ReplicateAgent', instructions: 'You are a helpful assistant.', llm: 'replicate/meta/llama-2-70b-chat' }); const response = await agent.chat('Hello!'); - With Configuration
Adjust provider credentials and model settings for production — see the sections above.