hot.dev/hot-ai — Dependency-free building blocks for AI agents: sessions, identities, messages, scoped memory, RAG, context management, and inter-agent communication.
Add to your project
"hot.dev/hot-ai": "1.2.0"
Add this to your deps in hot.hot
Namespaces
::ai
| Namespace | Functions | Types | Description |
|---|---|---|---|
::bus | 4 | 2 | Typed inter-agent event bus. |
::chat | 2 | 2 | Model registry and chat helpers. |
::context | 7 | — | Utilities for fitting content into AI context windows. |
::media | 8 | 6 | Types for AI-generated media files (images, audio, video). |
::memory | 13 | 2 | Session-scoped agent memory with three storage levels: session (shared conversation history), user (per-user persistent data), and KB (shared domain knowledge). |
::message | 5 | 4 | Normalized message types for AI agents. |
::rag | 8 | — | Retrieve-Augment-Generate: compose memory search with AI generation. |
::session | 3 | 2 | Session and Identity types for multi-tenant, multi-participant agents. |