> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-sdk-testing-latest.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 theme={null}
import { addTraceProcessor } from '@openai/agents';
import { createOpenAIAgentsTracingProcessor } from 'weave';

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

#### Defined in

[integrations/openai.agent.ts:665](https://github.com/wandb/weave/blob/6538626556c93d6f31ae725fdefe4e6b8b71bc2c/sdks/node/src/integrations/openai.agent.ts#L665)

***
