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
Complete TypeScript definitions for all API endpoints, requests, and responses.
Built-in retry logic with exponential backoff for transient failures.
Typed error classes for different HTTP status codes.
Configurable logging with support for custom loggers.
Access raw HTTP responses when needed.
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',
],
});Create tasks and automations, so you can focus on what matters most. Leave the repetitive work to Tembo.