Skip to content
Vector
Esc
↑↓navigate↵open⌘Jpreview

Install Vector in an ESM project

Add Vector to a Node.js 24 ESM project, then choose the package entrypoint for configuration building or behavioral evaluations.

Vector requires Node.js 24 or newer and an ESM project.

Add the configuration API to your project:

pnpm add @evilkiwi/vector

The package exposes two ESM entrypoints:

Import Use it for
@evilkiwi/vector Defining Vector Configurations and reusable extensions.
@evilkiwi/vector/evals Running a Vector Configuration through the OpenCode Harness.

Vector imports the OpenCode 2 types pinned by its package. When configuration code names host values, import the matching types instead of copying their shapes.

Continue with the Quickstart.