Leicht·Facile drafts easy-language versions of official texts from Switzerland, Germany and Austria (German Leichte Sprache and Einfache Sprache in each country's spelling and conventions, Swiss French FALC, Swiss Italian lingua facile) with a large language model, and proves with code that every date, amount, phone number and other exact value of the original is still in the draft. It works with any OpenAI-compatible endpoint (a provider's API, a gateway or a model server of your own) and was built and evaluated with Apertus, the open Swiss model. It is a drafting assistant for the people who write official texts, from trained easy-language writers to case workers, not a replacement for their review or for the test by readers from the target group.
The project's page, in English, German, French and Italian: leichtfacile.ch
About 1.25 million adults in Switzerland aged 16 to 65 (22 percent) have low reading skills (Swiss Federal Statistical Office).
A sentence like this one from a letter, in "Behördensprache", with three negations, a clause inside a clause and two passives, loses them, although the reader has only one question: do I get my money back?
| Before: the letter | After: easy language |
|---|---|
| Es ist nicht unwesentlich, dass Kosten, die nicht fristgerecht geltend gemacht werden, nicht vergütet werden können. |
Das ist wichtig: Melden Sie Ihre Kosten rechtzeitig. Sonst bekommen Sie kein Geld zurück. |
The law asks for it. Switzerland has ratified the UN Convention on the Rights of Persons with Disabilities2, which counts plain language as a form of communication (art. 2), asks for accessible public information (art. 9 and 21) and for access to justice (art. 13). The Disability Equality Act3 asks authorities to take the needs of people with disabilities into account when they communicate with the public (art. 14 BehiG). In Germany, federal authorities should explain decisions, forms and contracts in simple language on request, and in Leichte Sprache when that is not enough (§ 11 BGG4), and every federal website explains itself in Leichte Sprache on its home page (§ 4 BITV 2.05). Austria has been bound by the same UN Convention since 20086.
Three use cases: a canton's letters and web pages (use-case-canton.md), easy-language letters that accompany decisions of child and adult protection authorities (KESB) and courts, texts that may never leave the authority (decision mode v1; use-case-decisions.md), and the letters of schools and other organisations to parents, students and members, with the sender and the form of address as job options (use-case-schools.md). Further use cases, from patient letters and lease terminations to penal orders, payment orders and tax letters, are sketched in use-cases.md. Most of them are under official, medical or tax secrecy and may not go to a chatbot on a foreign cloud: for them, the model has to run where the organisation controls it, and Apertus fits best (why).
The language model does everything that needs language understanding. Plain code does everything that can be counted.
- Understand (the model): the document becomes a fact sheet: the reader's core questions, every fact with its exact value, hard words, passages that can go. Code adds every date, amount, contact and other exact value the model missed.
- Write (the model): a draft in easy language, every sentence linked to the source sentences it comes from, every omission explained.
- Check (code): 46 deterministic rules for German, 42 for French and 42 for Italian from the published guidelines of Switzerland, Germany and Austria (sentence length, passive, genitive, numbers, the country's spelling and compound mark, ...) and an exact check of every fact value in both directions (no value lost, no value invented), in milliseconds, without a model.
- Judge (a second model, ideally a larger one): meaning only: distorted facts, invented statements, metaphors, unclear references.
- Repair (the model): only the flagged sentences, until no blocking finding is left (at most 3 rounds); then one sentence for each must-keep value still missing (at most 10), checked like the rest.
- Review (human): source and draft side by side, provenance, fact checklist, approve, edit or reject each block, export with an audit trail.
The review page with the German example letter (team-written): the source with what was left out and why, the draft with its versions and findings, and the must-keep facts.
Why not one chatbot prompt?
Ask a chatbot to "rewrite this in Leichte Sprache" and you get a text, nothing more:
- no fact contract: nothing says which deadlines, amounts and contacts must survive;
- no provenance: no sentence points back to the source sentence it comes from;
- no omission log: what was left out, and why, is not recorded;
- no independent check: nothing but the model itself looks at the result.
The chatbots people reach for also run on foreign clouds. Leicht·Facile adds those four things, a review workflow and an audit trail, and runs on infrastructure the organisation controls.
How we measure the difference. The evaluation compares the full pipeline (P2) with single prompts on the same model (P as in pipeline, not a language level; use-case-canton.md §4). P0 is the plain chatbot prompt. The fairer baseline is a strong single prompt: a published Leichte Sprache prompt from a Swiss public administration (simply-simplify-language, MIT), here in its "complete" mode. Final run: 20 held-out pairs of real German texts, published by Swiss cantons and federal offices with their easy-language versions, on the CSCS endpoint, 12 October 2026 (all numbers: evaluation.md).
| A strong single prompt | Leicht·Facile | |
|---|---|---|
| Must-keep facts found | 82 % | 100 % |
| Hard facts lost without a trace | 15 % (33 % in its default mode) | none: it lists every one it misses |
| Invented values, per 100 blocks | 0.0 | 0.0 |
| Rule errors, per 100 blocks | 15.0 | 3.7 |
Why Apertus for confidential texts
For a public web page, any good model would do, and Leicht·Facile works with any of them. A letter that names a person is under official secrecy (StGB art. 320), a patient letter under medical secrecy (StGB art. 321), a tax letter under tax secrecy (DBG art. 110). Four conditions follow, and of the models we know, only Apertus meets all four:
| Condition | Rules out | Apertus |
|---|---|---|
| The text stays inside the organisation (secrecy law; the cantonal data protection commissioners' resolution of November 2025) | Chatbots and model APIs on foreign clouds | Runs on-premise or air-gapped: the 8B on one 24 GB GPU with the official vLLM image (run by the team on an NVIDIA L4); Swisscom and Infomaniak serve the 70B in Switzerland |
| The organisation runs the model itself | Closed models | Open weights |
| The organisation can account for what the model learned | Open-weight models that keep their training data secret (Llama, Gemma, Qwen, Mistral) | Open training data and code; website opt-outs honoured, also for older crawls |
| The model is Swiss | Fully open models built and trained abroad (EuroLLM, SmolLM3) | Built by EPFL, ETH Zurich and CSCS, trained in Lugano; German, French and Italian, with Swiss German and Romansh data |
The Canton of Ticino already runs Apertus in-house to translate sensitive government documents. Tokens are nearly free (about 1.6 US cents per page for the full pipeline at Public AI's list prices, evaluation.md); on own hardware the GPU is the cost. The legal basis, the sources and the use cases: use-cases.md §2.
Quick start
Requirements: uv (it brings Python 3.12 or newer when needed), and an OpenAI-compatible model endpoint with its key: Apertus on the Public AI gateway (the shipped default) or on the CSCS inference API, a model server of your own (vLLM, llama.cpp, Ollama) or a provider's API.
The shortest way, straight from PyPI without installing anything:
uvx leichtfacile serve # starts the app and opens the browser
The first start downloads the app with its dependencies, the language models for the
checker among them (90 MB), into uv's cache (not onto the PATH,
quickstart.md), and opens the app's AI model page at http://127.0.0.1:8000/model: Apertus 70B on the Public AI
gateway is pre-selected (a key from platform.publicai.co,
pay per token, public documents only), and the page takes that key, or any other model's. uvx leichtfacile setup does the same on the command line. With a provider's key in the environment or a
.env, any preset runs for one session without setup, and nothing is saved:
uvx leichtfacile serve claude-sonnet-5-5 # stops with the reason when the preset is not ready
uvx checks PyPI at every start, so it runs the newest release, at the latest 10 minutes
after it is out; an installed command or a checkout is updated by hand
(quickstart.md).
On Windows, if uvx stops with failed to hardlink file ... (os error 396), run
uvx --link-mode=copy leichtfacile setup: uv links files from its cache, and Windows
refuses another link to a file that already has one in a OneDrive folder
(quickstart.md).
Or clone the repository and run it from the checkout:
git clone https://github.com/bobrovsky420/leicht-facile.git
cd leicht-facile
uv run leichtfacile setup # the first uv run installs the app and the language models
uv run leichtfacile serve
setup without a name asks where the model should run (Public AI, CSCS, Anthropic,
OpenAI, Google, OpenRouter, a server of your own with llama.cpp, Ollama or vLLM, or
another OpenAI-compatible server), for the key, and which of the provider's presets to
use (publicai-apertus and cscs-apertus: the 8B writes, the 70B checks; claude-haiku-5-5-sonnet: Haiku writes, Sonnet checks; ...), or any model the
provider lists; setup <preset> asks for
the key alone. The app's model page does the same in the browser: the page lists every
preset with where the text goes and what a page costs, takes the key and checks it.
With a provider's key in the environment or a .env (PUBLICAI_API_KEY, CSCS_API_KEY),
its presets are ready without setup: serve alone, and on a fresh install the first
provider with a key, in setup's order, picks the preset. The language packages the checker
parses German and French and tags Italian with (about 95 MB) are dependencies of the
package, so every way of installing it brings them. leichtfacile config show lists every setting and where it comes from;
configuration.md explains them. Installing the command, the
command line alone, a server for an organisation, an offline install, running a model
yourself, reaching the app from other machines and what to do when it does not start:
quickstart.md.
Model tiers with Apertus: by default the 8B reads, writes and repairs, and the 70B
judges (when the provider serves it; otherwise the writer judges).
models = { writer = "swiss-ai/Apertus-v1.5-70B" } runs every stage on the 70B;
models = { understand = "swiss-ai/Apertus-v1.5-70B" } lets the 70B read (the fact
sheet) and the 8B write. evaluation.md compares the three.
German for Germany and Austria (since 0.9.0). One installation works in one national
variety of German: leichtfacile setup asks once whether the texts are Swiss, German or
Austrian (setup --region DE changes it alone); French and Italian stay Swiss. In
Germany and Austria code writes the ß and splits long compounds with a hyphen
(Kranken-Kasse) instead of the Mediopunkt, the values read euros, the thousands dot,
the countries' phone and address shapes and Jänner, the decision mode knows the
Bescheid (the decision before Begründung, the Spruch, the Rechtsbehelfsbelehrung), the
vocabulary, the sample letters and the interface use the countries' words (Bescheid,
Entscheidung), and the checker runs the German rules under the German limits
(rules.md). Measured on 8
held-out official pages a country with Apertus 70B on Public AI (30 October 2026): the
pipeline found 95 and 96 percent of the must-keep facts and lost none silently, where the
single prompt found 74 and 69 and lost a quarter of the hard facts
(evaluation-publicai.md).
Your first draft
The interface speaks English, German, French or Italian (switch at the top right). Before the first draft, the start page offers the example letters: a municipality's letter about premium reduction in German, French and Italian, a decision of a child and adult protection authority (in Germany a Wohngeld-Bescheid and in Austria a Familienbeihilfe-Bescheid instead) and letters of a school (all team-written, described in the examples' README.md). Click one, then Create draft: the model reads, writes, checks, judges and repairs in a few minutes, and the review page opens. Approve, edit or reject each block and export the text as Markdown, HTML or Word. Check my text runs the rule checker on any text you paste, without a model and without storing it.
The user's guide walks through every page with screenshots, for the people who review the drafts; it is also on the site in English and German.
Sovereign deployment
Most installations will run on an endpoint: the shipped default, Apertus 70B on the Public AI gateway (a key, pay per token, public documents only), or Apertus on the CSCS inference API. The table is for texts that must not leave the organisation.
| Where the model runs | How |
|---|---|
| a) On-premise | A model server in the organisation's network, for example Apertus 1.5 8B on vLLM with the official image on one GPU with 24 GB or more (measured on an NVIDIA L4: aws-l4-2026-10-10/); point the endpoint's url at it |
| b) Air-gapped | As (a), and the app installed offline, the spaCy models among its dependencies, from a folder of wheels collected on a connected machine (quickstart.md). The UI assets are in the package: no CDN, no telemetry, no installs at runtime |
| c) Sovereign Swiss cloud | Point the endpoint's url at a Swiss-operated endpoint (Swisscom and Infomaniak serve Apertus 70B); the reference numbers come from CSCS in Lugano |
As a container. The image ghcr.io/bobrovsky420/leichtfacile carries the app with
every dependency; compose.yaml starts it with the model server of (a) on one GPU, and
docker save carries both into (b) (quickstart.md §7).
Documents and review records stay in a SQLite database in a folder the organisation
controls (data.dir). At runtime the app contacts only the model endpoint, and a web
page's server when a user enters a URL: no telemetry, no CDN, no login provider
(operations.md). Several teams on one server can each
keep their own drafts list behind a workspace link (server.workspaces,
configuration.md). Which texts need this, and why Apertus
fits them best: Why Apertus for confidential texts.
Documentation
- CHANGELOG.md: what each release changed, from 0.5.0 on
- CONTRIBUTING.md: how to contribute, the house rules, who holds the rights in a contribution
- maintenance.md: the maintenance and support policy: what we commit to, what stays stable, what a release may change until 1.0 and after
- releasing.md: the maintainers' handbook: releases, the language packages, the pins, the repository's settings and services
- openapi.json: the JSON API's description (OpenAPI), under
/api/v1 - user-guide.md: the illustrated guide for the people who review the drafts, from the source text to the export
- quickstart.md: installing and starting the app, the model providers and presets, servers, offline installs, development
- configuration.md: the settings, the providers and presets and their keys, every setting with its default
- architecture.md: design and architecture, as the version at hand is; its first section says where to look
- operations.md: running the service: the package, the settings, the container, where the model runs, security and privacy, the supply chain, the data lifecycle
- history/: dated records of checks and measurements that no longer describe the current version
- ui-design.md: the web UI's specification: tokens, components, screens, accessibility
- logo.md: the logo, its files and where it goes
- rules.md: the rule catalogue the checker implements
- prompts.md: prompt design and change log
- sources.md: reference pairs, demo documents, licences
- use-case-canton.md: a walkthrough for a cantonal administration
- use-case-decisions.md: letters that accompany decisions of child and adult protection authorities and courts (partly planned)
- use-case-schools.md: letters from schools and other organisations to parents, students and members
- use-cases.md: all use cases at a glance; the further ones sketched with the checks they need
- image-input.md: what Apertus 1.5 reads from a scanned letter, by kind of value
- hard-texts.md: hard words and sentences for tests
- evaluation.md: the evaluation tables, per language and setup
- evaluation-publicai.md: the Italian tables, run on the Public AI gateway with the Apertus 1.5 70B at every stage (28 October 2026)
- model-comparison.md: every evaluation run side by side, Apertus on CSCS, Qwen on a laptop, gpt-oss on Groq and the runs to come
References
- Swiss Federal Statistical Office (FSO), first results of PIAAC 2022/2023, Neuchâtel 2024, section 3.3: 1.25 million adults aged 16 to 65 (22 percent) with low literacy, level 1 or below.
- UN Convention on the Rights of Persons with Disabilities (SR 0.109), art. 2, 9, 13 and 21: https://www.fedlex.admin.ch/eli/cc/2014/245/de
- Federal Act on the Elimination of Discrimination against People with Disabilities (Disability Equality Act, BehiG, SR 151.3), art. 14: https://www.fedlex.admin.ch/eli/cc/2003/667/de
- Germany: Behindertengleichstellungsgesetz (BGG), § 11 Verständlichkeit und Leichte Sprache: https://www.gesetze-im-internet.de/bgg/__11.html
- Germany: Barrierefreie-Informationstechnik-Verordnung (BITV 2.0), § 4: https://www.gesetze-im-internet.de/bitv_2_0/__4.html
- Austria: UN Convention on the Rights of Persons with Disabilities, BGBl. III Nr. 155/2008: https://www.ris.bka.gv.at/eli/bgbl/III/2008/155
Licence
Code: Apache License 2.0, see LICENSE. Texts from cantonal and federal web pages are not part of the repository; the evaluation fetches them from their URLs (sources.md §4). The spaCy models come as the separate packages leichtfacile-model-de (MIT) and leichtfacile-model-fr (LGPL-LR), spaCy's files unchanged with their license files; the Italian pipeline comes as leichtfacile-model-it, built on the Morph-it! lexicon (CC BY-SA 2.0 and LGPL, THIRD_PARTY_NOTICES.md).
The code belongs to its authors: the maintainers (MAINTAINERS.md) keep the rights in what they write, and contributions by others are assigned to Alexander Bobrovsky as CONTRIBUTING.md describes.
Metadata
Release files for leichtfacile 0.13.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| leichtfacile-0.13.1-py3-none-any.whl | Python 3 | none | any | Details for leichtfacile-0.13.1-py3-none-any.whl |
Release files / leichtfacile-0.13.1-py3-none-any.whl
| Download URL | leichtfacile-0.13.1-py3-none-any.whl |
|---|---|
| Size | 827.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
892fdfbfa9716b2ef598f501648f5ce9c46724bc9b72b04cbc606fde8c1be161
|
|
BLAKE2b-256 checksum How to use checksums |
a1e2be0bfaef5f5e5b378eea8ef2dbb03917d94eb583e79b09e2396e73d54abb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logSecurity for leichtfacile 0.13.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for leichtfacile-0.13.1-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.