Skip to content
trestle

Putting AI agents to work

Pick another answer

Run AI agents under clear rules

Teams use AI agents with Trestle in three separate roles: writing processes, operating live runs, and deciding inside a run. Keeping them apart limits each agent’s reach while the process enforces the rules.

Choice: Review the claimAI agent
  • Pay now Blocked by rule
  • Ask for evidence
  • Send to an adjuster Chosen by agent“It asks for more than the appraisal, and nobody has approved it.”

The ruleNo claim is paid before a person approves it.

Every option offered to an agent appears on the diagram beside any rule blocking it. Here the agent picks “Send to an adjuster” and explains why, while the process refuses “Pay now” until a person approves.
  1. Let coding agents write the process

    Describe the work and let your coding agent write ordinary code. A project from npm create @trestlerun includes agent instructions, lint rules, and tests so it checks against the diagram, leaving code you can read and change.

  2. Operate live runs over MCP

    Over MCP, an agent reads runs, answers tasks, and retries stuck work under the same rules as a person. It stays read-only until you allow changes, and each change is logged as an agent’s under whoever asked.

  3. Keep agent decisions inside your rules

    When a run puts a decision to an agent, it picks from declared options and states why. A rule can bar an option with why and refuse it; the deciding agent cannot change rules it does not own.

  4. Put agent loops on the diagram

    In a bug-fix process, each pass asks a coding agent to run tests, edit code, or finish, with each option stating when to pick it and a ten-round limit. Saved progress survives crashes, and the process can measure spend like tokens and cost while a human approval sits before the merge.

What Trestle leaves to you

Your visit is running on Trestle.

This is the real Trestle engine running a live process in your browser tab, not a simulation. Each of the eight topic pages you open answers its question once, showing the path you have taken and the pages you have not opened yet—until you copy npm create @trestlerun to finish it.