What problem does it solve?
hai-ai consolidates LLM calling, MCP server creation, tool registration, streaming, memory management, and context handling to deliver end-to-end AI-powered workflows with consistent APIs and safer error handling.
Core Features & Use Cases
- Unified LLM interactions (chat and chatStream) with optional tool integration and registry-driven tool calls.
- MCP server support for streaming HTTP/SSE/Stdio, resource registration, and prompt management.
- Memory management with object isolation and session persistence across conversations, enabling context-aware experiences.
- Context compression and integration with vector stores for scalable, long-running sessions.
- Suitable for AI assistants, enterprise chatbots, and knowledge-intensive apps needing reliable AI orchestration.
Quick Start
Configure hai-ai in your app and start an AI-enabled workflow that uses LLMs, tools and memory to manage conversations.