Skip to main content
Procedures capture a proven way to investigate or resolve a support issue. Define the inputs, allowed tools, steps, and evidence of success once, then reuse the method for the next customer, host, or ticket. Run a procedure on your desktop for hands-on work, or select an active organization-shared procedure as a step in an AI support agent. The agent carries the wider support lifecycle: receiving work, moving between steps, requesting human decisions, and reporting the outcome. A desktop procedure uses the tools available on that device. A procedure inside a cloud agent uses only the cloud tools and permissions granted to that workflow step. Review those differences before reusing a desktop runbook in an autonomous workflow.

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 a Create 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.
The extracted draft starts with tools actually used in the source, narrowed by the current tool policy, and Studio redacts detected secrets. Still inspect every step, example, default value, and tool before saving. Extraction uses AI and contributes to usage. You can also create a procedure from scratch. Write the steps as markdown ## headings and define the arguments and allowed tools that make sense for the work.
When you are starting from scratch, describe the operational goal, target device type, required arguments, and safety constraints in the Copilot prompt. A useful first prompt is: “Create a procedure for checking BGP adjacency health with arguments for hostname, neighbor IP, and VRF. Use read-only checks only.”

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, or maintenance_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.
Copilot drafts the procedure from that prompt, but you still own the final shape. Review the allowed tools carefully, replace vague steps with explicit checks, and keep destructive or configuration-changing actions behind a clear approval point.

Procedure fields

A good procedure shape

Use this structure when you are writing by hand:
Not every procedure needs every section. The pattern matters because it keeps the run auditable: scope first, evidence before action, validation after action, report at the end.

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.
  1. Review and test the procedure, mark it Active, and share it with the organization.
  2. Open the agent’s workflow and set the relevant Step type to Procedure.
  3. 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.
  4. Run a representative case and inspect the step’s result before enabling a trigger.
Saving the agent includes a copy of the procedure’s steps and input definitions. Later edits to the procedure do not silently change that saved workflow. When Studio shows Procedure updated since this worker was saved, re-save the agent to use the latest steps. The source procedure must remain active, shared with the organization, and available. Archiving, deleting, or making it private prevents the cloud step from running. If Studio warns that the procedure is missing from this device, check whether it retained an earlier saved copy or still needs you to save its steps. A cloud procedure’s tools are limited by both the procedure and the agent step, plus organization and channel policy. Desktop-only terminal, browser, computer-use, or MCP tools do not become cloud tools by adding them to a runbook. Studio warns about these tools, and unavailable calls return an unavailable result. Supply required inputs in the work item using field names that match the procedure arguments, or provide procedure defaults; missing required inputs fail the step. Use a Human step or the workflow’s approval controls when a person must decide. A line in a procedure saying “ask the user” is not a substitute for a configured human handoff in an unattended run.

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.
A trigger can start operational work without a person opening the procedure first. Keep tool grants narrow, preserve approval points, and disable the trigger before changing its matcher or run semantics.

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.

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.