hot.dev/hot-ai — Dependency-free building blocks for AI agents: sessions, identities, messages, scoped memory, RAG, context management, and inter-agent communication.
"hot.dev/hot-ai": "1.3.0"
Add this to your deps in hot.hot
Namespaces
| Namespace | Functions | Types | Description |
::ai | 1 | — | AI types and utilities for Hot. |
| Namespace | Functions | Types | Description |
::bus | 8 | 2 | Typed inter-agent event bus. |
::chat | 22 | 10 | Provider-agnostic chat surface used by every `::ai::*` consumer. |
::context | 8 | — | Utilities for fitting content into AI context windows. |
::media | 12 | 6 | Types for AI-generated media files (images, audio, video). |
::memory | 18 | 2 | Session-scoped agent memory with three storage levels: session (shared conversation history), user (per-user persistent data), and KB (shared domain knowledge). |
::message | 9 | 4 | Normalized message types for AI agents. |
::rag | 13 | — | Retrieve-Augment-Generate: compose memory search with AI generation. |
::session | 5 | 2 | Session and Identity types for multi-tenant, multi-participant agents. |
::skill | 21 | 2 | Skills are LLM-judgment-routed prompt augmentations: named bundles |
::stream-labels | 1 | — | Canonical `data-type` labels used across `::ai::*` for |
::tokenizer | 9 | — | Accurate token counting for chat models, backed by `tiktoken-rs` |
::tool | 6 | 3 | Provider-agnostic Tool primitive shared across `::ai::chat`, |