Manual Build
Build with a coding agent
Use the coding agent you already work in to build an automation or an app. It works on the package as files and acts as you, and nothing it pushes is live.
On this page
What it is for
An automation or an app is one package: a document with a published schema, and the code of its generated tools beside it. A coding agent reads and writes those files directly. You can still build in Studio’s conversation, and both ways work on the same draft.
- It acts as you. A connected coding agent never has more access than you have, and never more than you grant when you connect it.
- Nothing it pushes is live. A push saves a draft. A draft runs nowhere until it is released: by a person in the browser, or by the coding agent when you granted it the Release permission and your workspace allows it.
- The gate and the stages are the same. A pushed draft passes the same promotion gate as a draft built in Studio, starts in rehearsal and moves through the same rollout stages, by the same rules, whoever releases it. See the rollout stages.
- Approvals are the same. The actions your policy marks wait for a person, whoever built the automation and whichever tool they used.
Connect a coding agent
A coding agent connects to the address every assistant uses: https://boundlane.com/mcp. You add the address and sign in. There is nothing to install.
- In your coding agent’s MCP configuration, add a remote MCP server with this address. The coding agent opens the Boundlane sign-in when it first connects.
- Sign in and check the workspace the authorization page names. The steps are the ones in Connect an assistant. If you belong to more than one workspace, see Choose the workspace.
- Under It can:, keep the Build permission selected. Clear a permission you don’t want the coding agent to have.
- Click Allow. The browser returns to your coding agent, and Boundlane’s tools appear there.
The authorization page offers the permissions your workspace lets a connection have: Read, Operate and Build, and Release once a workspace administrator allows it. It offers a permission only when your role in the workspace includes it. Building needs Build: the tools that pull, validate and push a package are listed only for a connection that has it. See who may do what.
A package as files
On disk, a package is one directory. A pull answers with the package document, the tools’ code and the test cases as files, and with where they came from, and the coding agent writes them there:
| Path | What it is |
|---|---|
boundlane.json | The package document: everything the automation or the app is, except the code of its generated tools and its test cases. |
tools/ | The code of each generated tool, in a file named by the entry the tool names in the document. |
tests/ | The test cases, one in each file. |
AGENTS.md | The guide for coding agents: what a package is, the rules the gate applies, what needs a person, and worked examples. A coding agent reads it through its tools and can keep it here. |
.boundlane/draft.json | Where the files came from, as a pull answers it: the server, the workspace, the draft, its revision and the order of the test cases. It holds nothing secret. |
One canonical form
Boundlane stores a draft in one form: defaults filled in, keys in the schema’s order, indented by two spaces, with a final newline. A pull writes exactly that. So a pulled package that is pushed back without a change is the same draft, and a comparison of two pulls shows only what somebody changed.
A package written by hand need not be in that form. Its first push stores it in the canonical form and answers with it, for the coding agent to write back into the files.
- Leave a note in
notes. JSON has no comments, and a push drops a key the schema doesn’t know. The package, a tool, a collection and a page each take anotesfield. Boundlane keeps what you write there and never reads it. - The hash of a tool’s code is worked out for you. The document pins the code of each generated tool by a hash. Validate and push work it out from the file in
tools/, so you change the code and never the hash. - The schema is published. It is at
https://boundlane.com/schemas/package.json, for your editor and your coding agent to checkboundlane.jsonagainst.
Pull, validate and push
With the Build permission, a coding agent has these tools to read, check and save a package:
| Tool | What it does |
|---|---|
get_guide | Reads the guide for coding agents, with the schema and the worked examples of an automation and an app as parts. |
list_packages | Lists the workspace’s automations and apps, each with its open drafts. |
pull_package | Reads one package as files: a released version, or a draft with its revision. |
validate_package | Checks a package’s files and answers each problem in a sentence that says what to change. It saves nothing. |
push_package | Saves a package’s files as a draft, and answers with the draft in the canonical form and its revision. Nothing it saves is live. |
- Ask the coding agent to read the guide with
get_guidebefore it writes anything. The guide says what a package is and which rules the gate applies. - To change a package that exists, have it call
list_packagesand thenpull_package, and write the files into a directory. To start a package, have it write the files from one of the guide’s worked examples. - Describe the change you want. The coding agent edits the files.
- Have it call
validate_package, and fix what the answer lists, until the answer lists nothing. - Have it call
push_package. The push names the revision the files were pulled at, and saves the draft. - Have it test the draft; see after a push. To see the draft yourself, open it in Studio. If Studio was open on it during the push, load the page again: an open page doesn’t follow a push.
What validate checks
| What is checked | When |
|---|---|
| The document against the schema | Validate |
| The package’s own rules, the rules for an app and the rules for generated code | Validate |
| What the workspace knows: the version already released, its forbidden actions, its approval limits, what it asks of every app, and its connections | Validate |
| The generated code compiles, and the test cases pass | A test, and when a version is released |
| What a connected system answers: the tools it offers, against the ones the package names | Only when a version is released |
Validate runs nothing and reaches no connected system, and its answer says what it did not check. A package that passes validate can still be refused by the gate, and the refusal says why. To run the test cases before a release, see after a push.
A push makes the same checks and saves the draft even when the rules find problems, because a draft is work in progress. Its answer lists them. A push is refused when the files don’t make a package the schema accepts, and when the draft moved.
When the draft moved
A push names the revision it started from. If the draft has a different revision by then, because somebody changed it in Studio or pushed first, the push is refused. The refusal names the parts of the package that differ, and nothing is written. Pull the package again, make your change on the files you get, and push again.
A push while Studio’s build agent is working on the same draft is refused too, and nothing is written. Push again when the agent has finished.
The draft a push saves is the draft Studio shows. You can go on with it in Studio’s conversation, and a later pull brings what Studio changed back into the files.
After a push: test, rehearse, preview and review
After a push, the coding agent checks the draft before it asks you for a review. Four tools work on a draft by its id. None of them releases anything or changes the draft, and none reaches a connected system: a package that is not released never reads one.
| Tool | What it does |
|---|---|
test_package | Runs the draft’s test cases on Boundlane the way a release runs them: on a model, with generated code in a sandbox, and each connected system answered from the responses the test case holds. It answers each test case’s result and the problems a release would refuse. |
rehearse_package | Runs one case you give through the draft, the same way. It answers the outcome, each tool called in order, and what happened to each change: performed inside the run, recorded and not performed, or refused by policy. A call to a connected system with no answer given fails inside the run. |
preview_package | For an app, answers what a role sees: the screens the role can open, the records its rules admit from the app’s rehearsal records, and the changes it is offered. It also answers the address of the preview page for you. |
review_package | Answers the gate’s report without a run, and the address where a person reviews and releases the draft. |
- A test and a rehearsal use the workspace’s model budget. Each runs within the limits a release’s evaluation has, and counts against the workspace’s limit for building.
- The test cases don’t run while a rule blocks the draft. The answer lists the problems. Have the coding agent fix them, push and test again.
- A rehearsal’s case stays with you. The input and the results go back to the coding agent. The audit trail records that the draft was rehearsed and how it ended, and nothing of the case.
- A rehearsal on real inputs needs a released version. Once a version is released in rehearsal, a run reads your systems for real and records every write without performing it.
Review and release
A person reviews a draft in the browser. Have the coding agent call review_package, and open the address it answers. Release it there, or have the coding agent release it; see release from a coding agent.
| The draft is | What you do |
|---|---|
| An automation | In Studio, resolve the open issues, then promote it. See Promote to rehearsal. |
| An app | On the review page, read what the app does, look at it as each role, then release it. See Preview an app as a role and Review and release an app. |
- A release runs the gate again on the draft as it is then, with its test cases. A test from the coding agent doesn’t stand in for it, and a push clears the result of a gate that ran on the draft before it.
- A released version starts in rehearsal, where every external write is recorded and not performed. To widen what it may do, see advance a version.
Release from a coding agent
With the Release permission, a coding agent does what the release controls on a package’s page do, as you. The gate and the stage rules decide each change exactly as they do when you make it in the browser, and refuse it in the same words.
| Tool | What it does |
|---|---|
release_package | Releases a draft through the gate. A version that passes starts in rehearsal, where a change to a business system is recorded and not performed. A refused release releases nothing, and the answer says what to change. |
change_stage | Advances the live version to the next stage, narrows it to the stage before, stops it, or starts a stopped version again. The coding agent names the version it acts on, and a change to a version that is no longer the live one is refused. |
manage_app | Renews an app’s review for the version you read, transfers the app to another member, or retires a stopped app for good. |
- The permission is off until an administrator allows it. A workspace administrator allows it in Settings, then Policy, under Connected assistants, apps and coding agents. Until then the authorization page doesn’t offer it, and a connection that was granted it is refused as one without it.
- Your role still decides. A coding agent releases only what you may release yourself.
- A reason is yours to give. Narrowing, stopping and starting again need a reason, and so does advancing an app, or an automation whose runs don’t meet the recommendation. The coding agent asks you for it, and it is recorded with the change. See advance a version.
- Each change is recorded as yours. The audit trail names you, as it does for a change in the browser, and records the tool the coding agent called.
- With a repository, only candidates are released. When the workspace keeps its packages in a repository,
release_packagereleases only a package’s latest candidate from a merge, and refuses another draft with a link to its pull request or an offer to propose it. See release a candidate from a merge. - Retiring is for good. A retired app can’t be started again, so only a stopped app is retired. Stopping can be undone; retiring can’t. See manage an app.
Administer the workspace from a coding agent
With the Read permission, a coding agent reads the workspace with read_workspace: its connections and whether each has a secret, its members and what each may do, and its settings. With the Administer permission it changes them, as you can in the console.
| Tool | What it does |
|---|---|
read_workspace | Reads the connections, the members or the settings. It never answers a secret. |
manage_members | Adds a member, changes their role, business roles or capabilities, or removes them. What it leaves out stays as it was. |
change_settings | Changes the workspace policy, with a reason the audit trail keeps, or the network list. |
- The permission is off until an administrator allows it. A workspace administrator allows Administer in Settings, then Policy, under Connected assistants, apps and coding agents.
- The console’s rules decide. Nobody grants a capability they don’t hold or changes their own, nobody removes themselves, and the last person who can manage members keeps that. Through a connection, nobody grants a capability the connection wasn’t granted. A network list that leaves out the address you work from is refused.
- A secret never goes through the coding agent. No tool takes one. Enter it on the connection’s card; see Change a credential.
read_workspacegives the coding agent the card’s address to hand you. - Some changes stay in the browser. What a connected coding agent may be granted, and removing the network restriction or taking assistants and apps out of it. So do single sign-on, the notification channel, the plan, and archiving or erasing the workspace.
- Each change is recorded as yours, with the coding agent it came through.
What needs a person in the browser
Some things stay with a person, in Boundlane, in the browser. No permission changes that: a connected coding agent has no tool for any of them.
| Always a person | Where |
|---|---|
| Decide an approval, and confirm a change your policy marks | On Boundlane. A coding agent can hand you the link, and you decide. See approvals. |
| Enter a secret | On the connection’s card, where the secret goes straight to the vault. Never type a key, a token or a password into a coding agent’s conversation. See Change a credential. |
| Change the plan or pay | In the company’s billing. See billing. |
| Archive or erase a workspace | In the company, by a company owner. See the company’s workspaces. |
| Remove a workspace’s network restriction | In the workspace’s settings, or in the company by a company owner. See restrict a workspace to your networks. |
| Raise what a connected coding agent may be granted | In the browser, by a workspace administrator. A connection can’t widen what a connection may be granted. |
Who may do what
You choose the permissions when you connect the coding agent. Each is a scope on the connection.
| Permission | Scope | What a coding agent can do with it |
|---|---|---|
| Read | read | See automations, runs, receipts, approvals and exceptions in the workspace, and get the link where you decide an approval. |
| Operate | operate | Propose a run of an automation. The run is rehearsed, and the writes it would make wait in Approvals for a person. |
| Build | build | Read the guide, list and pull packages, validate a package and push it as a draft. Test and rehearse a draft, preview an app and read the gate’s report. Start and continue a Studio build session as you. |
| Release | release | Release a draft in rehearsal, advance or narrow a release, stop it and start it again, and renew an app’s review, transfer it or retire it. Off until a workspace administrator allows it in Settings, Policy. |
| Administer | administer | Add, change and remove members, and change the workspace policy and the network list. Off until a workspace administrator allows it in Settings, Policy. |
Your own role still decides. A permission lets the coding agent ask; Boundlane then checks that you may do the same thing yourself, on every call, and refuses in the words the console uses. A change to your role applies to a connection at once.
See and disconnect a coding agent
- In the console, open Settings, then the People & access tab.
- Under Connected assistants, find the coding agent. Each row shows who connected it, what it can do, when it was connected and when it was last used.
- Click Disconnect. The coding agent loses its access at once.
You see and disconnect your own connections. A person who can manage members or change workspace settings sees everyone’s; see See and disconnect assistants.
An open format
The package format is published. Each address answers without a sign-in:
| What | Address |
|---|---|
| The schema of a package | https://boundlane.com/schemas/package.json |
| The guide for coding agents | https://boundlane.com/api/v1/guide |
| An index of these addresses, for a model | https://boundlane.com/llms.txt |
A pulled package is plain files. You can read it without Boundlane, change it with any editor, and keep it in your own repository, under your own version control. Your repository can be the place your packages live: pull to bring in what was changed in Studio, and push to send a change back as a draft.
Something missing or wrong on this page? Tell us.