Package Overview

This page maps the current OSS packages in this monorepo.

  • Default: import from kortyx for app code
  • Use scoped packages only when you want lower-level control

Package map

PackagePurposeTypical consumers
kortyxbatteries-included facadeapplication code
@kortyx/agentchat orchestration (createAgent, processChat)app backend adapters
@kortyx/coreworkflow + node + state contractsworkflow authors, framework users
@kortyx/runtimegraph execution + registries + framework adaptersadvanced runtime integration
@kortyx/hooksnode hooks (useAiProvider, state hooks, interrupts)node authors
@kortyx/providersmodel/provider registry + Google providerruntime/provider wiring
@kortyx/memorybusiness memory adapter contract + in-memory adapterapp persistence integration
@kortyx/streamstream chunk types + SSE server/client helpersweb APIs + clients
@kortyx/utilsshared helpers (deepMergeWithArrayOverwrite, withRetries, contentToText)framework internals
@kortyx/cliCLI tooling (early stage)CLI users

Notes about current implementation

  • Providers: Google is wired; OpenAI/Anthropic are typed but not factory-enabled yet.
  • Memory adapters: in-memory is implemented; Redis/Postgres constructors exist but throw not implemented yet.
  • Stream structured-data schema currently has a built-in jobs discriminated type; apps may still emit custom structured payloads.