Manual Build
Build an automation in Studio
Describe a process in your own words. The build agent designs it against your systems, asks what it can’t decide for you, and proves it before anything runs.
On this page
Start a build
Building needs the member role or higher.
- Click New automation on Home or the Automations page. Studio opens on Describe the process you want to automate.
- Choose the business function: Finance operations, IT service operations, People operations, Revenue operations or Customer support operations. It sets which roles approve and which actions Boundlane recommends forbidding.
- Describe the process: the outcome, the decision and the exceptions. Or pick one of the suggested openers.
- Press Enter to send. Shift+Enter starts a new line.
Sending the first message creates a draft. It appears on the Automations page under In progress, and Studio in the sidebar reopens your latest build.
Attach a procedure or work instruction
If the process is written down, attach the document. Click Attach an SOP or work instruction, or drag the file onto the page. You can attach before you type anything.
| Limit | Value |
|---|---|
| File types | PDF, PNG, JPG, GIF, WEBP, TXT, MD, CSV and DOCX |
| Documents in one build | 8 |
| Size of one document | 18 MB |
| Pages in one PDF | 90 |
Each attached file shows a note on what was read. Text in scanned pages is recognised in English. For a type Studio can’t read, export the document as a PDF and attach that.
Work with the build agent
The agent works in the open. Each burst of work lists its actions, such as Searching your schema, Generating tools from your schema, Setting guardrails and Writing an eval. Open a row to see what was sent and what came back.
Answer its questions
The agent asks when a decision is yours, such as a tolerance or who approves. It records open questions in the package. In the panel on the right, under Requirements, questions and decisions, click Answer to reply to one. Questions under Unanswered, and blocking stop promotion until you answer them.
Stop, leave and come back
- You can type your next message while the agent works; it reads the message at its next step.
- To stop, click the Stop button where Send was. The agent finishes the action in progress and saves what it changed.
- You can leave Studio. The build keeps running, and Studio in the sidebar shows Working until it finishes.
- While a build runs, only the person who started it can reply.
If the agent says it reached a time or spending limit and stopped part-way, your work is saved. Say “carry on” to continue.
Confirm what only you can confirm
Some actions change your workspace: connecting a system, promoting, running the automation, changing a stage, replacing rule rows, installing a template and adding a member. For these the agent shows a card, Confirm before the agent goes ahead, with Boundlane’s own description of the action.
- Click Confirm to let it go ahead, or Not now.
- Only you can confirm. The agent can’t confirm for you, and neither can a connected assistant.
- Sending any other message clears the card.
Credentials
When the agent creates a connection that needs a secret, a box titled Credential for … appears. Check the addresses under Endpoint and Sent only to, paste the key, token or password, and click Store. The secret goes straight to the vault. It is not part of the conversation, so the agent never sees it.
Read the package
The panel on the right is the Automation package: everything the automation is. Nothing runs that isn’t in it.
| Section | What it holds |
|---|---|
| Requirements, questions and decisions | What you asked for, what is still open, and what was decided. |
| Trigger | What starts a run: a schedule, a webhook, an email, another automation, or a person. |
| Connectors | The systems it uses and the addresses it may reach. |
| Tools | Each action it can take. Tools that write, and forbidden ones, are marked. |
| Rules tables | The rows it decides with. An operator edits them later without a rebuild. |
| Process | The steps in order, and where a person decides. Click it for the full diagram. |
| Pages | The screens it gives the people who operate it. |
| Evals | Its tests, with how many pass and whether the gate passed. |
| Open issues | What must be resolved before promotion. |
Promote to rehearsal
Promotion needs the admin role or higher. The button reads Promote to rehearsal: a first version is released at the Rehearsal stage.
- Resolve the open issues and answer the blocking questions. The button stays unavailable while any remain.
- At the bottom of the package panel, click Promote to rehearsal.
- Wait for the gate. It checks that the package is valid, inspects the generated code, runs the automation’s own tests, and confirms that nothing can act without being declared.
- When the panel shows Promoted · shadow, click Open the automation.
If the gate refuses, the panel shows The promotion gate refused this package. with each reason. Ask the agent to fix them, then promote again.
Build an agent
An agent is an assistant people pick when they start a Chat session: its instructions, the tools it may offer and who may use it. It reaches nothing of its own. Every tool it offers is Chat’s or another package’s, and a session offers only the tools the person may use, so an agent narrows what Chat does and never widens it.
- Start a build and choose An agent on the canvas. Describe who talks to it and what it helps them with.
- The build agent writes the instructions, picks the tools from what your workspace has, says who may use it and writes test cases. Ask for a change in plain words.
- In the package panel, read Who may use it, Tools it may offer and Limits.
- Under Test cases, click Run test cases. Each case runs in Chat’s own turn, with every tool answered from the case: nothing reaches a live system and nothing is changed.
- Click Promote to rehearsal. In rehearsal, only the people who may build it can use it, marked as in rehearsal. If the agent already has a version in use, its audience keeps that version until you release this one. To take the agent from its audience at once, click Stop agent on its versions page.
- On the agent’s page, click Advance to release it to everyone in its audience. It leaves rehearsal only when every test case passed on this exact version.
A test case
A test case is a person’s message, what each tool answers, and what must be true of the turn: how it ends (a reply, a confirmation card, a proposal for a different person, a question or a refusal), which tools it calls and must not call, and exact values the reply holds. Without a model, the offline planner calls the tools a message names. With the workspace’s model, tick the box beside Run test cases: each case shows its tokens and cost, and a run spends at most $1.
Replay a session someone kept
A person who uses the agent can keep one of their own sessions for testing it. Under Sessions kept for it, click Replay against this draft. The draft runs through the session’s turns with every call answered from the session, and the panel lists where it behaves differently: a call made or no longer made, a card added or missing, a change without its card, a proposal, a refusal. You see the turn, the tool and the kind of difference, never what the person said or what came back.
A draft is tested and replayed only with tools your workspace has: remove a tool it doesn’t have before you run the test cases or a replay. A session somebody else kept replays on Boundlane’s built-in planner, not on your workspace’s model, so a draft’s instructions can’t be used to ask what the person wrote. A session of your own replays on the model you choose.
Who releases a version that widens
A tool added, a higher level of autonomy, a wider audience, discoverable and a higher limit for a session each widen what the agent may do. Your workspace’s approver rule decides who releases such a version: with Require a different person to approve than the one who started the run on, a person other than the one who saved it releases it; with it off, the person releasing confirms each widening, and the audit trail records that they did. The agent’s page says which rule applies and why.
A version is compared with the version the agent’s audience has, and the agent’s page names it. A widening you promoted and never released stays listed on every later version until a version that includes it is released. Once a version is held back to rehearsal or stopped, its audience has none, so everything the next release offers is listed.
Rolling back to a version that offers more than the audience has now takes nothing away: the version in use stays in use. With the approver rule on, your rollback puts the older version forward, and another person who may release restores it. With the rule off, you confirm each widening and it is restored. A rollback to a version that offers no more than the audience has is one step.
boundlane.json with spec.kind: "agent", and each test case in tests/<slug>.json. See Build with your own coding agent.Change an automation later
You change a deployed automation the way you built it. On its page, click Continue in Studio, or open the Build sessions tab and click New build session. Describe the change, and promote the new version when the agent is done. The running version keeps running until then.
Three things bring evidence from runs back to the agent:
- Feedback on a run: answer How did this run go? on the run’s page. The agent reads it the next time the automation is redesigned.
- Make this a regression test on a run’s page turns that case into a test.
- What the runs are telling you on the automation’s page lists findings across runs.
Many changes need no rebuild: an operator edits the live rows of a rules table. See Change a rule without a rebuild.
Start from an example in Exchange
Exchange holds published automations, grouped by business function. Each card shows the systems it uses, whether it writes, whether it asks for approval, and what it forbids.
- Open Exchange in the sidebar, under Build, and expand Process and requirements on a card to read what it does.
- Click Install. Boundlane copies the whole package into your workspace as a draft, with the publisher’s credentials and reachable addresses removed.
- Click Open it in Studio and work through the list: connect your own system, review the operating instructions, and replace the example rule values with yours.
- Promote it to rehearsal and run it against real cases.
Write your organisation’s rules as skills
A skill is something your organisation has decided: a tolerance, a definition, an escalation rule. The build agent reads your skills before it designs, so a rule written once applies to every automation after it.
- Open Skills in the sidebar, under Build, and click New skill.
- Enter a Title, for example “Three-way match”.
- Under When to use this, name the situation in one line. It is the only line the agent reads to decide whether the skill applies.
- Under The skill, write the rule. For example: “Invoice variance above 2% goes to the AP manager.”
- Under Applies to, choose every function or one, then click Create.
The agent can also save a skill for you during a build, when you state a rule in the conversation.
If a build stops
| What you see | What to do |
|---|---|
| The agent reached the time or spending limit and stopped part-way. | Your work is saved. Say “carry on”. |
| The workspace has used its build turns or model spend for the month. | Wait for the next calendar month, or move up a plan. See Plans and limits. |
| Could not reach the builder, or the build could not be followed. | Click Reload saved draft. The build may still be running, and reloading rejoins it. |
| This build already has a turn running. | Wait for it to finish, then reload. |
| A document was not attached to this turn. | Remove a document you no longer need, then say “carry on”. |
| Promotion is refused because another automation uses the same name. | Ask the agent to rename this one, then promote. |
| The plan’s number of live automations is reached. | Retire or stop one, or move up a plan. |
For the plan limits, see Plans and limits.
Something missing or wrong on this page? Tell us.