What are packages?
A package is ready-to-use code that connects your project to the Mibyan API. It handles common integration work so you can start with a few lines of code instead of building API requests, streaming, and error handling from scratch. If you only use the Mibyan product, you do not need to install a package. These packages are for developers adding Mibyan to an application, website, or tool.Which package should I use?
Not sure? Start with
@mibyan/sdk.
JavaScript and TypeScript
This is the recommended starting point for most developers.stream: true and iterate over the returned async iterable.
React
Use@mibyan/react for React chat experiences with message, input, loading, error, and streaming state ready to use.
useMibyanChat example. Keep API keys on your server, not in browser code.
Python
The Python SDK is ready in this repository and will be published to PyPI soon. For now, install it locally:MCP
mibyan_chat tool over MCP stdio. See authentication for key management.
How it fits together
- Create an API key in Mibyan Platform.
- Install the package that fits your project.
- Pass the key to the package and call
mibyan-4.1. - Use the returned text or stream in your application.