#121 · Primary category: LLM Application Frameworks

xsai

ai ollama openai typescript xsai

🤖💬 extra-small AI SDK.

Project last updated:08/29/26

GitHub Stars

650

Forks

59

Contributors

29

License

MIT

Why we included this project

If you've reached for the Vercel AI SDK and wished it shipped with less baggage, xsAI is worth a look. It's a TypeScript library that talks to any OpenAI-compatible endpoint, whether that's OpenAI itself, Ollama, or a local gateway, through a focused set of utilities for generating text, streaming responses, and structured output. The project keeps its footprint small by building directly on the Fetch API, staying ESM-only, and avoiding dependencies unless they're strictly required, which makes it a practical choice for edge functions and browser bundles. Tool calling is supported out of the box, so you can wire up agents that invoke functions without pulling in a heavier framework. Teams that want a portable foundation for OpenAI-compatible apps rather than a full application framework will find the trade-offs clearly documented.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category