What problem does it solve?
Provide a unified API surface for advanced AI capabilities including LLM calls, tool definitions, MCP servers, streaming, memory management, and context management.
Core Features & Use Cases
- Unified API surface across modules (llm, tools, memory, embedding, knowledge, reasoning, a2a) to simplify integration.
- Tool registry and MCP server support for tool calls, resources, prompts, and streaming workflows.
- Real-time streaming processing and memory-injected context improvements for responsive AI apps.
- Knowledge base ingestion, RAG workflows and entity-enhanced retrieval for informed responses.
- Context management with compression, persistence, and cross-session memory handling, compatible with Node.js and browsers.
Quick Start
Install the @h-ai/ai package and initialize a context-managed chat workflow to experience memory, compression, and knowledge features.