Start assessment
← All articles

Article · Software engineering

The Intent Era

A conversation can create a useful interface. A precise, reviewable intent can govern what that interface is allowed to do.

Pencil and tracing paper with a hand-drawn workflow

Consider a small business that wants one morning view of stock, orders and outstanding payments. Its owner describes the view and an AI system assembles it from the inventory and accounting services already in place. A day later the owner asks for automatic reminders to customers with overdue invoices. The conversation now spans two different kinds of authority: reading data and initiating an external action.

The layer between asking and acting

I think of a cognitive operating system as an orchestration layer that interprets a request, finds services and decides how to coordinate them. It can sit above existing applications and operating systems. The important engineering question is what that layer can do when a request admits more than one interpretation.

A contract can make the answer visible. Start with structured Markdown that names the trigger, permitted data, actions, approval rules and failure behavior. Translate it into a typed intermediate representation that policy checks and a generator can both consume. A language model can help draft the contract and ask about missing thresholds. The approved representation can be versioned and built with pinned inputs and toolchain versions.

Make a small change you can trace

Try the inventory example with an explicit stock threshold, read-only access and one approved recipient for an internal alert. Run two cases: stock dips below the threshold, then the workflow requests a destination outside the approved list. Inspect whether you can trace both outcomes to the spec and policy decision. Then change only the threshold and verify that the build and test evidence identify exactly what changed.

This also matters for disposable apps. The temporary screen can be deleted next week while the signed build record, access decisions and audit trail remain available to the organization. That separation lets people explore new ways of working while operations teams keep track of what was allowed to happen.

Further reading: Open Policy Agent documentation.

A request becomes a contract

Take the overdue-invoice reminder. A safe first version can prepare a draft without sending it. The contract might specify that an invoice must be overdue by at least seven days, that disputed invoices are excluded, and that the only available recipient is the contact verified by the accounting system. A collections manager approves the exact draft and recipient. If the invoice is paid while awaiting approval, the approval expires.

These examples expose questions that a prompt can gloss over. Does “overdue” use the business’s time zone or the customer’s? What happens when there are two verified contacts? Is a request to “remind everyone again” allowed to create duplicates? A system can ask about the unresolved rules. It should not silently select a policy and execute it.

Walk through one decision with evidence

Imagine invoice 284 is eight days overdue. The agent proposes a message, and the reviewer approves it. Before dispatch, the system reads the invoice status again and finds a payment. A policy check denies the action. The trace should show the intent version, the invoice version at proposal and at dispatch, the approval scope and the reason the action was blocked. Avoid storing sensitive message contents in traces unless a specific review requirement calls for them.

Run the case twice, then simulate a timeout after dispatch. Verify that retries cannot generate an additional reminder for the same invoice and reminder period. Try an approved invoice with a different recipient and check that the approval no longer applies. Those cases give a test team a compact starting point for examining the boundary between a proposal and an authorized action.

Where the research fits

ReAct showed how language models can interleave reasoning and tool actions in experimental tasks. That research supports the usefulness of an orchestration layer. The proposed contract, authorization and build steps here are design choices for putting such a layer into a real workflow. Keep them independently inspectable so a fluent explanation from the model has no bearing on whether an action is allowed.

For a first implementation, you may only need a small schema with an action type, a resource identifier, a requester, approval state and expiry. Introduce deterministic generation when the contract needs to produce several consistent artifacts, such as a workflow, its tests and deployment settings. Ask three people to reconstruct the invoice outcome from the resulting records. If they have to read a transcript to discover the rule, the spec has more work to do.