Installation is as simple as: npm install @instructor-ai/instructor openai zod Instructor-js has a few dependencies: openai: OpenAI's TypeScript / JavaScript library. zod: TypeScript-first schema validation with static type inference.