Create a Mastra agent with tools, register it in a Mastra instance, and call it with generate() or stream().
The mastra-agent-basic pattern demo is being prepared.
Download the pattern to try it with your API key
Adapt this pattern for your specific use case and requirements.
Use this pattern to learn AI SDK concepts and prototype new ideas.