The API for engineering agents

Use Tembo as a tool call in your own agents and applications. Supported via fully-typed TypeScript SDK or MCP server.

Install the SDK

npm install @tembo-io/sdk

Everything you need to build on Tembo

Designed for production use with typed APIs, reliable infrastructure, and full control over agent execution.

Fully Typed

Type-safe TypeScript definitions for all API interactions.

Auto Retries

Built-in retry logic with exponential backoff for transient failures.

Logging

Configurable logging with custom logger support.

Raw Responses

Access raw HTTP responses when needed.

Error Handling

Typed error classes for different HTTP status codes.


Launch your first agent session

Create a client, connect your repositories, and start delegating engineering work through code.

import Tembo, { type Task } from '@tembo-io/sdk';

const client = new Tembo({
  apiKey: process.env.TEMBO_API_KEY!,
});

const task: Task = await client.task.create({
  branch: 'main',
  prompt: 'Fix the authentication bug in the login component',
  agent: 'claudeCode:claude-4-5-sonnet',
  repositories: [
    'https://github.com/tembo/website',
    'https://gitlab.com/tembo-io/docs',
  ],
});

Power internal tools

Build custom dashboards, workflows, and automation layers on top of Tembo.

Run agents on demand

Launch coding sessions from your product whenever users request changes.

Trigger fixes from alerts

Turn production alerts into automatically generated pull requests.

Work across repositories

Execute changes across multiple codebases from a single API call.