Helicone Observability

Use Helicone observability with PraisonAI TypeScript

Diagram

Input

Agent

Output

Helicone Observability

Environment Variables

bash
export HELICONE_API_KEY=...

Quick Start

  1. Simple Usage
    typescript
    import { Agent, setObservabilityAdapter } from 'praisonai';
    import { createObservabilityAdapter } from 'praisonai/observability';
    
    const obs = await createObservabilityAdapter('helicone');
    setObservabilityAdapter(obs);
    
    const agent = new Agent({
      name: 'TracedAgent',
      instructions: 'You are helpful.',
      llm: 'openai/gpt-4o-mini'
    });
    
    await agent.chat('Hello!');
    await obs.flush();
  2. With Configuration

    Adjust observability adapter options and agent settings for production — see the sections above.

Related