TETHESIS
Solutions / Governed automation
TETHESIS / GOVERNED AUTOMATION

Work that persists.
Execution you can trust.

Coordinate people, services and AI agents through persistent workflows, explicit dependencies and independent authority. Recover from interruptions, respond to change and preserve the actual outcome.

From conventional data processing to multi-agent operations, build execution on one governed foundation.

Durable, governed executionPeople, services and agents coordinate through durable task state, evidence, policies and independent authorization. External results are reconciled and returned to the workflow record.PEOPLEReview · discretionSERVICESRules · integrationsAGENTSAnalysis · coordinationDURABLE WORKFLOW STATETasks · Dependencies · Checkpoints · EvidenceINDEPENDENT AUTHORITYIdentity · Policy · Freshness · ApprovalAUTHORIZED EXECUTIONCommit · Receipt · ReconciliationOUTCOME / NEW EVIDENCE
Workers can change. Durable state, evidence and authorization remain.
01 / THE EXECUTION MODEL

Automation should survive the worker.

A process may run for seconds or months, involve many systems, and pass between human reviewers, deterministic services and intelligent agents. Durable workflow state should not depend on a running conversation, a container or a single orchestration process.

CONVENTIONAL

Business automation

Data processing, ETL, scheduled jobs, rules, integrations and document workflows.

AGENTIC

Intelligent work

Research, reasoning, planning, tool use, recommendations and specialist collaboration.

SHARED FOUNDATION

Governed execution

One persistent record of work, dependencies, authority, evidence, checkpoints and outcomes.

01

Plan

Version the process, dependencies and criteria.

02

Claim

Assign work with scoped identity and a fenced lease.

03

Perform

Read evidence and execute approved analysis or conventional processing.

04

Validate

Check current inputs, worker authority and required approvals.

05

Commit or reconcile

Record internal state and separately verify external effects.

06

Resume

Recover from checkpoints; reassess affected work when state changes.

↺ Every verified outcome can unlock dependent work or trigger reassessment.

The process is not the worker

A task describes durable work; a worker is an authorized, replaceable execution identity. A new worker can resume from retained checkpoints without assuming that every previous step completed.

02 / DURABLE WORKFLOWS

Make dependencies, handoffs and state explicit.

Represent process definitions and instances as governed records. A process can branch, join, wait, escalate, be cancelled or be reassessed as the business context changes.

01

Versioned process definition

Define permitted state transitions, task types, dependency conditions, review gates, retry policy, deadlines and ownership. Pin the relevant definition version for each run.

EXECUTION CONTRACT

Changes to the process definition do not silently alter in-flight instances. Apply explicit migration or restart policies.

02

Work graph

Link tasks to prerequisite work, evidence, decisions, artifacts, deadlines and target entities. Use explicit joins and distinguish optional, conditional and required dependencies.

EXECUTION CONTRACT

A task becomes eligible only under its reviewed readiness criteria. Missing or failed dependencies are visible.

03

Durable task lifecycle

Record proposed, ready, claimed, running, waiting, completed, failed, cancelled and superseded states as applicable to the workflow.

EXECUTION CONTRACT

Use supported transactions and revision checks for protected transitions. Waiting for a person or provider is not an active worker lock.

04

Checkpoints and recovery

Persist material steps, inputs, outputs, tool results, external action intents and continuation state. Record the last confirmed progress.

EXECUTION CONTRACT

Resume according to the recorded state. Never repeat a consequential external action solely because a worker restarted.

05

Reassessment

Track derivations from evidence, rules and prior work. Identify downstream outputs needing review when their recorded dependencies change.

EXECUTION CONTRACT

Retain completed historical work; create explicit follow-up, supersession or compensation where appropriate.

03 / CONCURRENT WORK

Coordinate workers without trusting timing.

Multiple workers can evaluate tasks, process records and propose changes concurrently. InvariantDB supports claims, leases with fencing tokens, tracked reads and conditional writes that guard supported commit operations.

WORKER A
Claims taskFence 17
→
Long analysisLease expires
→
Late write refusedFence 17 superseded
WORKER B
Waiting
→
Claims taskFence 18
→
Protected commitSubject to other guards

Illustrative fenced lease coordination. A higher token is not a substitute for permissions, current evidence or required approval.

CONDITIONEXPECTED BEHAVIOR
Concurrent updatesUse graph-scoped serializable transactions and supported revision conditions rather than relying on client-side checks.
Changed read setExplicit conditions or supported tracked reads can refuse protected writes when covered inputs change. Tracked read validation applies to supported read-session shapes. Future-dated single-label reads are covered by the reported fix; transaction-integrated tracking and relationship-read tracking require separate version verification. Use explicit revision conditions where tracking coverage is unavailable.
Expired or superseded leaseA stale fencing token cannot authorize a protected commit covered by the lease contract.
Duplicate write requestUse idempotency keys within the documented scope; inspect recorded results instead of blindly repeating a mutation.
Restart or lost responseUse durable run state, change-feed checkpoints and recorded outcomes to determine safe continuation.
04 / AUTHORITY

A task assignment is not permission to act.

Every worker operates under explicit identity and scope. Planning and reasoning can be delegated without granting access to every record or authority to perform every suggested action.

WORKProposed operation

Task · evidence · action intent

CHECKIndependent authorization

Principal · scope · policy · freshness · approval

OUTCOMEAuthorized transition

Commit · hold · refuse · reconcile

Least privilege

Restrict graph, node, property and tool access. Delegate narrower, time-limited credentials for agent or service runs.

Approval and separation of duties

Use configured held-write policies and application-level approval scope for material actions. Keep approval identities separate from proposing workers.

Protected changes

Revalidate material inputs, relevant policies, task ownership and authority at the appropriate commit boundary.

Controlled tools

Use restricted, typed adapters. Untrusted documents and model outputs cannot establish credentials, policy or execution authority.

Cancellation and suspension

Revoke or suspend relevant grants; prevent new claims and protected actions. External effects already initiated may need separate reconciliation.

Traceability

Retain acting principal, action intent, input revisions, rule version, approval, commit outcome and external receipts where applicable.

RUNTIME / BOUNDED AGENT EXECUTION

Give agents a harness, not unrestricted tools.

Python and Node SDK harnesses compose scoped keys, trace lifecycle, operation budgets and tool policies. Read, propose and act are distinct tool classes; model-supplied consent is stripped and the available actions depend on what the model has seen.

Run lifecycleThe Python and Node SDK harness creates a delegated run credential, starts the agent trace, applies its operation budget and revokes the credential on completion.
Tool policyClassify tools as read, propose or act. Reject unknown arguments and command-like parameters under the configured policy; strip model-supplied consent arguments. Tool availability depends on prior reads.
Information-flow controlsFence model-visible context by trust tier, strip hidden fields and gate tools by the lowest tier of content seen. These are runtime controls, not a guarantee against every prompt-injection technique.
Delegation chainCaller → agent → task → read/propose credentials. Each child is no wider than its parent; credentials remain outside model-visible context.
Server enforcementConfigured authority rules, held approvals and stale-approval refusal; kill switch and break-glass controls; per-operation budgets; read-only and limited MCP connections.
Attribution and evidenceRecord agent traces, write and answer receipts, provenance and memory episodes. Optional trust stamps record person/agent attribution and credential; trust stamps are off by default.
05 / EXTERNAL ACTIONS

The database commit is not the external outcome.

A workflow can durably record an intention to call a provider, but an external system has its own transaction and failure semantics. Treat the boundary explicitly.

INSIDE THE GOVERNED RECORD

Action intent

Authorized proposal, idempotency key, input pins and durable dispatch state.

OUTSIDE THE TRANSACTION

External provider

Scoped adapter, provider request, response, lookup and reconciliation where available.

PROVIDER STATEREQUIRED HANDLING
Confirmed successRecord the provider's evidence and the effect it confirms. Mark dependent work ready only under its criteria.
Confirmed failureRecord the failure and permitted next step. Apply the adapter's retry policy only if the operation is safe to repeat.
Unknown outcomeA timeout or lost response does not establish failure. Query the provider by stable reference if possible; otherwise route for human adjudication.
Duplicate requestUse provider-supported idempotency or a validated deduplication mechanism. Do not promise exactly-once external effects without a corresponding provider guarantee.
Cancellation or compensationRecord an independently authorized compensating action when supported. Do not represent it as erasing the original event.
ReconciliationResolve discrepancies between recorded intentions and provider state; preserve both the evidence and the resolution.

No distributed transaction by implication

Graph-scoped atomicity does not extend automatically to an email, a payment, a policy administration system, a shipment or a remote graph. Guarded-action recipes and helper libraries in Python, TypeScript and Rust support proof of action ownership. See the guarded external actions overview for the draft self-hosted broker boundary. Integration contracts, authentication, recovery and external effect controls remain explicit application responsibilities.

06 / WORKED EXAMPLE

Handle the exception, not just the happy path.

A governed workflow should remain accountable when its assumptions stop being true. This example combines deterministic processing, specialist analysis, human approval and an external operation.

ILLUSTRATIVE / PROCUREMENT WORKFLOW

A purchase order is ready. Then the supplier changes.

A conventional procurement service evaluates a request. A specialist agent checks the supplier documentation. A manager approves a proposed order against the supplier revision, price and approved budget. Before dispatch, new evidence changes supplier eligibility.

PROPOSED ACTION / PO-184
Supplier
Revision 12
Price
Approved quote v4
Authority
Manager approval scoped to proposal
External effect
Not yet confirmed

Preserve the original approval, but do not treat it as authority to issue a materially changed order. Route the affected work for review.

T1 / READY

Proposal and approval recorded

Evidence revisions, applicable policy and intended action are linked.

T2 / CHANGE

New supplier evidence arrives

Dependency traversal identifies the affected proposal.

T3 / GUARD

Dispatch blocked

A supported commit-time revision or read-set check refuses stale protected state; application authorization is revalidated before dispatch.

T4 / RESUME

Reassess and reconcile

After review and any required new approval, issue through a scoped adapter. If the provider times out, record unknown and reconcile before retrying.

07 / OPERATIONAL SUPERVISION

See what is running, waiting, blocked or unresolved.

A reliable automation program needs an operational control plane. The proposed workspace provides visibility into workflow instances, agent runs, service work, claims, exceptions and external effects without granting supervisors unrestricted domain access.

Work queues

Ready and claimed tasks, prerequisites, priorities, deadlines and responsible owners.

Approval queues

Pending proposals, pinned evidence, scope, required reviewers and reasons for hold or refusal.

Run history

Recorded steps, principal identities, model and tool versions, checkpoints and relevant evidence.

Exception management

Stale inputs, failed prerequisites, denied actions, lost leases, retries, missing evidence and manual review.

External reconciliation

Pending or unknown provider results, lookup evidence, adjudication and approved compensation.

Operational measures

Queue age, throughput, verified completion, interruption recovery, approval latency, stale work, unresolved actions and resource usage.

Operational visibility must be scoped

Apply appropriate access controls to task inputs, artifacts, traces, memory and historical queries. Avoid copying restricted evidence into broadly accessible logs or summaries.

08 / EXECUTION ARCHITECTURE

Orchestration on a governed foundation.

The Tethesis execution layer coordinates durable work. The agentic layer integrates models and tools; conventional services and human reviewers participate under the same contracts. Domain workflows, schedulers, queues, adapters and operating policies are deployment-specific.

APPLICATIONS
Business processes and operational workspaces

Data processing · Procurement · Underwriting · Claims · Engineering · Compliance

EXECUTION
Durable coordination and control
Process and task stateDependencies and readinessClaims and checkpointsReview and approvalAction intents and receiptsRecovery and reconciliation
WORKERS
Human, conventional and agentic execution

Scoped identities · Replaceable workers · Approved tools · Validated domain services

FOUNDATION
InvariantDB

Bitemporal graph, vector and memory · Transactions · Conditional writes · Fenced leases · Change feed · Provenance · Access control

09 / APPLICATIONS

One execution contract. Many kinds of work.

Begin with a repeatable business process, then compose intelligent analysis where it adds measurable value.

Enterprise data processing

Ingestion, enrichment, transformation, quality checks, resumable consumers and governed data publication.

Document and knowledge operations

Ingest approved sources, extract and validate structured evidence, coordinate review and publish authorized artifacts.

Enterprise service operations

Coordinate tickets, vendor onboarding, incident review, remediation, service changes and documented handoffs.

10 / ADOPTION

Automate a workflow. Earn the right to expand.

Start with internal state and reversible or advisory work. Establish the authorization and recovery model before permitting consequential external actions.

01

Map the process

Define inputs, outputs, dependencies, roles, state transitions, source systems and failure conditions.

EXECUTION CONTRACT

Validate the workflow and its scope with owners before introducing autonomous work.

02

Implement durable internal work

Connect workers to persistent task state, evidence, checkpoints and native guarded commits.

EXECUTION CONTRACT

Test interruption, concurrent claims, stale writes, denied access and replay of recorded steps.

03

Introduce review and controlled tools

Bind decisions to evidence, restrict worker credentials and use independent approvals and typed adapters.

EXECUTION CONTRACT

Test untrusted input, escalation, approval invalidation and scope enforcement.

04

Enable bounded external execution

Add provider-specific idempotency, reconciliation, action budgets and supervision; expand gradually.

EXECUTION CONTRACT

Test timeouts, ambiguous outcomes, duplicate requests, cancellation, compensation and recovery before widening authority.

Measure verified outcomes

Use end-to-end cycle time, human review load, task completion, recovery time, error rates, duplicate attempts, unknown external outcomes and evidence completeness. Choose acceptance thresholds appropriate to the workflow.

Build automation that survives reality.

Connect durable work, evidence, authorization and outcomes. Expand autonomy only as the operating controls are validated.