Getting started with PixieCore

This is the shortest supported learning path. It starts without provider credentials or network calls after installation, then leads to one independently tested Blueprint and an ordinary TypeScript application.

The commands below install the latest published npm package, currently 0.1.1. PixieCore 0.2.x is the latest version line and recommended for new projects; it is available from the 0.2.x source branch, but is not yet published on npm. The 0.2.x branch includes its own source installation steps.

Prerequisites are Node.js ^22.22.2 or >=24.15.0 and npm for source builds. Build the source branch, install that local package in a new project, and run the same offline Blueprint loop:

git clone --branch 0.2.x https://github.com/pixieworksinc/pixiecore.git
(cd pixiecore && npm ci && npm run build)
mkdir pixiecore-quickstart
cd pixiecore-quickstart
npm init -y
npm install ../pixiecore
./node_modules/.bin/pixiecore blueprint create ./blueprints/expense-category \
  --operation=classifier \
  --name='Expense category'
./node_modules/.bin/pixiecore blueprint validate \
  ./blueprints/expense-category/expense-category.yaml
./node_modules/.bin/pixiecore blueprint test ./blueprints/expense-category
./node_modules/.bin/pixiecore blueprint inspect \
  ./blueprints/expense-category/expense-category.yaml
./node_modules/.bin/pixiecore blueprint play \
  ./blueprints/expense-category/evaluations/expense-category.yaml \
  --case=canonical-example

The local package comes from the built 0.2.x checkout; it does not depend on the unpublished npm package line.

Five-minute quickstart with the latest published package (0.1.1)

Prerequisites are Node.js 22.13.0 or later and npm.

These are installed-runtime requirements. To build or contribute to the repository, use the separate development Node policy.

mkdir pixiecore-quickstart
cd pixiecore-quickstart
npm init -y
npm install @pixieworks/pixiecore
npx --package @pixieworks/pixiecore pixiecore blueprint create ./blueprints/expense-category \
  --operation=classifier \
  --name='Expense category'
npx --package @pixieworks/pixiecore pixiecore blueprint validate \
  ./blueprints/expense-category/expense-category.yaml
npx --package @pixieworks/pixiecore pixiecore blueprint test ./blueprints/expense-category
npx --package @pixieworks/pixiecore pixiecore blueprint inspect \
  ./blueprints/expense-category/expense-category.yaml
npx --package @pixieworks/pixiecore pixiecore blueprint play \
  ./blueprints/expense-category/evaluations/expense-category.yaml

The last four commands are offline. create produces one Blueprint, its policy README, a versioned evaluation dataset, and a public-API contract test. The default play mode runs one dataset case through the actual runtime pipeline with a deterministic fixture provider. It does not contact a model provider.

At this point you have verified the basic development loop:

declare contract -> validate -> test unit layout -> inspect -> replay one case

The generated content is deliberately incomplete product behavior. Do not publish it until its accepted domain, ambiguity policy, schemas, cases, and quality threshold describe a real operation.

Continue in one order

  1. Follow the 30-minute Blueprint tutorial to replace the scaffold with a bounded operation and execute its seeded offline test.
  2. Read the architecture guide before introducing application state, tools, custom plugins, or persistence.
  3. Use the migration guide when converting a large prompt, direct provider wrapper, agent graph, or workflow node.
  4. Consult Blueprint granularity and application composition for design review.
  5. Use evaluation, data policy, and the threat model before production deployment.

Real provider execution is intentionally a later step. Configure one provider using the provider guide, then run pixiecore execute or use PromptRuntime from application code. Provider credentials are never needed for the default repository or generated contract tests.