A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.
1,166
stars
1,728
commits
Shell
primary language
Sep 3, 2026
updated
Workflow is a unidirectional data flow (UDF) library that provides navigation and state management for Kotlin and Swift applications. It can be compared to (and helped inspire!) TCA, Circuit and Molecule.
Workflow's main difference from its peers is its opionated take on navigation: that navigation is just another form of presenter state to be managed, not a separate special concern.
Workflow…
See the square/workflow-swift repository.
See the square/workflow-kotlin repository.
Workflow discussion happens in the Workflow Community slack. Use this open invitation.
Workflow maintainers also hang out in the #squarelibraries channel on the Kotlin Slack.
See RELEASING.md.
Copyright 2019 Square Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

(top 30 of 37)
Shell
76.0%
Ruby
24.0%
A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.
1,166
stars
1,728
commits
Shell
primary language
Sep 3, 2026
updated
Workflow is a unidirectional data flow (UDF) library that provides navigation and state management for Kotlin and Swift applications. It can be compared to (and helped inspire!) TCA, Circuit and Molecule.
Workflow's main difference from its peers is its opionated take on navigation: that navigation is just another form of presenter state to be managed, not a separate special concern.
Workflow…
See the square/workflow-swift repository.
See the square/workflow-kotlin repository.
Workflow discussion happens in the Workflow Community slack. Use this open invitation.
Workflow maintainers also hang out in the #squarelibraries channel on the Kotlin Slack.
See RELEASING.md.
Copyright 2019 Square Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

(top 30 of 37)
Shell
76.0%
Ruby
24.0%