Skip to Content
Helm

Introduction

What Helm provides and how the packages fit together.

Helm is a rules-based investment profiling and portfolio allocation engine. It evaluates applicant answers against a versioned model definition and returns a risk profile, score metadata, allocation map, and graph checksum for traceability.

The project is useful when you want a standard profiling flow that can still be customized at the question, scoring, band, override, and allocation level.

What it includes

  • A core TypeScript engine for embedded Node.js services.
  • A Hono REST adapter for service integration.
  • A CLI for JSON and CSV evaluation.
  • Batch evaluation for JSON and CSV inputs.
  • A sensible default investment profiling model.
  • Custom definition support for controlled model customization.
  • Expert support for custom JDM graphs that satisfy the Helm input and result contract.
  • Shared Zod schemas and TypeScript types.

Packages

PackagePurpose
@zagvar/helm-coreMain engine, default definition, compiler, CSV parser, batch evaluation.
@zagvar/helm-honoREST API adapter for Hono services.
@zagvar/helm-cliCommand-line evaluation and validation.
@zagvar/helm-typesShared Zod schemas and TypeScript types.

Default path

Use the default model when you want a ready-made profiling flow or a reference model for your own policy design. Use a custom definition when your questions, scoring, bands, overrides, or allocations need to match a specific business policy.

  1. Install the core package.
  2. Evaluate one applicant with the quickstart.
  3. Add batch evaluation for JSON or CSV inputs.
  4. Add the REST adapter if another service needs access.
  5. Introduce a custom definition or expert JDM graph when the model contract needs to change.

Install Helm, follow the quickstart, or try the demo to inspect the default and custom flows without writing code.

Last updated on

On this page