open-index/open-npm huggingface dataset:
npm package: @sahab-platform/agents
Description: TypeScript SDK for the Sahab Agents API
Latest version: 1.0.0

# @sahab-platform/agents

TypeScript SDK for building voice AI agents powered by the Sahab platform.

## Installation

```bash
npm install @sahab-platform/agents
# or
bun add @sahab-platform/agents
# or
pnpm add @sahab-platform/agents
```

## Requirements

- Node.js >= 18
- A Sahab API key

## Quick start

```typescript
import { SahabAgents } from "@sahab-platform/agents";

const sahab = new SahabAgents({
  apiKey: process.env.SAHAB_API_KEY!,
  stt: {
    model: "deepgram/nova-3",
    apiKey: "",
  },
  tts: {
    model: "cartesia/sonic",
    apiKey: "",
  },
  llm: {
    model: "openai/gpt-4o",
    apiKey: "",
  },
});

await sahab.agents.initialize();
```

---

## STT models

| Provider   | Models                                                                                   |
| ---------- | ---------------------------------------------------------------------------------------- |
| Deepgram   | `deepgram/nova-3`, `deepgram/nova-3-medical`, `deepgram/nova-2`, `deepgram/flux-general` |
| Cartesia   | `cartesia/ink-whisper`                                                                   |
| AssemblyAI | `assemblyai/universal-streaming`, `assemblyai/universal-streaming-multilingual`          |
| ElevenLabs | `elevenlabs/scribe_v2_realtime`                                                          |

Supported languages: `multi`, `en`, `de`, `es`, `fr`, `ja`, `pt`, `zh`, `hi`

---

## TTS models

| Provider   | Models                                                                                            |
| ---------- | ------------------------------------------------------------------------------------------------- |
| Cartesia   | `cartesia/sonic-3`, `cartesia/sonic-2`, `cartesia/sonic-turbo`, `cartesia/sonic`                  |
| Deepgram   | `deepgram/aura`, `deepgram/aura-2`                                                                |
| ElevenLabs | `elevenlabs/eleven_flash_v2`, `elevenlabs/eleven_flash_v2_5`, `elevenlabs/eleven_multilingual_v2` |
| Rime       | `rime/arcana`, `rime/mistv2`                                                                      |
| Inworld    | `inworld/inworld-tts-1.5-max`, `inworld/inworld-tts-1.5-mini`, `inworld/inworld-tts-1-max`        |

---

## LLM models

| Provider | Models                                                                                         |
| -------- | ---------------------------------------------------------------------------------------------- |
| OpenAI   | `openai/gpt-4o`, `openai/gpt-4o-mini`, `openai/gpt-4.1`, `openai/gpt-4.1-mini`, `openai/gpt-5` |
| Google   | `google/gemini-2.5-pro`, `google/gemini-2.5-flash`, `google/gemini-2.0-flash`                  |
| DeepSeek | `deepseek-ai/deepseek-v3`, `deepseek-ai/deepseek-v3.2`                                         |
| Moonshot | `moonshotai/kimi-k2-instruct`                                                                  |

## License

MIT
npm package: @saharaai/devportal-sdk
Description: A TypeScript SDK for Sahara API
Latest version: 0.0.3

# @saharaai/devportal-sdk

## Overview

The `@saharaai/devportal-sdk` is a comprehensive TypeScript SDK for interacting with the Sahara AI platform. It provides a wide range of functionalities for managing various aspects of the platform, including API keys, applications, datasets, compute resources, payments, pipelines, tags, and vaults.

## Features

The SDK offers methods for:

1. API Key Management
2. Application Management
3. Dataset Management
4. Compute Management
5. Credits Management
6. Dashboard Operations
7. DataHub (Marketplace) Interactions
8. Payment Processing
9. Pipeline Management
10. Tag Management
11. Vault Operations

## Installation

```bash
npm install @saharaai/devportal-sdk
```

## Usage

```typescript
import { SaharaSDK } from "@saharaai/devportal-sdk";

const sdk = new SaharaSDK({
  url: "https://api.sahara.ai",
  apiKey: "your-api-key",
  secret: "your-secret-key",
});
```

## Examples

```typescript
// Get API Keys
const apiKeys = await sdk.getApiKeys();

// Create a new API Key
const newApiKey = await sdk.createApiKey({
  algorithm: "ED25519",
  apiName: "My New API Key",
  expiresAt: "2024-12-31T23:59:59Z",
  privateKey: "your-private-key",
  publicKey: "your-public-key",
  resourceIds: [1, 2, 3],
  signatureRequired: true,
  trustedIps: ["192.168.1.1"],
  type: "APPLICATION",
});
```