Consuming the packages
Genie’s packages are published to GitHub Packages under the orbyntech org, next to
the orbyntech/genie-releases repository (npm scope: @orbyntech). This page covers
installing and authenticating them from a consuming project. For what each package does, see
The three packages; for wiring them into an app, see
Integration.
Packages
Section titled “Packages”| Package | Type | Registry |
|---|---|---|
Genie.Source |
NuGet (netstandard2.0) | GitHub Packages (NuGet) |
Genie.Engine |
NuGet (net10.0) | GitHub Packages (NuGet) |
Genie.Engine.Assistant |
NuGet (net10.0), optional | GitHub Packages (NuGet) |
@genie/genie-engine-ui |
npm (React 19 + TS) | GitHub Packages (npm), published as @orbyntech/genie-engine-ui |
@genie/genie-player |
npm (React 19 + TS), optional | GitHub Packages (npm), published as @orbyntech/genie-player |
Genie.Engine depends on Genie.Source, so consuming Genie.Engine pulls Genie.Source from the
same feed automatically. Genie.Engine.Assistant is the optional AI assistant add-on; it depends on
Genie.Engine and is only needed by hosts that turn the Assistant on.
Consuming the NuGet packages (Genie.Engine / Genie.Source)
Section titled “Consuming the NuGet packages (Genie.Engine / Genie.Source)”Add a nuget.config to the consuming repo root that maps the Genie.* packages to the
orbyntech GitHub Packages feed while leaving everything else on nuget.org:
<?xml version="1.0" encoding="utf-8"?><configuration> <packageSources> <clear /> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> <add key="github" value="https://nuget.pkg.github.com/orbyntech/index.json" /> </packageSources> <packageSourceMapping> <packageSource key="nuget.org"><package pattern="*" /></packageSource> <packageSource key="github"><package pattern="Genie.*" /></packageSource> </packageSourceMapping></configuration>Authenticate the github source — don’t commit credentials; use an environment variable or
dotnet nuget add source:
dotnet nuget add source "https://nuget.pkg.github.com/orbyntech/index.json" \ --name github --username <github-user> --password <PAT_with_read:packages> \ --store-password-in-clear-textThen add the package (Genie.Source comes transitively):
dotnet add package Genie.Engine --version 0.1.0dotnet add package Genie.Engine.Assistant --version 0.1.0 # optional: the AI assistantConsuming the npm packages (@genie/genie-engine-ui)
Section titled “Consuming the npm packages (@genie/genie-engine-ui)”Add an .npmrc to the consuming project that points the @orbyntech scope at GitHub Packages and
reads the token from NODE_AUTH_TOKEN:
@orbyntech:registry=https://npm.pkg.github.com//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}Set the token (locally export NODE_AUTH_TOKEN=<PAT>; in CI use secrets.GITHUB_TOKEN or a
read:packages PAT secret), then install:
npm install @genie/genie-engine-ui@npm:@orbyntech/genie-engine-ui react react-domnpm install @genie/genie-player@npm:@orbyntech/genie-player # optional: the offline PlayerThe packages are installed under the generic name @genie/... (an npm alias). Code always imports
@genie/genie-engine-ui, whichever org hosts the packages, and genie-player expects that name for its
peer dependency, so the alias is required when you use the Player.
react / react-dom (18 or 19) are peer dependencies — install them in the host app.
Use it:
import { createGenieApp } from "@genie/genie-engine-ui";import "@genie/genie-engine-ui/styles.css";
createGenieApp({ /* apiBase, theme, auth, ... */ });In CI (GitHub Actions) for the consumer:
- uses: actions/setup-node@v4 with: { node-version: "22", registry-url: "https://npm.pkg.github.com" }- run: npm ci env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # or a read:packages PAT secretTroubleshooting
Section titled “Troubleshooting”| Symptom | Cause / fix |
|---|---|
Consumer 401 / 403 on install or restore |
Missing or expired token, the token lacks read:packages, or the package hasn’t been granted to that repo. |
npm install 404 for @orbyntech/genie-engine-ui |
The @orbyntech scope isn’t mapped to https://npm.pkg.github.com in .npmrc, or the registry line is missing. |
NuGet restore can’t find Genie.* |
nuget.config is missing the github source or the packageSourceMapping entry that routes Genie.* to it. |
Cannot find module '@genie/genie-engine-ui' |
The package was installed under its registry name. Install it with the @genie/...@npm: alias shown above. |
react / react-dom unresolved |
They’re peer dependencies — install them explicitly in the host app. |
| Fonts blocked / not rendering under a strict CSP | Add data: to font-src (the stylesheet inlines its font as data: URIs). |
Where releases come from
Section titled “Where releases come from”All builds are published to the private orbyntech/genie-releases repository: NuGet and npm packages,
GenieClient and the docs image. Read access to that repository, plus one classic PAT named genie-read with repo and
read:packages, covers all of them. Its README has the full setup. Create that PAT only on an account that
cannot see the Genie source or other private repositories.
Copyright © 2026 Orbyn Technologies. All rights reserved.