MARK GARASLEGAL AI & SOFTWARE
← Back to all projects

General AI research

Bounded AI orchestration

A research prototype for AI developers to inspect a multi-step workflow, constrain its actions and verify its result separately.

Working research prototype
Intended users
Builders studying controlled AI workflows
What they leave with
A retained execution trace with separate verification results.

01 / Research use

Make a multi-step AI workflow easier to inspect.

A developer is building an AI workflow that takes several actions before returning an answer. When the result is wrong, they need to understand which action failed and which checks actually ran.

The task

The developer needs explicit task state, limits on permitted actions and a verification step that can be inspected separately from the proposed solution.

How the project approaches it

The prototype defines the state and allowed actions, executes a bounded sequence and sends the result through separate verification. Repeatable offline examples retain the trace, including revisions and counterexamples.

What this helps someone assess

The developer has a sequence to inspect and replay instead of only a final answer. This makes the research workflow useful for studying execution limits and checking failures. The current fixtures do not establish that it is ready for legal work or confidential information.

An illustrative research use, bounded by the findings and limits below.

Starts with

A general-AI task with defined state, allowed actions, action limits, and a separate verification step.

Produces

A record of the workflow’s result, the execution limits and the verifier’s assessment.

02 / Workflow

How it works

  1. 01

    Define the permitted work

    Typed state records the task and the actions available to the workflow.

  2. 02

    Execute within the limits

    Each action updates the recorded state and stays within the configured action limits.

  3. 03

    Check the result separately

    An independent verification step checks the output using deterministic fixtures.

  4. 04

    Inspect the trace

    The record shows what was proposed, executed and verified without live provider calls.

03 / Public or synthetic example

An example

For the synthetic task “Calculate 2 * (3 + 4),” the workflow took six permitted actions and two exact-arithmetic verification steps, returning 14. A separate offline example recorded a counterexample and a revision. These examples test the restricted controller; they do not establish general reasoning ability.

What still needs reviewThe tests concern general-AI research. They do not establish suitability for confidential data or consequential legal work.

Build details and capabilities
My work
I designed the workflow, built the software, and tested it.
Built with
Python · Typed state · Verification · Offline fixtures

A long AI workflow can be difficult to inspect once planning, execution and checking are mixed together. This prototype keeps a record of its state and permitted actions, with a separate step to verify the result.

  • Typed workflow state
  • Explicit action limits
  • Separate verification and repeatable offline checks
A choice I made

The part that proposes and carries out the work does not verify its own result. I kept the verifier separate so its checks can be inspected on their own.

04 / Verification

What I tested

Deterministic fixtures verify the research workflow without live provider calls. Current results are recorded in the downloadable verification record.

Limits

This is a general-AI research prototype. Its tests do not establish legal accuracy, suitability for confidential data or readiness for production.

Reviewed 31 October 2026. These software checks and synthetic examples do not establish legal accuracy or performance in production. Client materials and private source code are not included.