Skip to content

Installation

Graphorin is published as a set of focused packages on the npm registry under the @graphorin/* scope. Packages are released lockstep at the same version while the framework is on the 0.x line.

Status

The published @graphorin/* packages land on the npm registry as each implementation phase completes. Watch the repository releases for availability.

Prerequisites

  • Node.js 22.x LTS or newer (the project pins >=22.0.0).
  • A package manager — pnpm is the project default; npm and yarn work too for consumers of the published packages.
  • ESM-only modules. Your project must be "type": "module" (or use .mjs files) — Graphorin ships ESM.

Quickest install (memory-backed local assistant)

Most assistants will need at minimum: the agent runtime, the memory facade, a provider, and a storage adapter.

bash
pnpm add @graphorin/agent @graphorin/memory @graphorin/provider \
        @graphorin/store-sqlite @graphorin/embedder-transformersjs \
        zod
bash
npm install @graphorin/agent @graphorin/memory @graphorin/provider \
            @graphorin/store-sqlite @graphorin/embedder-transformersjs \
            zod
bash
yarn add @graphorin/agent @graphorin/memory @graphorin/provider \
        @graphorin/store-sqlite @graphorin/embedder-transformersjs \
        zod

zod is a non-optional peer dependency of every @graphorin/* package that touches a public schema. Bring whichever Zod version your application already uses (^3.23 or ^4).

What each package does

See the Packages reference for the full list and one-line summaries. The most common starting set:

PackageRole
@graphorin/coreType system + cross-package contracts. Pulled in transitively.
@graphorin/agentAgent runtime — the typed model -> tool calls -> model loop.
@graphorin/memorySix-tier memory system with the consolidation pipeline.
@graphorin/providerProvider interface + adapters (Vercel AI SDK, Ollama, OpenAI-compatible, llama.cpp HTTP).
@graphorin/store-sqliteDefault storage adapter on top of better-sqlite3 + sqlite-vec + FTS5.
@graphorin/embedder-transformersjsDefault in-process multilingual embedder.

Optional add-ons

Add these as the assistant grows:

PackageWhen to add it
@graphorin/sessionsMulti-agent attribution, JSONL export, session replay.
@graphorin/workflowDurable HITL workflows that survive process restarts.
@graphorin/toolsCustom typed tools beyond the nine memory tools.
@graphorin/skillsLoad skills from disk, npm packages, or Git repositories.
@graphorin/mcpTalk to Model Context Protocol servers over stdio or Streamable HTTP.
@graphorin/securitySecrets (SecretValue, SecretRef), audit log, sandbox, OAuth.
@graphorin/observabilityOpenTelemetry tracing + redaction.
@graphorin/server + @graphorin/cliRun Graphorin as a daemon with REST + WebSocket.
@graphorin/embedder-ollamaFirst-class opt-in alternative embedder backed by an Ollama daemon.
@graphorin/provider-llamacpp-nodeIn-process GGUF execution via node-llama-cpp.
@graphorin/store-sqlite-encryptedSQLCipher v4 encryption-at-rest.
@graphorin/secret-1passwordOptional reference adapter for the 1Password CLI.
@graphorin/eslint-pluginESLint rules for projects that build on Graphorin.

Verifying the install

Once installed, the Quickstart walks you through a 20-line script that creates a memory-backed agent, streams tokens, and persists facts to local SQLite.

From source

For framework contributors:

bash
git clone https://github.com/o-stepper/graphorin.git
cd graphorin
corepack enable
pnpm install --frozen-lockfile
pnpm -r build
pnpm -r test

See the Contributing guide for the full development workflow.


Graphorin · v0.1.0 · MIT License · © 2026 Oleksiy Stepurenko