> ## Documentation Index
> Fetch the complete documentation index at: https://www.edgee.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# TypeScript SDK

> Integrate the TypeScript SDK in your application.

The Edgee TypeScript SDK provides a lightweight, type-safe interface to interact with the Edgee AI Gateway. It supports OpenAI-compatible chat completions, function calling, and streaming.

## Installation

```bash theme={"dark"}
npm install edgee
```

## Quick Start

```typescript theme={"dark"}
import Edgee from 'edgee';

// Create client
const edgee = new Edgee("your-api-key");

// Send a simple request
const response = await edgee.send({
  model: 'gpt-5.2',
  input: 'What is the capital of France?',
});

// Access the response
console.log(response.text);
// "The capital of France is Paris."
```

## What's Next?

* **[Configuration](/sdk/typescript/configuration)** - Learn how to configure and instantiate the SDK
* **[Send Method](/sdk/typescript/send)** - Complete guide to the `send()` method
* **[Stream Method](/sdk/typescript/stream)** - Learn how to stream responses
* **[Tools](/sdk/typescript/tools)** - Detailed guide to function calling
