Creating a procedure
The fastest way to build a procedure is to capture work that already succeeded. Use Save as procedure from a chat or a successfully completed procedure run. Studio drafts the successful path, asks follow-up questions when needed, and opens an unsaved draft in the procedure editor. You can also start from the Procedures activity. If your library is empty, the sidebar shows Create Procedure; selecting it seeds Copilot with aCreate a procedure... prompt so you can describe the runbook you want in natural language.
That empty state is deliberate. Studio treats procedure authoring as a conversation first because the best procedure usually needs context: what device family it targets, which checks are safe, what success looks like, and which inputs should become arguments.
1
Open the source chat or completed run
In a chat, open Chat actions from the header. A completed procedure run also offers a report action.
2
Choose Save as procedure
Studio extracts the successful path. Answer any clarification questions, then review the draft.
3
Review the draft in the procedure editor
The editor shows the title, description, arguments, allowed tools, success criteria, and the step body as markdown.
4
Adjust the metadata and steps
Tighten the title and description, add or rename arguments, narrow the allowed tools, and state the success criteria in terms you can check.
5
Save
The draft is private and is not added to your library until you save. Review its sharing before making it available to your team.
## headings and define the arguments and allowed tools that make sense for the work.
From prompt to runbook
When you use Create Procedure from the sidebar, describe the operation the way you would brief another engineer:- The operational goal.
- The target type, such as Cisco IOS-XE edge routers or Linux jump hosts.
- Required arguments, such as
hostname,interface,neighbor_ip,vrf,ticket_id, ormaintenance_window. - Tools that are allowed and tools that are out of scope.
- Commands or checks that must stay read-only.
- The evidence that proves the run succeeded.
Procedure fields
A good procedure shape
Use this structure when you are writing by hand:Running a procedure
Pick the procedure from the sidebar, supply values for its arguments, and Studio opens a run tab. The bottom panel streams live progress — turn count, token usage, tool calls, and output — and the transcript is preserved for later review. You can stop a run at any point if you’ve seen enough.Use a procedure in an agent workflow
A procedure can be one step in a cloud agent’s support workflow, alongside Agent and Human steps.- Review and test the procedure, mark it Active, and share it with the organization.
- Open the agent’s workflow and set the relevant Step type to Procedure.
- Select the procedure, configure the step’s instructions, tools, limits, and exit behavior, then save the agent from a device that has the procedure available.
- Run a representative case and inspect the step’s result before enabling a trigger.
Triggers and schedules
A procedure can run manually or from a local trigger. The editor groups triggers into Schedule, Apps, Hosts, and Shortcuts.
Triggers are per device and can provide default argument values from the event. Test matching carefully—especially application names, window-title filters, host protocol filters, and cooldowns—before leaving a trigger active.
If you ask Copilot to add a shortcut trigger without specifying a chord, Studio assigns the next available
CommandOrControl+Alt+Shift+number accelerator.
Authoring guidance
- Extract procedures from working conversations whenever possible — replay is more reliable than recall.
- Keep steps linear. Describe decisions inside a step rather than branching.
- Use specific arguments (
hostname,interface,vrf,site,change_ticket) over vague ones. - Put read-only validation before any command that changes state.
- Write success criteria you can check from evidence, not just intent.
- Don’t include exploratory dead ends from the source conversation.
- Avoid
*allowed tools for production procedures unless the operator will pick at run time. - Prefer Ask or Planning while drafting production procedures, then run in a controlled scope before marking active.
- Archive procedures you no longer trust rather than leaving stale runbooks in the main library.
- Review triggers and schedules whenever a host, application, credential, or team ownership model changes.
- When a procedure depends on a shared operating rule, cite the current authorized source from Org Brain and verify it before a live change. Retrieval is read-only; publishing or updating a shared fact is a separate action.
Run history
Every run stores its arguments, messages, tool summaries, token usage, final output, and the full transcript. Past runs are searchable and shareable — so you can compare two executions of the same procedure, link a run to a change ticket, or hand a transcript to a colleague for review.Improve a procedure from its runs
After a desktop run, Studio can inspect the saved transcript and suggest changes to the procedure. Open Suggestions in the editor to inspect the rationale and proposed changes, then accept or reject them. The source run remains available as evidence. Auto-improve from runs is enabled by default. Eligible high-confidence changes, such as an argument default or a small change to a success criterion or idempotency check, can apply automatically. Structural changes, new steps, and new tool grants wait for review. Confidence and frequency limits also restrict automatic changes. Set Auto-improve from runs → Disabled to review every change first. Recently applied changes appear under Auto-improved, with a Revert action when available. Review these changes before relying on the procedure for production support. Desktop procedure improvements and cloud-agent improvements have different controls. Worker refinement proposals require human application. Updating a procedure also does not change the saved copy inside an agent until you re-save that agent. If a procedure repeatedly needs repair, split it into smaller methods with clearer inputs and success criteria.Related
AI Copilot
The conversation surface that produces the best procedures.
Memories and search
Keep the facts procedures rely on close to the work.
Digital workers
Use an owner-gated cloud pipeline when work must run independently of a particular desktop.