Agent-to-Agent Handoff

AI ↔ AI

Classifier routes to specialized agents by intent, then summarizes.

5 nodes · 6 edgescustomer-service
agent
Visual
Intent Classifieragent

Analyze customer message to determine intent category.

conditionalCustomer Service Agent
conditionalTechnical Support Agent
conditionalBilling Agent
Customer Service Agentagent

Handle general inquiries, returns, order status updates.

sequentialConversation Summary
Technical Support Agentagent

Debug product issues and walk user through solutions.

sequentialConversation Summary
Billing Agentagent

Process invoices, refunds, and subscription changes.

sequentialConversation Summary
Conversation Summaryagent

Generate structured summary and update CRM record.

uc-agent-handoff.osop.yaml
osop_version: "1.0"
id: "agent-handoff"
name: "Agent-to-Agent Handoff"
description: "Classifier routes to specialized agents by intent, then summarizes."

nodes:
  - id: "classifier"
    type: "agent"
    subtype: "llm"
    name: "Intent Classifier"
    description: "Analyze customer message to determine intent category."

  - id: "customer_service"
    type: "agent"
    subtype: "llm"
    name: "Customer Service Agent"
    description: "Handle general inquiries, returns, order status updates."

  - id: "tech_support"
    type: "agent"
    subtype: "llm"
    name: "Technical Support Agent"
    description: "Debug product issues and walk user through solutions."

  - id: "billing"
    type: "agent"
    subtype: "llm"
    name: "Billing Agent"
    description: "Process invoices, refunds, and subscription changes."

  - id: "summarize"
    type: "agent"
    subtype: "llm"
    name: "Conversation Summary"
    description: "Generate structured summary and update CRM record."

edges:
  - from: "classifier"
    to: "customer_service"
    mode: "conditional"
    when: "intent == 'general'"
  - from: "classifier"
    to: "tech_support"
    mode: "conditional"
    when: "intent == 'technical'"
  - from: "classifier"
    to: "billing"
    mode: "conditional"
    when: "intent == 'billing'"
  - from: "customer_service"
    to: "summarize"
    mode: "sequential"
  - from: "tech_support"
    to: "summarize"
    mode: "sequential"
  - from: "billing"
    to: "summarize"
    mode: "sequential"