← All features

SDK

Embed GNO directly

Import GNO into another Bun or TypeScript app. Open a store with inline config, run retrieval directly, and trigger update/index flows without CLI subprocesses or a local server. Full programmatic control.

Use cases
Embedding GNO into internal products
Custom automation on top of the local index
Tooling that should not shell out to the CLI

What it gives you

  • Package-root importable SDK
  • Inline config support (no YAML files needed)
  • Direct search, query, ask, and get APIs
  • Programmatic update, embed, and index flows
  • Explicit lifecycle via close()
  • Works in any Bun or TypeScript app

Try it yourself

Representative commands and entry points. Full reference lives in the documentation.

bun add @gmickel/gno
import { createGnoClient } from '@gmickel/gno'

Keep reading

Related features and docs.