Learn OKHAM
A customer asks to move a delivery. Which rule applies? Who can change the order? How will the next person know why it changed? OKHAM connects the rule, the work and the evidence so a team can answer those questions.
How the pieces fit together
- Remember why a decision was made
Project memory lets a person or an authorized agent find the rule, the change and the check behind it.
- Understand what an agent can do
A connector gives the agent access to project tools. Its work profile and permissions govern which of them it can use.
- See what another system can offer
A catalogue describes available operations. For example, an order service can discover how to request a new delivery slot.
Explore the ecosystem in practice
Apply it to your own system
- Start with the code you have
Keep running your application or automation and describe its inputs, rules and expected results.
- Check a change
See which checks examine the contract and which tests exercise the behavior your users rely on.
- Let a state machine run a workflow
Follow the optional execution engine as it checks a delivery request and calls the permitted operation.
Build a workflow, step by step
Pick a business example. Start with the three-hour delivery request, then change the cutoff from two hours to four and trace it again. Select any step to see what it does.
The three lessons below explain how to describe the flow, govern a decision and verify a change.
-
1. Define the flow in an OBC
Read a workflow and trace what happens when a save succeeds or fails.
-
2. Apply a policy to the flow
Use one policy to follow a permitted update and a refused one.
-
3. Make a change someone else can follow
Change a rule, check its effects and record the evidence for the next maintainer.
Technical reference
- Contracts and data
Look up the vocabulary for a workflow, its rules, callable operations and data types.
- Workers and deployment
See how a workflow can run on multiple workers and what it needs to resume.
- Open the contract map
Use the contract map to find the specifications and schemas for the parts you want to define.