Welcome to Mentiora SDK
The Mentiora SDK provides official TypeScript and Python client libraries for integrating with the Mentiora platform.
What is Mentiora?
Mentiora is a platform for building, deploying, and observing AI agents. The SDK lets you:
- Run Agents — Execute AI agents hosted on the platform, with support for streaming and multi-turn conversations
- Trace — Send traces to the Mentiora platform for observability and debugging of your AI workflows
- Auto-instrument — Automatically capture traces from OpenAI and LangChain with drop-in plugins
- Stream to UIs — Use built-in SSE helpers to pipe agent responses to web frontends
Quick Start
- TypeScript
- Python
pnpm add @mentiora.ai/sdk
import { MentioraClient } from '@mentiora.ai/sdk';
const client = new MentioraClient({
apiKey: process.env.MENTIORA_API_KEY,
});
pip install "git+https://github.com/mentiora-ai/mentiora-sdk.git#subdirectory=python"
import os
from mentiora import MentioraClient, MentioraConfig
config = MentioraConfig(
api_key=os.getenv('MENTIORA_API_KEY'),
)
client = MentioraClient(config)
First time?
Start with Authentication to get your API key, then follow the Quick Start guide.
What's in the SDK?
| Feature | Description |
|---|---|
| Agents | Run and stream AI agents hosted on the Mentiora platform |
| Tracing | Send traces for observability and debugging |
| Plugins | Auto-trace OpenAI and LangChain calls with zero code changes |
| Streaming Helpers | SSE utilities for piping agent responses to web frontends |
Check out our example applications for complete, runnable code, or jump to the Usage guide.