Light Dark

hot.dev/hot-ai — Dependency-free building blocks for AI agents: sessions, identities, messages, scoped memory, RAG, context management, and inter-agent communication.

Version: 1.3.0

Author: Hot Dev

License: Apache-2.0

Add to your project

"hot.dev/hot-ai": "1.3.0"

Add this to your deps in hot.hot

Namespaces

NamespaceFunctionsTypesDescription
::ai1AI types and utilities for Hot.

::ai

NamespaceFunctionsTypesDescription
::bus82Typed inter-agent event bus.
::chat2210Provider-agnostic chat surface used by every `::ai::*` consumer.
::context8Utilities for fitting content into AI context windows.
::media126Types for AI-generated media files (images, audio, video).
::memory182Session-scoped agent memory with three storage levels: session (shared conversation history), user (per-user persistent data), and KB (shared domain knowledge).
::message94Normalized message types for AI agents.
::rag13Retrieve-Augment-Generate: compose memory search with AI generation.
::session52Session and Identity types for multi-tenant, multi-participant agents.
::skill212Skills are LLM-judgment-routed prompt augmentations: named bundles
::stream-labels1Canonical `data-type` labels used across `::ai::*` for
::tokenizer9Accurate token counting for chat models, backed by `tiktoken-rs`
::tool63Provider-agnostic Tool primitive shared across `::ai::chat`,