Installation
Add @mozaik-ai/core to your project and configure provider credentials.
Package
Install the published core library:
npm install @mozaik-ai/coreyarn add @mozaik-ai/corepnpm add @mozaik-ai/coreThe npm package is scoped as @mozaik-ai/core. Latest features and API surface follow the development branch on GitHub; pin a version in production as you normally would.
Environment
For OpenAI-backed runs, set your API key (the library uses the ecosystem’s usual conventions via dependencies such as openai and dotenv):
# .env
OPENAI_API_KEY=your-openai-key-herePlace this in a .env file at your project root (or configure the environment in your host) so server-side code can read it securely. Do not commit secrets.
TypeScript
Mozaik is written in TypeScript. Ensure your tsconfig has moduleResolution appropriate for modern packages (e.g. "bundler" or "node16" / "nodenext") so imports resolve cleanly.