Python, Go, Node.js, Rust
Name a runtime and point at a handler file. When the language you want is not one of them, bring a container you built yourself and deploy that instead.
01 / 06
export async function handler(req, res) {
// Process incoming data
const { data } = await req.json();
const result = await processData(data);
// Return JSON response
return Response.json({
success: true,
data: result
})
}
What you get
Name a runtime and point at a handler file. When the language you want is not one of them, bring a container you built yourself and deploy that instead.
01 / 06
Pools are prewarmed, so a function is not booting on the request that needed it. Scale to zero is still the default when nothing is calling.
02 / 06
Pools are prewarmed
Scale to zero
Install it with Helm into Kubernetes you already run. Functions are ordinary workloads there, so quotas, node pools and network policy keep meaning what they meant.
03 / 06
Functions are ordinary workloads there
A function can request an NVIDIA GPU and be scheduled onto a node that has one. That is what lets model work be a function instead of a service somebody has to keep alive.
04 / 06
An HTTP route, a cron schedule, a Kafka topic, a RabbitMQ queue. The trigger is its own object, so the same handler can answer to several without knowing about any of them.
05 / 06
Blue/green and canary between versions of a function, so backing out a bad deploy is a traffic decision rather than another build.
06 / 06
Hanzo Functions powers a wide range of serverless applications
Build complete REST or GraphQL APIs with automatic scaling and no server management.
Process events in real-time with automatic scaling for traffic spikes.
Deploy machine learning models for inference with built-in GPU acceleration.
Run tasks on a schedule without maintaining a dedicated server.
Serverless functions
Paste and ship
Paste this into any agent. It reads the skill manifest and calls Functions from there.
api/v1/function
Read https://hanzo.ai/skill.md and use Hanzo Functions in my project. Start with: hanzo functions list