Skip to content

Latest commit

 

History

History

README.md

Running the examples

Prerequisites

  • Node.js (v18 or higher)
  • npm (comes with Node.js)
  • OpenAI API key

Setup & Running

  1. Install dependencies:

    npm install
  2. Build the project:

    npm run build
  3. Set your OpenAI API key:

    export OPENAI_API_KEY='your_api_key'
  4. Run the examples with npx ts-node <example-file>.ts:

    npx ts-node examples/simple-agent.ts