- Creating multi-stage tools that needs to be retried until they complete.
- Data ingestion worklfow APIs.
- Scale out processing using distributed map and reduce.
- Tensorlake functions are a unit of compute which is executed in a sandbox and retried based on a user provided retry policy.
-
Functions decorated with
@applicationsbecomes callable from external systems and exposed as HTTP APIs. - Function calls are automatically queued durably when they are called when there is not enough compute to handle the requests.
- Each function’s inputs and outputs are check-pointed durably so they can be retried.
- Every function can have different resource asks, making it possible to allocate more resources to functions which are more compute or memory intensive.
Quickstart
Let’s build a simple application that greets a user by name.Get an API Key
You can get an API key from the Tensorlake Dashboard.
Create an application
Applications are defined by Python functions. Let’s start with a template, that greets a user by name.This creates a file named
hello_world/hello_world.py with the following content:hello_world.py
Invoke Orchestrate Functions
Orchestrate endpoints can be invoked using HTTP requests or the Python SDK.HTTP Endpoint
Make a request
Check progress
Requests may run seconds to hours depending on your workload.The
outcome field will be success or failure depending on whether the request completed successfully. It will be null if the request is still in progress.Testing Locally
Tensorlake Applications can run locally on your laptop. You can run them like regular python scripts.hello_world.py
Examples
Deep Research Agent
Multi-agent research pipeline with parallel web search and report synthesis using OpenAI Agents SDK.
Code Interpreter
Execute LLM-generated code safely in isolated containers with data science libraries.
Agent with Tool Calling
Claude agentic loop that chains tool calls, each running in its own isolated container.
Personal Finance Manager
Parse bank statements, categorize transactions, and answer spending questions with Claude.
Web Scraper
Serverless web crawler that scrapes websites N levels deep using headless Chrome.
Weather Agent
Conversational weather agent powered by Claude, deployed as an HTTP API.
Next Steps
Deploy Your First Agent
Follow our quick start guide to build and deploy a serverless agentic code interpreter in under 5 minutes.