Ready-made tasks and shared services for AI jobs.
@metreeca/muse brings ready-made @metreeca/flow tasks for putting model work into a pipeline: prompting a model, extracting structure from free text, embedding content for retrieval. The tasks run under the @metreeca/gear job executor, which supplies the shared services they draw on.
Pipelines are server-side workloads targeting Node.js 22 or later, relying on facilities such
as the filesystem, the process environment and fetch. The packages are not intended for the browser.
npm install @metreeca/gear # job executor and shared services
npm install @metreeca/muse # model access contracts and shared services
npm install @metreeca/muse-<provider> # task package, one per model provider
TypeScript consumers must use "moduleResolution": "nodenext"/"node16"/"bundler" in tsconfig.json.
The legacy "node" resolver is not supported.
Install the core package, then add a task package for each model provider the pipeline reaches. Provider packages are self-contained leaves, each pulling in only the SDK its own provider needs. The job executor comes from @metreeca/gear, which the core package pulls in transitively; install it directly to set up and run a job.
| Package | Description |
|---|---|
| @metreeca/muse | AI tasks and shared services |
| @metreeca/muse-google | Google model connectors |
Each package documents its own API in its README and API reference; for complete coverage, see the API reference.
This project is licensed under the Apache 2.0 License – see LICENSE file for details.