← all repositories

moeru-ai/xsai

A minimal TypeScript SDK providing OpenAI-compatible text generation and streaming utilities for web and agent applications.

638 stars TypeScript Language ModelsCoding Assistants
xsai
Not currently ranked — collecting fresh signals.
star history

xsAI is a lightweight AI SDK focused on small bundle size and cross-environment portability. It exposes OpenAI-compatible APIs for generating and streaming text, targeting browser, edge runtimes, and agent tooling use cases. The SDK avoids heavy abstractions in favor of a focused, minimal interface for applications that need basic LLM integration without full framework overhead.

Frequently asked

What is moeru-ai/xsai?
A minimal TypeScript SDK providing OpenAI-compatible text generation and streaming utilities for web and agent applications.
Is xsai open source?
Yes — moeru-ai/xsai is open source, released under the MIT license.
What language is xsai written in?
moeru-ai/xsai is primarily written in TypeScript.
How popular is xsai?
moeru-ai/xsai has 638 stars on GitHub.
Where can I find xsai?
moeru-ai/xsai is on GitHub at https://github.com/moeru-ai/xsai.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.