API & SDK
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
Features
Fully Typed
Complete TypeScript definitions for all API endpoints, requests, and responses.
Auto Retries
Built-in retry logic with exponential backoff for transient failures.
Error Handling
Typed error classes for different HTTP status codes.
Logging
Configurable logging with support for custom loggers.
Raw Responses
Access raw HTTP responses when needed.
Quick Start
Create a client, authenticate with your API key, and start creating tasks programmatically.
Read the docsimport Tembo from '@tembo-io/sdk';
const client = new Tembo({
apiKey: 'My API Key',
});
const 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',
],
});Automate and log out.
Create tasks and automations, so you can focus on what matters most. Leave the repetitive work to Tembo.