Progressive Crystallization

From agent exploration to verified software.

- Arun Malik

AGENTIC OPEN WEIGHTS · A OPEN WEIGHTS · B OPEN WEIGHTS · C DECISION WORKFLOW RULE? ACTION FALLBACK CRYSTALLIZED CODE

01

Where reasoning belongs

Not every coffee order needs the same kind of intelligence.

01 · New drink

How should we make it?

Explore

No recipe exists. Agentic discovery and judgment are useful.

02 · Ambiguous order

What did the customer mean?

Interpret

The procedure may exist, but one bounded ambiguity still requires judgment.

03 · Covered order

Which recipe applies?

Route

Map the request to a supported recipe, refresh current conditions, then let software execute and verify it.

Which decisions still need to be decisions?

02

The reusable path

The order supplies parameters. The recipe supplies the workflow.

01 · Order

Customer request

Order #042 1 item

TURMERIC OAT MILK LATTE

MilkOat
TemperatureExtra hot
Sugar syrup1 shot
Runtime parameters✓

Parameters captured

02 · Recipe

Reusable workflow

turmeric-latte.recipe

milk = order.milk temp = order.temperature syrup = order.syrup

1Pull the espresso shot

2Steam milk with turmeric

3Add syrup and combine

4Check temperature and finish

Recipe matched

03 · Execution

Espresso machine

Apply the recipe using current ingredients and machine state.

Workflow running

04 · Result

Turmeric latte

Oat milk, extra hot, one shot of sugar syrup.

160°F · verified

Different parameters. The same repeatable workflow.

03

One execution is not a reuse contract

A receipt is not a recipe.

Receipt · one execution

Order#042
DrinkTurmeric oat latte
MilkOat
Temperature160°F
Sugar syrup1 shot
OutcomeVerified

Evidence that this order worked once.

Recipe · reusable contract

Turmeric oat latte

01

Check that the drink and requested modifiers are supported.

02

Bind milk, temperature, and syrup from the current order.

03

Execute the known preparation steps consistently.

04

Verify temperature and completion; route exceptions for investigation.

A reviewed contract for the next covered order.

One successful execution is evidence, not permission to repeat it everywhere.

04

What the recipe becomes

The reusable recipe becomes executable, inspectable software.

01
Check coverage

Use the recipe only when it supports the requested drink and modifiers.

02
Bind the parameters

Map oat milk, extra-hot temperature, and syrup into the reusable workflow.

03
Execute and verify

Run the machine, check the result, and recover explicitly when verification fails.

turmeric-latte.ts explicit · inspectable · testable
function makeTurmericLatte(order, machine) { if (!recipe.supports(order)) return agent.investigate(order); const parameters = recipe.bind(order); const result = machine.execute( recipe.steps, parameters); return recipe.verify(result) ? result : recipe.recover(result); }
Coverage · parameters · execution · verification

The order changes the parameters, not the execution contract.

05

From analogy to precedent

The coffee is the analogy. The engineering move is not new.

Slide 5 · coffee analogy

A recipe becomes inspectable software

Parameters vary. The reviewed execution contract persists.

The metaphor

Shared engineering pattern
Capture knowledge Recipe · runbook
Engineer the stable path Review · safeguards
Maintain execution Code · automation

How engineering works today

Operational guidance becomes maintained automation

TSGs · runbooks · playbooks Operational guidance
→
Engineers encode the stable path Safeguards and integration
→
Scripts · workflows · automation Maintained with the software

People execute the guidance first. Engineers encode the repeatable path with checks, recovery, and integration.

A familiar engineering path

Progressive Crystallization extends a familiar engineering practice.

06

Traditional automation → executable playbooks

The alert is the same. The operating model changes.

Alert or task Same input
Traditional Automation plus documentation

Gaps leave the executable path.

Scripts and workflows
→
Unsupported gap
→
Human investigates
→
TSG or runbook updated
New · highlighted path Executable playbook

Automation, agents, and human judgment share one contract.

How much is known? Select the playbook type that matches the uncertainty.
Deterministic playbook Fully known and repeatable Scripts and workflows. No agent needed.
Hybrid playbook One ambiguous decision does not make the whole workflow agentic Collect evidence deterministically → agent makes one bounded decision.
Agent-led playbook Goal known, path ambiguous Agent plans and uses tools with human guardrails.
Verified outcome Or human escalation when authority or confidence is insufficient.

Agents handle bounded gaps today. Engineers remove repeatable gaps tomorrow.

07

Reasoning is not permission

A recommendation cannot grant its own authority.

Agent reasoning

Proposed action

Evidence, rationale, intended target, requested operation, and expected consequence.

Capability
Granular authorization contract

Every consequence crosses explicit gates

01 Identity Who or what is acting?
02 Tool Which tools are available?
03 Function Read, write, or destructive?
04 Parameter Which targets and values?
05 Approval What requires a person?
Actor → reasoning decision → tool call → service response → verified outcome
Permitted consequence

Execute, audit, verify

The authorized operation runs within scope. Its result is independently checked and attributable.

Authority
Generated commands, configurations, or high-impact actions require stronger validation and explicit approval.

Capability is not access. Interpretation is not authorization.

08

Two linked loops

Recover the system now. Improve the procedure deliberately.

Runtime · operational recovery

Handle this case

Software owns state, deadlines, retries, durable waits, and stopping conditions.

ObserveCollect fresh, validated evidence
DecideApply the known rule or bounded judgment
ActCross the authorization boundary
VerifyRecover, retry, roll back, or escalate
Runtime evidence and exceptions ↓
↑ Reviewed contract and routing update
Design time · engineering learning

Improve the next case

Human actions are evidence, not unquestionable labels. Review the outcome and context.

Preserve evidenceInputs, decisions, tools, failures, unknowns
Draft contractScope, typed behavior, exceptions, owner
Test and reviewReplay, counterexamples, dependencies
PromoteRelease only the covered variant
No automatic promotion: unsupported, unsafe, or unverified cases remain visible.

Runtime handles the incident. Engineering changes the maintained system.

09

Measure the whole operating system

Not just the model call. Not just the successful path.

Total-cost ledger

Zero inference is not zero cost

JudgmentToolsPeopleInfrastructureMaintenanceExceptions

Pay for judgment where it changes the result; account for the complete path.

Scale multiplier

Small recurring decisions compound

One repeated decision×Operational recurrence=Cumulative effort and risk

Scale motivates engineering discipline; it does not prove causal savings.

Full denominator

Keep every eligible outcome visible

Eligible cases
→
Verified outcomeHuman escalationUnsupportedUnknown or unverified

Do not report only accepted cases or relabel every remainder as failure.

Execution portfolio

Different scenarios keep different forms

Agent-led
path uncertain
Hybrid
judgment bounded
Deterministic
decisions specified

No target percentages. No mandatory maturity ladder. Compare like-for-like scenarios.

Same verified outcome contract Coverage · recovery · cleanup · escalation · total effort · maintained correctness

Optimize verified recovery per unit of risk and total effort, not automation purity.

10

Closing synthesis

Give AI the unknown. Give software the understood.

Unknown

Investigate

A new failure or unfamiliar request needs evidence gathering, hypothesis testing, and visible uncertainty.

Developing understanding

Capture and bound

A hybrid playbook keeps deterministic evidence collection while an agent interprets only the ambiguous decision.

Understood

Execute and verify

A reviewed procedure runs as maintained software and returns to investigation when its assumptions stop holding.

Observe→Investigate→Capture→Review→Promote→Verify→Learn
Start tomorrow: choose one recurring question; define its evidence, authority, exceptions, and verified outcome.
Every stage keeps a visible path to human review and escalation

Progressive Crystallization places judgment where it belongs.

11

Questions?

Questions, counterexamples, and disagreements are welcome.

12

Thank You

13