Introduction
Fiducia is a language for building embedded applications on seL4 Microkit systems. A project describes a system of protection domains (PDs) connected by channels. Each PD’s behaviour is a CSP-style process, which calls imported C or Pancake code. From this one description the toolchain builds a bootable Microkit image, and a UPPAAL model to check the system against.

This manual covers installing, configuring, building, running and verifying projects. The syntax and semantics of the language are in the Fiducia Language Reference.
🚧 Fiducia is under active development; interfaces described here may change between releases.
The toolchain
| Tool | Role |
|---|---|
fic | The compiler: checks a project and builds its Microkit image, or emits an intermediate form instead (see the fic reference). |
fire | The project runner: reads fire.toml and drives fic. fire build writes the image and the UPPAAL model, fire run launches the image, fire verify checks the model, fire clean removes what was generated. |
fic-lsp | The language server the editor extension runs. |
A Fiducia project
A project is a directory holding:
- one
.fisfile, the system description: memory regions, protection domains, channels, and the system composition; - one
.fifile per protection domain, its implementation: imports, memory mappings, events and processes. The fileeth_outer.fiimplements the PD namedeth_outer; - the imported files: C (
.c,.h) and Pancake (.pnk); spec/*.q, the queriesfire verifychecks;fire.toml, the manifest.
demo/ring/ in the repository is the smallest complete project (one
buffered channel), demo/pingpong/ adds C contracts and verification,
and demo/datadiode/ is a larger one, the subject of the
tutorial.
Where to go next
- Install the tools.
- Follow the tutorial, a walk through the data diode.
- Write a
fire.toml. - Build and run on QEMU.
- Verify the model.
- Consult the
ficreference for the compiler’s checks and emit formats.