Roadmap¶
This page says plainly what Piceli is for, what it does well, where it is weak, and what comes next. The maturity of every feature is in the table at the end. Priorities may change; progress is tracked in GitHub issues.
What Piceli is for¶
Piceli lets you describe software and the machines it runs on in typed Python, shows you exactly what would change, and changes only what you approved. Every change follows the same loop:
Model: write the app (or the machine) as Python objects. Your editor and type checker catch mistakes before anything runs.
Plan: compare the model with what is live and print the difference, with a hash (a short fingerprint of the plan).
Apply: run that plan only when you pass its exact hash back. If the world changed in between, the hash no longer matches and nothing happens.
Observe: record what ran, check that it works, and roll back when it does not.
The same loop now covers four areas:
Kubernetes apps: a typed
App, environments (dev, staging, prod), custom resources, checks after a release and automatic rollback.Delivery from Git (GitOps): a controller in the cluster that follows a Git repository, keeps one environment per branch, builds images and deploys them, with a web UI.
Builds: images built from a pinned source on build hosts (your laptop, a server, or a node of the cluster), and a merge train that tests candidate branches together before they reach
main.Machines: servers, IP addresses, buckets and DNS records created through OpenTofu (an open-source Terraform), and NixOS hosts (machines whose whole system is one declared build) that follow your release tags.
Agents are first-class users: every command prints one JSON object, uses
fixed exit codes and fixed error codes, and piceli explain CODE says what
went wrong and how to fix it.
Strengths¶
Approval bound to the plan. You approve a hash, not a command. Helm, Kustomize and
kubectlhave nothing like it. It is what makes Piceli safe to hand to an agent.A recoverable engine. Changes use Kubernetes server-side apply (the API server merges fields and records who owns each one), with preconditions and a journal: a run killed halfway resumes where it stopped, and an object another tool owns is never silently overwritten.
Short, checked app code. The same app takes about a quarter of the lines it takes in Helm, Kustomize, cdk8s or Pulumi, and CI checks that all five render the same objects (The same app in Piceli, Helm, Kustomize, cdk8s and Pulumi).
A machine contract. JSON on stdout, four exit codes, about 800 error codes each with a cause, a fix and whether a retry can succeed.
Testable without a cluster.
piceli renderneeds no cluster, andpiceli.testingis a fake Kubernetes API for your own tests.Never an ambient cluster. Every command names its kubeconfig file and context. Piceli never falls back to whatever cluster your shell points at.
Weak spots¶
Too big for one person. About 190,000 lines of Python, 159 commands, about 800 error codes and 58 documentation pages. The surface grew faster than anyone could learn it.
A steep start. Apps, pipelines, release specs, compositions, components, stacks, environments, clusters, build hosts, profiles and trains are all separate concepts. A newcomer has to learn many of them before the first useful deploy.
One maintainer. Reviews, releases, security fixes and support all depend on one person, and the release pace (often several a week) makes “preview” mean “may change next week”.
Slow tests. About 5,200 tests run in parallel in about four minutes, but some are slow on their own (one OpenTofu test takes about 50 seconds), and the cluster tests run one at a time.
One production user. Build hosts, the merge train, NixOS hosts, several clusters, client bundles and OpenTofu machines have each been used in production by one team only. Their defaults fit that team; a second one may need different ones.
Overlap with established tools. The GitOps controller competes with Argo CD and Flux, the builds with Docker Buildx and CI systems, the machines with plain OpenTofu. Piceli’s angle (one plan, one approval, typed Python across all of them) is real, but each piece is younger than the tool it replaces.
What to simplify¶
One way to deploy.
piceli deploy(a PythonPipeline) andpiceli release(a TOML spec) do much the same job. Keepdeploy; makereleasea thin layer over it or retire it.Retire the old paths. The
piceli operatorlayer and its local dashboard predate the GitOps controller and the web UI, which now do their job.piceli heavy(a lock for heavy work on one machine) is not about delivery at all.A core and extras. Name a core (typed apps, environments, plan, approve, apply, checks, import, testing, the agent contract) and promise to keep it stable. Mark the rest (builds, trains, machines, NixOS hosts, several clusters) as extras that may move to separate packages.
Fewer, shorter pages. Several pages explain the same idea from different angles. Merge them, and keep
llms.txtand the agent page short enough to read in one go.
Next, ranked¶
A smaller public API and fewer concepts. The biggest cost for users and for the maintainer is the surface itself. Merging
deployandrelease, and retiringoperatorandheavy, shrinks it without losing a feature anyone relies on.A second production user. Every feature outside the core has one user. A second team, ideally on a managed cluster with its own CI, shows which half of the surface matters, and becomes the rule: a feature is done when two users use it.
Faster tests, measured per step. For one maintainer, fast feedback is the multiplier. Record the time of each test and each train step, then cut the slow ones first (the OpenTofu tests above all).
Docs consolidation. Group the docs into “core” and “extras”, merge pages that overlap, and shorten the agent material. Easier to learn, and cheaper for an agent to read.
Short-lived Git tokens per build. Today a build host or the controller keeps a long-lived read token. A token made for one build, limited to its repositories and expiring after it, means a leaked token is worth little.
A webhook trigger for builds. The controller polls Git (every 60 seconds by default). A webhook (a call Git hosting makes when you push) starts a build at once and saves polls; polling stays as the fallback.
Deterministic merges for speculative trials. A train tries some merges ahead of time (“speculative trials”). If the same merge always gave the same commit, a speculative result would carry over to the run and to the promoted commit without being tested again.
Trains on in-cluster build hosts. Train steps run on Docker or native build hosts today. Running them on a node of the cluster removes the need for a separate machine, but it adds surface; it waits for a user who needs it.
Approvals by more than one person. Today one owner approves a plan. Teams will want two people, or a role, to approve a production change. It matters once there is a team using Piceli, so it comes after the second user.
Feature status¶
Every feature page starts with its maturity:
stable: no breaking change within a major version; JSON output only gains fields.
preview: works and is tested; options, file formats and JSON fields may still change in a minor release, always with a changelog entry.
experimental: incomplete or not wired end to end; may change or be removed without notice.
Feature |
Page |
Maturity |
|---|---|---|
Object model: templates, |
stable |
|
CLI overview |
preview |
|
Typed apps ( |
preview |
|
Custom resources and generated models ( |
preview |
|
Environments ( |
preview |
|
Reference app: dev, staging and prod in one typed module |
A realistic app: dev, staging and prod from one typed module |
preview |
When to use Piceli; the same app in Helm, Kustomize, cdk8s and Pulumi |
When to use Piceli, and when not to, The same app in Piceli, Helm, Kustomize, cdk8s and Pulumi |
preview |
Engine: discovery, plans, executor, journals (Python API) |
preview |
|
Deploy from source ( |
preview |
|
Deploy from CI with an approval step |
preview |
|
Releases from a spec ( |
preview |
|
Post-deploy checks and automatic rollback |
preview |
|
Pre-rollout and upgrade checks |
experimental |
|
Field-level diffs and no-op detection |
preview |
|
Shared state, release lock, plan files ( |
preview |
|
Secrets: generate, template, import, fetch, rotate, back up |
preview |
|
Restore points of retained data |
preview |
|
Supported Kubernetes versions and shared ownership |
preview |
|
Managed-cluster credentials (GKE, EKS, AKS, OIDC) |
preview |
|
Access and status from the model ( |
preview |
|
Import and migration ( |
preview |
|
Fake Kubernetes API for tests ( |
preview |
|
GitOps controller, per-branch environments, manifest export |
GitOps: Piceli’s controller and manifest export, Environments: one app for dev, staging and prod |
preview |
Compositions and component contracts |
preview |
|
Several clusters from one controller |
preview |
|
The controller’s OpenTelemetry; deploy events |
OpenTelemetry from the GitOps controller, Deploy events to OpenTelemetry |
experimental |
Web UI |
experimental |
|
In-cluster UI with OIDC sign-in |
experimental |
|
Cluster init, in-cluster registry, node-local registry |
preview |
|
Registry retention |
experimental |
|
Source identity, containerized builds, image delivery |
preview |
|
Deterministic OCI builds (artifact API) |
preview |
|
Builds without a VM and node facts |
experimental |
|
Multi-platform images published, attested and signed |
experimental |
|
Development builds and build hosts ( |
preview |
|
Merge train ( |
preview |
|
Helm chart and manifests for other people’s clusters; client bundles |
Publish for other people’s clusters: a Helm chart and manifests, Deliver to a cluster you never access |
preview |
Machines with OpenTofu (Hetzner, OpenStack, Porkbun DNS) |
preview |
|
NixOS hosts and their releases |
preview |
|
Runner hygiene ( |
preview |
|
Machine-wide lock for heavy work ( |
preview |
|
Operations lens ( |
preview |
|
Operator workflow ( |
experimental |
|
CLI contract, error codes, agent skill |
preview |
|
Owner-declared approval policy ( |
preview |
|
Cross-model eval of agents using Piceli |
experimental |
Getting involved¶
Feedback on priorities is welcome: open an issue on GitHub.