Package Overview
This page maps the current OSS packages in this monorepo.
Recommended import strategy
- Default: import from
kortyxfor app code - Use scoped packages only when you want lower-level control
Package map
| Package | Purpose | Typical consumers |
|---|---|---|
kortyx | batteries-included facade | application code |
@kortyx/agent | chat orchestration (createAgent, processChat) | app backend adapters |
@kortyx/core | workflow + node + state contracts | workflow authors, framework users |
@kortyx/runtime | graph execution + registries + framework adapters | advanced runtime integration |
@kortyx/hooks | node hooks (useAiProvider, state hooks, interrupts) | node authors |
@kortyx/providers | model/provider registry + Google provider | runtime/provider wiring |
@kortyx/memory | business memory adapter contract + in-memory adapter | app persistence integration |
@kortyx/stream | stream chunk types + SSE server/client helpers | web APIs + clients |
@kortyx/utils | shared helpers (deepMergeWithArrayOverwrite, withRetries, contentToText) | framework internals |
@kortyx/cli | CLI 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
jobsdiscriminated type; apps may still emit custom structured payloads.