Business knowledge you keep.
Capture the lifecycle in reviewable YAML or JSON. The next developer, operator or agent can inspect the same definition.
Define states, decisions and actions in versioned configuration. Give people and agents a shared model of how work progresses—and a clear starting point for the next improvement.
Independent Python package available · Connected Optophi workflow authoring is in development
A purchase request moves from draft to submitted, then to review or approval. Conditions check the information and approval requirements at each transition. Actions describe the work to perform along the way.
An agent can help propose a new approval threshold. Your team can inspect the definition change and evaluate the same cases under both versions before choosing whether to adopt it.
Approval is a lifecycle decision. Ordering and confirmed delivery are separate steps requiring the application's trusted integrations.
Required details are complete. Budget is available.
Automatic approval up to $500
Awaiting reviewAutomatic approval up to $1,000
Eligible for approvalOne changed condition. A different next step. Compare scenarios before adopting a revision. No workflow or purchase runs on this page.
Start with one repeated process. Keep its meaning accessible as the people, agents and systems around it change.
Capture the lifecycle in reviewable YAML or JSON. The next developer, operator or agent can inspect the same definition.
Version the definition, inspect the diff and evaluate representative transitions before adopting a new rule.
Describe states, events, guards and actions. Configure checks for the facts required before a case can move forward.
With persistence configured, keep a case’s state across people, agent sessions and systems. A refund or onboarding case has a lifecycle of its own.
Use the optional runtime’s transition history and metrics to investigate progress, failures and time spent in each state.
Discovery can infer candidate transitions from observed state sequences. Review and compare them; observed behavior still needs a domain expert’s judgment.
Agent reasoning and explicit lifecycle rules can work together. Your team owns the process definition and how it is applied.
Ask an agent to draft a machine, explain a transition, propose an exception path or prepare scenarios. Review the changes as part of your project.
Describe → propose → review → evaluateAn agent can gather information, investigate a case or propose a decision. Route its proposal through the configured runtime to evaluate the next transition.
Gather facts → propose a step → check conditionsChecks apply on the runtime path you configure. Actor identity, approval evidence and external actions need trusted application integrations. An agent-supplied approval flag alone is not authority.
The Python engine computes a transition from the current state, event and context. Add the surrounding layers when your application needs them.
Load a YAML or JSON machine and inspect transition results locally. The core computes the plan; your application owns persistence and action execution.
Follow the quickstartAdd the runtime and a state store for application-owned lifecycles. Bind the guards and actions your process needs.
Explore state storesUse the optional API, UI and worker queue for shared access and queued work, with behavior qualified for your deployment.
Read the worker guideAutomatic migration of active cases, safe rollback and complete replay guarantees need separate runtime support and qualification. This page illustrates a design change; it does not demonstrate those capabilities or a connected Optophi run.
PyCharter describes what data must satisfy. PyStator describes how a business lifecycle can advance. Use each independently, or connect them through supported application interfaces.