v0.49.0Latest release

Building blocks for the world of tomorrow

funcd is a lightweight, modular serverless platform in a single binary for Linux. Its Functions, agents and workflows fit together into the systems of tomorrow, from data-driven video generation to the edge that supervises a farm.

curl -fsSL https://funcd.dev/install.sh | sh

funcdctl for macOS and Linux · funcd for Linux

Data in, videos out.

Worlds to build

From data-driven video to the edge of a field

The same few blocks assemble into very different worlds. Here are four of them.

Video generation

Data-driven video generation

A Workflow reads each record from a Lake, an agent writes its script, a rendering step produces the video, and a Bucket keeps it. Each step is a Function that scales to zero between runs.

  1. Lake
  2. Workflow
  3. Agent
  4. Bucket
Farm supervision

Farm supervision at the edge

One small Linux machine in the field runs the whole platform. Sensors call Functions over HTTP, the readings go into a SQL database, and a timer starts the agent that writes the morning report.

  1. HTTP
  2. Function
  3. SQL
  4. Timer
  5. Agent
Operations

Agents that operate machines

Each agent watches the machines that it operates. It starts on an event, reads the state that it keeps in KV, decides, and calls the next Function.

  1. Event
  2. Agent
  3. KV
  4. Function
Data lakehouse

A lakehouse from raw files

Files arrive in a Bucket, Workflows refine them layer by layer, and a Lake answers SQL over the result. Every query is checked before it runs.

  1. Bucket
  2. Workflow
  3. Lake

One binary

The same platform, from a laptop to the field

One funcd binary holds the API, the controller, the gateway and the runtime that starts the workers. The same manifests run under funcdctl dev on a laptop and on any Linux machine that runs funcd, in a rack or beside the crops.

  1. Laptop

    funcdctl dev runs the Functions and an embedded platform on macOS or Linux.

  2. Server

    funcd runs on a Linux server as one binary and one systemd unit.

  3. Field

    The same binary runs on a small Linux machine at the edge.

binary for the whole platform
1
binary for the whole platform
workers while a Function is idle
0
workers while a Function is idle
languages: TypeScript and Python
2
languages: TypeScript and Python
open source
Apache 2.0
open source

Start building tomorrow

Install funcdctl, then run a first Function on the local machine.

curl -fsSL https://funcd.dev/install.sh | sh