Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 514 Bytes

File metadata and controls

35 lines (23 loc) · 514 Bytes

Using a tool with Mastra AI and Nebius

A simple example showing how to use a tool.

Prerequisites

  • Node.js v20.0+
  • pnpm (recommended) or npm
  • Nebius AI Key

Getting Started

  1. Copy the environment variables file and add your OpenAI API key:

    cp .env.example .env

    Then edit .env and add your OpenAI API key:

    NEBIUS_API_KEY=your-api-key-here
  2. Install dependencies:

    pnpm install
    
  3. Run the example:

    pnpm start