Skip to main content

SDK Overview

AgentGate provides official SDKs to simplify integration.

Available SDKs

Why Use an SDK?

SDKs provide advantages over direct HTTP calls:
FeatureSDKHTTP
Type safetyFull typesManual
Error handlingTyped errorsParse JSON
RetriesBuilt-inManual
Rate limitingAutomaticManual
PaginationHelper methodsManual

Quick Comparison

import { AgentGate } from '@agentgate/sdk';

const client = new AgentGate({
  apiKey: process.env.AGENTGATE_API_KEY
});

const workOrder = await client.workOrders.create({
  taskPrompt: "Add error handling",
  workspaceSource: {
    type: "git",
    repository: "https://github.com/org/repo"
  }
});

REST API

If there’s no SDK for your language, use the REST API directly:

Community SDKs

Community-maintained SDKs may be available for other languages. These are not officially supported by AgentGate.
Community SDKs may not be up to date with the latest API changes.