Your Toolbox for Tiny, Composable Functions
One Function, Many Ways In
Trigger your function from anywhere — HTTP webhooks, scheduled jobs, inbound email, or your AI assistant.
Compose and Link Functions
Functions can call other functions. Build small, compose big.
export async function main() {
const res = await fetch(
"https://wttr.in/Tokyo"
);
return res.text();
}
import fn from "@microfn/fn";
export async function main() {
const weather = await fn.executeFunction(
"david/get-weather"
);
return fn.executeFunction(
"david/send-discord",
{ message: weather }
);
}
export async function main(input: { channelId: string, content: string }) {
const token = await secret.getRequired("DISCORD_BOT_TOKEN");
const response = await fetch(
`https://discord.com/api/v10/channels/${input.channelId}/messages`,
{
method: "POST",
headers: {
Authorization: `Bot ${token}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ content: input.content }),
},
);
if (!response.ok) {
const data = await response.json().catch(() => ({}));
throw new Error(`Discord error: ${response.status} ${JSON.stringify(data)}`);
}
return await response.json();
}
Your AI's Function Workshop
Let your LLM generate, edit, and run functions in a secure sandbox — spinning up new tools on the fly.

Call any function as a tool
Generate new functions on demand
Edit existing functions safely
Adjust triggers, secrets, and visibility
A Living Ecosystem of Functions
Build Together, Ship Faster
Zero Setup
Start coding immediately. No local development environment, no configuration files, no deployment headaches.
Instant Triggers
Turn any function into an endpoint, cron job, or email trigger in seconds.
One-Click Remix
Clone any public function and customize it for your needs. Share your improvements back to the community.
Fixed Monthly Subscription
Predictable costs with a flat monthly fee. No surprises, just unlimited potential.
AI Assistant Ready
Connect AI assistants via MCP protocol. Let Claude and other AI tools trigger your functions dynamically.
Free
Perfect for getting started
Pro
For power users and teams