> ## 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.

# Go SDK

> Integrate the Go SDK in your application.

The Edgee Go 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"}
go get github.com/edgee-ai/go-sdk
```

## Quick Start

```go theme={"dark"}
package main

import (
    "fmt"
    "log"
    "github.com/edgee-ai/go-sdk/edgee"
)

func main() {
    client, _ := edgee.NewClient("your-api-key")

    response, err := client.Send("gpt-5.2", "What is the capital of France?")
    if err != nil {
        log.Fatal(err)
    }

    fmt.Println(response.Text())
    // "The capital of France is Paris."
}
```

## What's Next?

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