open-index/open-npm huggingface dataset:
npm package: @kortyx/agent
Description: Agent composition utilities for Kortyx.
Author: Kortyx
Latest version: 0.9.0

# @kortyx/agent

Agent composition utilities for Kortyx.

## Install

```bash
npm install @kortyx/agent
```

## Documentation

This repo is under active development. For the latest package list and links, see the monorepo README:

- `README.md`

## License

Apache-2.0
npm package: @kortyx/core
Description: Core primitives and shared types for the Kortyx framework.
Author: Kortyx
Latest version: 0.5.0

# @kortyx/core

Core primitives and shared types for the Kortyx framework.

## Install

```bash
npm install @kortyx/core
```

## Documentation

This repo is under active development. For the latest package list and links, see the monorepo README:

- `README.md`

## License

Apache-2.0
npm package: @kortyx/google
Description: Google Gemini provider integration for Kortyx.
Author: Kortyx
Latest version: 0.2.2

# @kortyx/google

Google Gemini provider implementation for Kortyx.

## Install

```bash
npm install @kortyx/google
```

## Usage

```ts
import { createGoogleGenerativeAI } from "@kortyx/google";

export const google = createGoogleGenerativeAI({
  apiKey: process.env.GOOGLE_API_KEY,
});
```

## License

Apache-2.0
npm package: @kortyx/hooks
Description: Lifecycle hooks and extension points for Kortyx.
Author: Kortyx
Latest version: 0.8.0

# @kortyx/hooks

Lifecycle hooks and extension points for Kortyx.

## Install

```bash
npm install @kortyx/hooks
```

## Key APIs

- `useReason(...)` for model calls, optional schema-constrained interrupt flow, and structured output.
- `useInterrupt(...)` for explicit human-in-the-loop pauses.
- `useStructuredData(...)` for UI-friendly structured stream events.
- `useNodeState(...)` / `useWorkflowState(...)` for stateful node logic.

## Runtime Resume Behavior

On resume, the node function is replayed from the top.

- `useReason` resumes from its internal checkpoint.
- Code before `useReason` will re-run unless guarded.

Workarounds:

- Keep nodes minimal and call `useReason` first.
- Guard pre-`useReason` side effects with `useNodeState`.

## Documentation

- Runtime hooks: `apps/website/src/docs/v0/03-runtime/01-hooks.md`
- Interrupts/resume: `apps/website/src/docs/v0/03-runtime/02-interrupts-and-resume.md`

## License

Apache-2.0
npm package: @kortyx/providers
Description: Provider contracts and registry for Kortyx.
Author: Kortyx
Latest version: 0.3.2

# @kortyx/providers

Provider-agnostic registry and contracts for Kortyx model providers.

Install concrete provider implementations separately (for example `@kortyx/google`).

## Install

```bash
npm install @kortyx/providers
```

## Documentation

This repo is under active development. For the latest package list and links, see the monorepo README:

- `README.md`

## License

Apache-2.0
npm package: @kortyx/runtime
Description: Runtime/orchestration wiring for Kortyx.
Author: Kortyx
Latest version: 0.8.0

# @kortyx/runtime

Runtime/orchestration wiring for Kortyx.

## Install

```bash
npm install @kortyx/runtime
```

## Documentation

This repo is under active development. For the latest package list and links, see the monorepo README:

- `README.md`

## License

Apache-2.0
npm package: @kortyx/stream
Description: Streaming primitives for Kortyx.
Author: Kortyx
Latest version: 0.5.1

# @kortyx/stream

Streaming primitives for Kortyx.

## Install

```bash
npm install @kortyx/stream
```

## Documentation

This repo is under active development. For the latest package list and links, see the monorepo README:

- `README.md`

## License

Apache-2.0
npm package: @kortyx/utils
Description: Shared utilities for the Kortyx framework.
Author: Kortyx
Latest version: 0.2.5

# @kortyx/utils

Shared utilities for Kortyx.

## Install

```bash
npm install @kortyx/utils
```

## Documentation

This repo is under active development. For the latest package list and links, see the monorepo README:

- `README.md`

## License

Apache-2.0