Skip to content

Field Service Dispatch

Diagnose an equipment fault, check parts and weather, and dispatch or resolve remotely.

Style Deterministic (Agent Network 2.0, AgentScript)
Kind Use case
Agents / MCP servers 3 / 4
A2A protocol 1.0, 0.3.0
Policies none
Asset prefix octo_fs2
Tutorial Field Service Dispatch: tutorial
Files templates/v2-field-service

The network canvas The network canvas

The broker flow (AgentScript) The broker flow (AgentScript)

Chat with the deployed broker Chat with the deployed broker

Diagnose an equipment fault, check parts and weather, and dispatch or resolve remotely.

  • Style: Deterministic (Agent Network 2.0): an AgentScript flow in brokers/ decides each step.
  • Agents: Dispatch Agent (A2A 1.0, ServiceNow), Parts Logistics Agent (A2A 0.3.0, MuleSoft), Customer Communications Agent (A2A 1.0, AgentForce)
  • MCP servers: Asset Registry MCP (get_asset); Diagnostics MCP (run_diagnostics); Parts Inventory MCP (check_stock); Weather MCP (get_forecast)

All agents and MCP servers are public A2D mocks, so the network runs without any other system. No credentials are stored in this template.

Deploy in 3 steps

  1. Setup & Connect: connect Agent Fabric (connected app client ID and secret, organization). A²D is not needed: the mock URLs are already the defaults in exchange.json.
  2. In Projects & Deploy, click Deploy on this project (or Build & Deploy in the editor) and pick your gateway. Octoloom asks for each secret variable; nothing you type is stored:
  3. openai.apiKey: your OpenAI API key (required)
  4. When the status light turns green (Deployed and running), click Open chat and paste a prompt below. The Tracer icon under a reply opens the task in the Agent Network Tracer, with each agent and tool call.

Try it

  • Heat pump HP-301 shows error E42
  • You should see: Asset Registry get_asset, Diagnostics run_diagnostics needs a visit. Parts Inventory check_stock: CMP-42 from Bern. Weather get_forecast: Vevey OK. Parts Logistics reserves it, Dispatch books technician T-14 (Marco) tomorrow 08:00-10:00, Customer Communications confirms.
  • Solar inverter INV-77 is offline
  • You should see: Diagnostics run_diagnostics: lost connectivity, fixed with a remote reboot. Customer Communications informs the customer; no visit.

The broker is deterministic: the branches are fixed in the flow in brokers/ (open the .agent file to see them). The LLM only reads the ids from your prompt and writes the reply text, so the same input takes the same branch.