---
name: mastra-openai
description: Documentation for @mastra/openai. Use when working with @mastra/openai APIs, configuration, or implementation.
metadata:
  package: "@mastra/openai"
  version: "1.1.0"
---

## When to use

Use this skill whenever you are working with @mastra/openai to obtain the domain-specific knowledge.

## How to use

Read the individual reference documents for detailed explanations and code examples.

### Docs

- [SDK agents](references/docs-agents-sdk-agents.md) - Use Claude Agent SDK, Cursor Agent SDK, and OpenAI Agents SDK agents from Mastra.
- [Memory processors](references/docs-memory-memory-processors.md) - Learn how to use memory processors in Mastra to filter, trim, and transform messages before they're sent to the language model to manage context window limits.


Read [assets/SOURCE_MAP.json](assets/SOURCE_MAP.json) for source code references.