Request a demo
← All articles Guide

A practical guide to reviewing agents: from canvas to config files

Every Insight AI Assist agent can be read as two YAML files. What config.yaml and properties.yaml contain, how to regenerate them, and a simple review routine for changes to agents that matter.

A canvas is a good way to build an agent and a poor way to review a change to one. Two boxes look the same whether the prompt inside changed by a word or was rewritten. That is why every Insight AI Assist agent can also be read as plain text: two YAML files, generated from the design, that a reviewer can read line by line.

In short

Regenerate an agent's files and you get config.yaml (the tasks, their types, descriptions and parents) and properties.yaml (each task's settings: prompts, models, routing rules, thresholds). Review those, not the canvas, for any change to an agent that matters, and keep a copy in your own version control.

What the two files hold

FileContainsRead it for
config.yamlThe agent's name, version and description, then every task: name, type, description, parents and propertiesThe shape: what runs, in what order, and what depends on what
properties.yamlEach task's settings: prompts, model names, temperatures, routing conditions, retry counts, human-step promptsThe behaviour: the words a model sees and the thresholds that decide routes
The agent files screen with config.yaml and properties.yaml listed and config.yaml open, showing the claim intake agent's tasks with type, description, parents and properties.
The files for a made-up claim intake agent. Regenerate rebuilds them from the current design.

How the files relate to the design

The runtime runs the agent as saved from the designer. The files are generated from that same saved design when an administrator presses Regenerate on the files screen (or from the API), and the Agents list shows whether an agent's files have been generated. Regenerate after every saved change you want reviewed, so the files match what will run.

A review routine for agents that matter

  1. Decide which agents need review. Anything that writes to a system of record, contacts a customer, moves money or makes a decision about a person. A digest that only reads can skip it.
  2. Change in a draft. Keep the live agent active and make changes in a copy (export the design JSON and import it into a new draft agent), or change it outside working hours.
  3. Regenerate and compare. Regenerate the files and compare them with the last approved copy. Most changes are a few lines in properties.yaml: a prompt, a threshold, a routing condition.
  4. Test on known cases. Run the draft on a handful of inputs whose right answer you know, and read the results in Agent history.
  5. Approve and record. The reviewer approves the file change; keep the approved files in your own repository or document store, with the reason for the change.

Worked example: reviewing one change

A made-up change request for the claim intake agent: “send more claims to a person while the new form beds in.” The analyst changes the agent in a draft, regenerates, and the comparison with the approved properties.yaml shows three changed values:

TaskSettingApprovedProposed
check_confidence (ROUTING)condition on the human-review routeconfidence < 0.8confidence < 0.9
request_missing_data (HUMAN_INPUT)timeout_seconds360014400
assess_claim (PROMPT)temperature0.20.4

The first two match the request: more claims pause for review, and the team gets four hours instead of one to answer. The third was not asked for. A higher temperature makes the assessment less consistent from run to run, which is the opposite of what a bedding-in period needs. The reviewer approves the first two lines and sends the third back. Without the files, all three changes would have been invisible on the canvas. (Task names and values here are illustrative.)

What to look for in a diff

  • Prompts: a new instruction, a removed constraint, a changed output format. A change of output keys breaks the routing step that reads them.
  • Thresholds: confidence cut-offs, retry counts, timeouts on human steps.
  • Routing conditions: a new branch, or a default route that changed.
  • Models: a model name or temperature change can change behaviour as much as a prompt.
  • Parents: a task that now runs before a check it used to follow.
Who can change what. Creating and editing agents, and generating their files, are administrator actions; running agents and reading history are open to signed-in users. Keep the administrator group to the people who own agent changes.

Keeping copies outside the product

Three API calls cover most of what a pipeline needs: POST /api/agent/create_file/{agent} regenerates the files (administrators only), GET /api/agent/files/{agent} returns them, and GET /api/agent/{agent}/design/export returns the design JSON. A nightly job that fetches both and commits them to your own repository gives you a history of every agent without anyone remembering to do it. The files on screen are generated output and read-only: to change an agent, change the design and regenerate.

Questions reviewers ask

Can we edit the YAML and load it back?

Not through the files screen. Changes go through the designer, so the canvas and the files never disagree about what will run. To move an agent between environments, export and import the design JSON.

Do the files contain secrets?

They contain whatever the nodes' settings contain. Keep keys and passwords in the deployment's configuration rather than in node settings, and check for them in review like anything else.

When should the files be regenerated?

After every saved change that you want reviewed, and before any approval. A file set that is older than the design describes an agent that no longer exists. If your team keeps copies in a repository, regenerate as the first step of the job that fetches them, so the copy always reflects the saved design.

Is the canvas still needed?

Yes. The canvas is where agents are built and where a process owner checks the flow makes sense; the files are where a reviewer checks the details. Most teams use both.

Reading config.yaml quickly

Each task in config.yaml has the same handful of keys, so a reviewer can scan a long agent in minutes. Read the type first (PROMPT, ROUTING, HUMAN_INPUT, TOOL, CODE...), then parents to see what has to finish before it runs, then the description. A task with several parents is a join; a ROUTING task's rules say which of its children runs. When the shape looks right, move to properties.yaml for the detail of each step. Two habits help: keep task names stable, so a diff shows a changed setting rather than a removed and re-added task, and keep a short note at the top of the description saying what the agent is for and who owns it.

Next: how to choose your first agent.

See it on one of your processes

Bring one process you'd like an agent to run

We'll design it with you on the canvas, run it on sample data, and show the run log and history, as a hosted trial or in your own cloud.

Request a demo