> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-update-reference-docs-58.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# createOpenAIAgentsTracingProcessor

> TypeScript SDK reference

# createOpenAIAgentsTracingProcessor

▸ **createOpenAIAgentsTracingProcessor**(): `TracingProcessor`

Create a new Weave tracing processor for OpenAI Agents.

#### Returns

`TracingProcessor`

A TracingProcessor instance that can be registered with OpenAI Agents

`Example`

```typescript twoslash theme={null}
// @noErrors
import { addTraceProcessor } from '@openai/agents';
import { createOpenAIAgentsTracingProcessor } from 'weave';

const processor = createOpenAIAgentsTracingProcessor();
addTraceProcessor(processor);
```

#### Defined in

[src/integrations/openai.agent.ts:102](https://github.com/wandb/weave/blob/2648412ec050240bcd227e6f2469daaa11d0b598/sdks/node/src/integrations/openai.agent.ts#L102)

***
