Skip to main content
Edgee provides official SDKs for TypeScript, Python, Go, and Rust. All SDKs offer a consistent, type-safe interface to interact with the Edgee AI Gateway, supporting OpenAI-compatible chat completions and function calling.

Quick Start

Choose your language and get started in minutes:
npm install edgee
import Edgee from 'edgee';

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

const response = await edgee.send({
  model: 'gpt-4o',
  input: 'What is the capital of France?',
});

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

Available SDKs

All SDKs provide consistent functionality:
  • OpenAI-compatible API: Use familiar patterns across all languages
  • Function Calling: Full support for tool/function calling
  • Type Safety: Strong typing and autocomplete support
  • Error Handling: Comprehensive error handling and validation
  • Environment Variables: Support for EDGEE_API_KEY
  • Token Usage: Access to prompt, completion, and total token counts
To learn more about the SDKs, see the individual SDK pages: