AI SDK CLI
AI SDK CLI
The AI SDK CLI is a command-line tool for interacting with AI models directly from your terminal. Generate text, attach files, and stream responses using a simple command-line interface.
npx ai@beta 'Hello, world!'
Getting Started
To start using the AI SDK CLI, you'll need to set up authentication and learn the basic usage patterns: