Skip to main content
Preview — Jelou Functions is in preview. The API and behavior may change without prior notice. Do not use it in critical production flows without contacting the support team.

What is Jelou Functions?

Jelou Functions is a serverless TypeScript platform where with define() you automatically get:
  • HTTP endpoint ready to receive requests
  • Validation of input and output with Zod
  • MCP tool so your AI agents can invoke it directly
  • Declarative cron jobs without additional infrastructure
  • Multi-tool with app() to group multiple tools in a single deployment
index.ts
import { define, z } from "@jelou/functions";

export default define({
  name: "query-customer",
  description: "Looks up customer information by phone number",
  input: z.object({
    phone: z.string().min(10),
  }),
  output: z.object({
    name: z.string(),
    plan: z.string(),
  }),
  handler: async (input, ctx) => {
    ctx.log("Looking up customer", { phone: input.phone });
    return { name: "Maria Garcia", plan: "Premium" };
  },
});
Deploy with a single command and get a production URL:
jelou deploy
# → https://query-customer.fn.jelou.ai

What is it for?

Prerequisites

Before you start, make sure you have:
  • Node.js 18+ installed
  • Your Jelou account with access to Functions
  • Your personal access token (prefix jfn_pat_)

Next step

Quick start

Create, test, and deploy your first function in less than 5 minutes.