import { Agent, setObservabilityAdapter } from 'praisonai';
import { LangSmithObservabilityAdapter } from 'praisonai/observability';
const obs = new LangSmithObservabilityAdapter();
await obs.initialize();
setObservabilityAdapter(obs);
const agent = new Agent({
name: 'TracedAgent',
instructions: 'You are helpful.',
llm: 'openai/gpt-4o-mini'
});
await agent.chat('Hello!');
await obs.flush();