Roadmap
Releases come in the order shown, without dates: a release ships when it is ready. Each item links to its GitHub issue.
Before 1.0
1.0.0rc3: The last candidate
The fixes found in the checks and in a review of the reorganised code, published before the two weeks end. #54
1.0.0: Stable
1.0.0 sets the version number and the Production/Stable classifier, with only the fixes of the two weeks of checks. From here the format, the command, the public API and the record format stay compatible across 1.x, as the Compatibility Policy sets out. #54
What 1.0 means
From 1.0, the YAML blueprint format, the desflow command, the public Python API and the published record format stay compatible across every 1.x release. The public Python API is the set of promised import paths, which the Compatibility Policy lists. The package status moves from Beta to Production/Stable. The names kept for compatibility, dynamic_des, ddes and the old registry settings, are removed in 1.0, and Upgrading to 1.0 lists each.
After 1.0
From history to simulation
- Model discovery: a model discovered from an event log.
- Comparison with the log: a run compared with the log.
- A model kept current: the model updated from new logs.
Simulation model
- Maintenance, schedules and incidents: planned maintenance, schedules that repeat by time of day, and incidents that change several parameters at once. 0.22.0 ships random breakdowns with repair and finite schedules, and 1.0 ships a failure clock that runs only while a resource works (
clock: busy). - More flow and resource features: matching and splitting, setup times, and resources chosen by skill. 1.0 ships batching.
- Reuse, costs and continuous flow: parts of a model defined once and used several times, costs and energy per resource state, and levels that rise and fall continuously.
- Transport on maps: vehicles that move between locations on real roads and publish their positions.
- Data-driven inputs: arrivals replayed from a database, or taken live from a Kafka topic.
- Models read from a store: a value that a model reads from a store during a run, such as the trained model of a recommender, with a key of its own. In 1.0 this is a
!pythonfunction, as Call Python from YAML shows. - Decisions from outside: a dispatcher or an agent answers for one order or session, and a run can repeat exactly from a log of those answers.
Analysis
- Experiments: experiment designs, optimisation, and calibration against observed data.
- Fitting and comparison: distribution fitting from more data sources, automatic fault-impact experiments, and fuller run comparison and fidelity scoring.
Simulation server
The server ships after 1.0, as 1.x releases installed with the server extra.
- Server API and MCP tools:
desflow serveruns simulations through a REST API: upload, start, stop, change parameters during a run and follow its events. MCP tools, which let an AI agent do the same, are experimental. (#48) - Browser UI: the same from a browser, including each simulation's graph from
desflow explain. (#49) - Schedules: run simulations on cron schedules. (#50)
- Server image and odctl profile: a published image and an odctl profile run the server locally with nothing installed on the host. (#52)
- Visualisation: a graph image from
desflow explain, animation of a running or recorded simulation, and a map view. - Distributed runs: workers on several machines.
Writing simulations
- Visual builder.
- Conversion: turn a YAML blueprint into builder code, and builder code into YAML with no Python, with an error that names each part that cannot be converted and how to rewrite it.
Connectors
- More sinks: a webhook sink, a generic SQL sink and more.
- Error sink: records a sink could not write go to another sink instead of being lost, and a run can fail when too many do.
- Delivery faults: records delivered late, twice, damaged or not at all, to test how a pipeline handles them.
- Lineage: each run reported to OpenLineage and OpenMetadata.
Integrations
- Orchestrators: Airflow, Dagster and similar tools.
- AI assistants: the Claude Code plugin and its marketplace.
- Testing tools: a pytest plugin and a GitHub Action.
- Query engines and streaming databases.
- Data quality and evaluation tools.
Platform
- More speed: cheaper record publishing, which takes about 40 percent of a run's time, with the same published records (#69), and a faster runtime for YAML-only blueprints if measurements show the need.
Released
1.0.0rc2: A cleaner internal structure
- Reorganised code: the packages sit in layers that an import contract checks, the code that declares and runs a model moves to its own package, and the largest classes are split by their groups, with no change of behaviour. No format, command or record changes. #54
- How desflow Works: diagrams of the core, builder and blueprint packages, and one task instance's steps on Tasks and Processes.
1.0.0rc1: What 1.0 brings
- SimPy's rules: a run ends when no event is left, as in SimPy, and
strictandon_unhandled_failuredefault to SimPy's values. The SimPy Compatibility page shows each SimPy feature in YAML, Builder and Low-level with its status. - SimPy's step order at a tie: a task with one
waitbranch, the task afternext, the actions ofon:and a resumed job go on in the same simulation step as SimPy's process, so records at one instant can change order. #105 - YAML with no Python: every known case runs in YAML alone, with
--var,--watch, generated values,desflow checkanddesflow test. - SimPy's examples: the seven examples of SimPy's docs in YAML, Builder and Low-level. #95
- Record contract frozen: the records 1.x keeps. #51
- Old names removed:
dynamic_des,ddesand the other names kept for compatibility. #84 - Pydantic 2.6.1 or later. #104
- Rewritten docs. Each change that alters records is listed under Upgrading to 1.0.
0.28.0: Library hooks for the server
- Parameter changes that report back:
changereturns aParamChangeor raisesParamRejected,on_changecallbacks receive every accepted change with its source, andregistry_paths()lists the paths a simulation will have without running it. #70 - File ingress:
FileIngresschanges parameters during a run when you edit a local file, with no broker. #86 - Scenario values checked: a scenario step whose value the registry refuses stops the load or the start, instead of being logged and ignored. #93
- Drafting from a description: the AI skill teaches an assistant to draft a model from a description of a process. #94
0.27.0: Schema registry formats
- JSON Schema and Protobuf: serializers and deserializers for both formats, through the Confluent and Glue schema registries, next to Avro. #82
- Glue wire format: desflow writes and reads it itself, so the
glueextra no longer installs aws-glue-schema-registry. - Kafka: the
kafkaextra no longer installs kafka-python, and topics are created through aiokafka.
0.26.0: Storage, schema registry code and Python 3.15
- Storage: Parquet and JSON Lines files on Google Cloud Storage and Azure Blob Storage, and Iceberg tables through SQL catalogs on SQLite or PostgreSQL and the Glue catalog. #32
- Schema registry code: the Confluent schema registry client moves into desflow, so the
confluentextra no longer installs confluent-kafka. #83 - Python 3.15 is supported. #40
- Fix:
GlueAvroSerializerserializes a record. #85 - Docs: page addresses follow the sidebar, and each page kind has one shape.
0.25.0: desflow explain
- desflow explain:
desflow explainshows a simulation as a graph, marks each resource OK, congested or unstable (its queue grows without limit), names the bottleneck and suggests changes. #47 - Commands:
desflow distconverts between a distribution's parameters and its mean and standard deviation.desflow run --sampleprints a few records from a blueprint, and--stdoutsends every record except thesystem.simulation.lag_secondsreadings to the standard output as JSON lines in place of the real sinks. - Library:
load_contextloads a simulation folder from Python. Builder arrivals can name the task they start. - Docs: a generated reference page for the
desflowcommand, and in Learn, Complete Model, theexplainsection of Checking a Model and Check Against Theory. #60
0.24.0: Blueprint schema and AI skill
- Blueprint schema and AI skill: a JSON Schema for blueprints, shipped in the package and on the docs site, so editors complete keys and flag mistakes as you type, with a YAML Keys reference page generated from it. A skill that teaches an AI assistant to write and check blueprints. #41
- Public API test: a test that fails when a public name or signature of the library or the
desflowcommand is removed or changed. #67 - Removal:
resource.queue.items, which warns since 0.23.0, is removed: uselist(resource.queue). - Learn section: the concept pages, Checking a Model, Live Changes, Streaming Out and the How-To pages that do not need
explain. #60
0.23.0: SimPy parity
- SimPy parity: every SimPy 4.1.2 feature natively in YAML, the builder and the low-level API, each checked against SimPy, such as nested conditions, event callbacks, unlimited stores and custom resource types. The SimPy Compatibility page lists each one, and the three differences kept by design. #71
0.22.0: Native core, experiments and replications
- Native core parity: the operations on the SimPy Compatibility page work natively in YAML, the builder and the low-level API, and each is checked against SimPy. They include signals, interrupts, tasks needing several resources, filtered store gets, stopping and stepping a run, and customers who give up on a queue or never join it. #64
- Breakdowns, changing demand and replay: a resource that fails and is repaired, a schedule of times at which an arrival rate or a capacity changes, and arrivals read from a local CSV or Parquet file. #65
- Replications: run a model with many seeds and get each statistic with a 95% interval, so a result is never read from one run. #59
- Experiments: compare designs and sweep parameters over replications, fail an experiment when a result breaks a limit, fit a distribution to measured data, and write a Markdown report, all on one machine. #66
- Speed: faster runs that publish the same records. #24
- Record contract: every record field documented with its type and format, payload keys such as
__table__reserved for desflow, atimezonesetting for timestamps, and nolag_secondsfrom a run at full speed. #51 - Learn section: the shop tutorial extends one shop model page by page and answers a question with a number on each page. It has 20 pages, and the new pages cover replications, comparing designs, sweeps, fitting, patience, interruptions, end conditions and more. #60
0.21.0: Distributions, flows and statistics
- Distributions and seeds: more distributions, including
empirical, which draws from values measured in a real system. Each distribution draws from its own random stream, so adding an arrival leaves the other draws unchanged. desflow needs Python 3.11 or later. #42 - Ingress messages: every ingress connector, Kafka, Redis and PostgreSQL, takes a parameter change as
pathandvalue, the names a scenario step already uses. #51 - Stores, containers and priority: tasks take items from stores and amounts from containers, and a resource serves its queue oldest first, newest first or by task priority. #43
- Flows: routing between tasks by a condition or by probability, entity state that an order keeps from task to task, and delays without a resource. #44
- Statistics and ground truth: wait and service times, throughput, utilisation and queue length as telemetry, with a warm-up period; and ground-truth records of what a scenario changed, so a detector or an agent can be scored against them. #45
0.20.0: Rename to desflow
- Rename to desflow: the package, its import name and its command are all
desflow. The old names,dynamic-des,dynamic_desandddes, were removed in 1.0.
The Changelog lists every release.