Wrangler CLI adds AI Search command namespace for instance management
Key Points
- New wrangler ai-search command namespace with 7 management commands
- Interactive wizard and CLI flags for instance creation
- JSON output support for automation and scripting
Summary
Cloudflare has introduced a new wrangler ai-search command namespace that enables developers to create, manage, and query AI Search instances directly from the command line.
Key Points
- Complete instance lifecycle management - Seven new commands cover creation, listing, updating, deletion, and querying of AI Search instances
- Interactive and programmatic modes - The
createcommand offers an interactive wizard or flag-based options for automation - Multiple data source support - Instances can be configured with R2 buckets or web sources during creation
- Direct CLI querying - Run search queries against instances without leaving the terminal using
wrangler ai-search search - Structured output support - All commands support
--jsonflag for script and AI agent integration - Usage monitoring - Built-in statistics command provides usage insights for instances