Ivy Kit (v0.0.25, pre-release, monthly updates) is a CLI migrator tool for Ivy ORM, a fully type-safe ORM for Azure AI Search. It manages Azure AI Search data plane operations—creating, updating, and deploying indexes and indexers—through declarative schema migrations. Unlike generic tools, it integrates tightly with Ivy ORM's TypeScript type system, ensuring schema definitions are type-checked and automatically synced. Ivy Kit handles index lifecycle, validates schema changes against production indexes, and supports rollbacks. It is designed for TypeScript projects using Azure AI Search, with a focus on developer experience and safety.
npm install ivy-kitNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to define a schema with ivy-orm and use ivy-kit CLI to generate and apply migrations to Azure AI Search.
Pin exact versions in package.json: 'ivy-kit': '0.0.25', 'ivy-orm': '0.0.x'
Regenerate migrations after upgrading ivy-kit. Delete old migration files and run 'npx ivy-kit generate' again.
Replace 'npx ivy-kit apply --dry-run' with 'npx ivy-kit apply --validate'
Set env vars in .env file or shell. Ensure AZURE_SEARCH_ENDPOINT includes https:// and no trailing slash.
Update indexer schemas in ivy-orm to include parameters object. Refer to documentation: https://github.com/ihusemann/ivy-orm#indexer
Run: npm install ivy-orm
Set AZURE_SEARCH_API_KEY in your environment or .env file.
Add a field with key: true in your schema definition.
Use: npx ivy-kit apply --force (be careful as it may overwrite indexes).