import { agentops } from 'agentops';
import { Agent, run } from '@openai/agents';
await agentops.init();
const agent = new Agent({
name: 'Assistant',
instructions: 'You are a helpful assistant.'
});
const result = await run(agent, 'Hello, world!');
console.log(result.finalOutput);