Skip to main content Switch to mobile version Pre-release This release is a pre-release and may not be stable for production use.
The operator's record for self-hosted servers run by an AI agent: Ansible executes, Cloudfall gates, verifies and keeps the receipts
pip install cloudfall==0.8.0rc32 Copy PIP instructions
Your servers, run by an agent. With a record that answers why.
Website · Live demo · Getting started · Migrate from Render · Roadmap · Manifesto
Cloudfall is the operator's record for self-hosted servers run by an AI agent. The agent decides; Ansible executes; Cloudfall says what the agent may do, checks every result, and keeps the evidence. Every operation has a verify step and every decision an audit entry: what the fleet looked like, what was proposed, who approved, what verify reported. Cloudfall never reports success it cannot prove. Open source, plain Debian, no Kubernetes.
(Claude Code, Codex, MCP)"] -->|proposes| G{"Cloudfall
policy gate"} H["Human"] -.->|approves what
can't be undone| G G -->|allowed| X["Ansible"] X --> S["Your Debian servers"] S -->|observed state| V["Verify"] V --> R[("Receipt:
approval, outcome")] R -.->|earned autonomy| G What the record looks like
Ask why something happened and Cloudfall answers from the record alone. This is a real decision from the maintainer's six-host production fleet, a converge run of the team's own site.yml (output abridged to the story):
$ cloudfall why --operation converge It was based on 6 host snapshots in tmp/observed, the latest observed at 2026-09-21T10:39:30Z. At 2026-09-22T19:38:45Z the mutating operation converge (site.yml) was proposed against the whole fleet with no inputs. Check mode would have changed no host and left 3 hosts untouched; the diff is decisions/converge-20260922193845.diff (sha256 4c8458ca26c5…, 48061 bytes). It waited for an approval: a mutating operation runs in check mode first and waits for an approval of the recorded diff. roman approved it at 2026-09-22T19:39:51Z. The run at 2026-09-22T19:39:51Z exited 0 and changed no host; the log is decisions/converge-20260922193845-execution.log. The verify step at 2026-09-22T19:40:39Z exited 0 and changed no host; the log is decisions/converge-20260922193845-verify.log. It ended verified: the run succeeded and the verify step changed nothing. Every sentence is drawn from a field of the record. --format html renders the same answer as one page, and agents get it as the why tool.
An on-call agent on NVIDIA Nemotron
cloudfall agent investigate gives an alert to a model and lets it work the incident through your operations catalog: read operations run and return what the hosts reported, every change is proposed in check mode and waits for a person. No tool approves anything. The model is any OpenAI-compatible endpoint; we run NVIDIA Nemotron on Nebius Token Factory.
Try it live at demo.cloudfall.dev: pick a Nemotron model, watch it investigate a real incident turn by turn, with its reasoning, and approve the fix yourself.
The incident is real: on a Hetzner server, 36G of shop logs nobody rotates fill the disk and PostgreSQL goes down. The alert only says "PostgreSQL is down". We gave it to four Nemotron models, ten times each, against the broken host (method and raw results):
If its tools ran whatever it asked, Lightning would have wiped the production database every time. With Cloudfall, none of the 40 runs changed the host: every wrong move stayed a proposal on the record. Super finds the cause in about five turns and 12k tokens. Approved by a person, its fix brought PostgreSQL back on the real host, and rerun with verification on a fresh one it took the disk from 100% to 5% (proving run).
How Nemotron and Token Factory are used:
The model is the on-call engineer. Super diagnoses; the evaluation shows where the others fit and where they must not act alone
Its reasoning is kept. Nemotron returns reasoning_content with each turn. Cloudfall keeps it in the investigation record next to every tool call as the model wrote it, the Token Factory response id and x-request-id, and the tokens, so the record answers what the model thought when it proposed a change
Recorded incidents replay against a live model. --replay answers the model's calls from a real run's recorded output, so any model can be tried on a real incident again and again without a host. The hosted demo runs that way
Token Factory sped up the work. Its OpenAI-compatible tool calling worked on the first call for all four Nemotron models, so trying another model is one string, and the 40-run evaluation needed no GPUs or model deployment of our own
Other Nebius services. Token Factory is the only one at runtime. The evaluation is also packaged as a container for a Nebius Serverless Job (Dockerfile); we could not run it there, because AI Cloud was not activated for our tenant
Try it without a server, from a clone of this repository, with a Token Factory API key:
cd examples/disk-full-incident export CLOUDFALL_API_KEY=... uv run --project ../.. cloudfall agent investigate --replay recordings/disk-full \ --alert "ALERT postgresql-main DOWN on host hz1. The shop's orders API returns 500." \ --base-url https://api.tokenfactory.nebius.com/v1/ \ --model nvidia/nemotron-3-super-120b-a12b Each turn streams as one JSON line; the record lands in investigations/ and the proposed decisions in decisions/. To break a real host and run it live, follow examples/disk-full-incident. The hosted demo's source is in demo/.
Founders leaving a PaaS. A small production app with a database costs about $83 a month on Render and runs on a Hetzner server for under €10. Cloudfall moves your applications and databases onto one or two servers you own (hardened baseline, monitoring, PostgreSQL and Redis with backups that provably restore, health-gated deploys with rollback, a real DNS cutover), and an always-on operator runs them there with a receipt for every action. Start with the Render migration guide.
Teams and agencies that already run Ansible. Point Cloudfall at your own repository: it reads your inventory, and each playbook you declare in operations/ becomes an operation with a risk level, a verify step and a record. Your agent sees exactly those operations as tools, a mutating one runs in check mode and waits for a person to approve the diff, and cloudfall why answers for it afterwards. No import, no second copy of your fleet. See the brownfield design.
Proven live, not promised. Everything implemented has run on disposable Hetzner Cloud Debian 13 servers: an application actually hosted on Render was cut over with its data and a real TTL-lowered DNS flip, a bad release was rolled back automatically, an induced failure was remediated first with one human approval and then autonomously under declared policy, a timer-driven drill proved a real backup restorable, and an alert crossed the public network to a second machine. The entire migration was driven by an AI agent through the MCP server alone. Full reports: proving-runs
A record that answers "why did the agent do that". Every deploy, remediation and drill leaves a receipt; every operator decision records the evidence, the proposal, the approval and the outcome. An agent's own log says a tool was called. This says what the fleet looked like when it was
Verified, not just ran. Status is derived from validated observations, cloudfall audit reports drift with distinct exit codes, and deploys are gated on health and rolled back when it fails
Autonomy earned from the record. The operator remediates what its receipt history proves reversible under declared policy, and asks you only about what can't be undone
AI-agent native. A stable CLI and Python API with structured JSON results, and cloudfall mcp serve for agents. Read-only evidence tools are free; a deploy, rollback, restart or migration returns its plan until called again with yes
The bill buys computers, not margins. On servers you own, the margin on commodity compute and managed databases becomes runway
Good-enough databases, with proof. Loopback PostgreSQL and Redis with receipted backups and restore drills that prove a backup restorable
Boring on purpose. Native systemd services, artifact releases with symlink rollback, nginx, stock Debian. Any Linux admin can take over the server without Cloudfall installed
The only prerequisite is uv; it provisions Python 3.14 and every dependency.
uv tool install cloudfall cloudfall --help Start a project (a directory of its own, kept private), declare your SSH key and first server, then validate and audit:
uvx cloudfall init my-project cd my-project uv sync uv run cloudfall add ssh-key ~/.ssh/id_ed25519.pub --owner you uv run cloudfall add server h1 --address 203.0.113.10 uv run cloudfall config validate cloudfall init also writes an AGENTS.md: the contract an agent started in the project reads first, with every command sorted by effect and the gate each server-changing command demands. The full walkthrough, from inspection and drift audit to the live dashboard, is in Getting started.
uv run cloudfall import render render.yaml --application acme --server h1 uv run cloudfall migrate --build web=main # show the plan uv run cloudfall migrate --build web=main --yes # run it; pauses at deploy:web uv run cloudfall release approve web --release # a person, at a terminal uv run cloudfall migrate --yes # resume: deploy, routes, TLS The importer never guesses silently: IMPORT-REPORT.md records what was not imported, every assumption and every step required before cutover. The migration runs baseline, services, builds, health-gated deploys, routes, a DNS-verification pause, TLS and a final evidence pass, and resumes exactly where it stopped. An imported application declares approval: manual, so the run pauses before its deploy until a person approves the built release with cloudfall release approve; the resumed run deploys that release without building again. Databases move with cloudfall data copy, which verifies per-table row counts and writes a receipt. See the Render migration guide and the Neon migration guide.
Three modules with strict boundaries:
config/: declarative YAML resources and their JSON Schemas
sdk/: the cloudfall CLI and Python API used by agents and tooling
engine/: internal execution machinery (Ansible-based)
The config contains no execution logic, the CLI validates config without Ansible internals, the engine never silently rewrites the config, and mutating operations go through the engine's command-line and playbook contracts. See ARCHITECTURE.md.
Cloudfall is pre-1.0 and honestly labeled. On servers Cloudfall sets up, implemented and proven live on disposable Debian targets:
Typed YAML config with JSON Schemas, deterministic Ansible inventory, read-only inspection and config-versus-observed drift audit
Hardened Debian baseline, nftables firewall, and a Loki/Grafana/Alloy logging stack with declared alert rules over mTLS
Loopback PostgreSQL, Redis and Nginx/TLS sites with sops/age secrets, receipted backups and a timer-driven restore drill
Health-gated deploys with symlink rollback and an evidence-derived dashboard
Render importers, guided data migration and the resumable cloudfall migrate
cloudfall mcp serve and the always-on operator with receipted proposals and policy-bounded autonomy
On your own Ansible repository, implemented and run on the maintainer's production fleet:
Read-only observation through your inventory and ansible.cfg, and drift audit without a Cloudfall project
The operations catalog, the check-then-approve gate, and one decision record per operation with its evidence, diff, approver and verify result
cloudfall why and cloudfall mcp serve --repository, where the tool list is your catalog
Not yet validated live: bare-metal RAID/storage provisioning. Not built yet: safe edits of your inventory and variables, and autonomy computed from the record. See the roadmap.
Questions and ideas: Discussions
Bugs and feature requests: Issues
Want help moving off a PaaS? Request a pilot
Contributing: CONTRIBUTING.md · Conduct: CODE_OF_CONDUCT.md · Security: SECURITY.md · Changes: CHANGELOG.md
Both files in this release have provenance metadata.
AGPL-3.0-or-later View SPDX License List
ai-agents ansible audit-log debian devops hetzner mcp paas-alternative self-hosted sre
Development Status 4 - Beta
Intended Audience System Administrators
Operating System POSIX :: Linux
Programming Language Python :: 3.14
Topic System :: Installation/Setup
System :: Systems Administration
Release files for cloudfall 0.8.0rc32
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 1.8 MB
Release files / cloudfall-0.8.0rc32.tar.gz
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Release files / cloudfall-0.8.0rc32-py3-none-any.whl
Security for cloudfall 0.8.0rc32
Both files in this release have been uploaded with provenance metadata.
With provenance cloudfall-0.8.0rc32.tar.gz Nov 14, 2026
Attestation for cloudfall-0.8.0rc32.tar.gz
A 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.
Release history Release notifications | RSS feed
Dec 3, 2026 2 release files Full provenance
Nov 29, 2026 2 release files Full provenance
Nov 27, 2026 2 release files Full provenance
Nov 26, 2026 2 release files Full provenance
Nov 25, 2026 2 release files Full provenance
Nov 24, 2026 2 release files Full provenance
Nov 23, 2026 2 release files Full provenance
Nov 22, 2026 2 release files Full provenance
Nov 21, 2026 2 release files Full provenance
Nov 20, 2026 2 release files Full provenance
Nov 18, 2026 2 release files Full provenance
Nov 17, 2026 2 release files Full provenance
Nov 16, 2026 2 release files Full provenance
Nov 15, 2026 2 release files Full provenance
Nov 14, 2026 2 release files Full provenance
Nov 13, 2026 2 release files Full provenance
Nov 12, 2026 2 release files Full provenance
Nov 9, 2026 2 release files Full provenance
Nov 3, 2026 2 release files Full provenance
Nov 2, 2026 2 release files Full provenance
Oct 31, 2026 2 release files Full provenance
Oct 30, 2026 2 release files Full provenance
Oct 28, 2026 2 release files Full provenance
Oct 27, 2026 2 release files Full provenance
Oct 26, 2026 2 release files Full provenance
Oct 21, 2026 2 release files Full provenance
Oct 20, 2026 2 release files Full provenance
Oct 19, 2026 2 release files Full provenance
Oct 16, 2026 2 release files Full provenance
Oct 12, 2026 2 release files Full provenance
Oct 11, 2026 2 release files Full provenance
Oct 10, 2026 2 release files Full provenance
Oct 9, 2026 2 release files Full provenance
Oct 8, 2026 2 release files Full provenance
Sep 22, 2026 2 release files No provenance
Sep 21, 2026 2 release files No provenance
Sep 20, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




