Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Multi-agent workflow (advanced)

Route user input through multiple named agents with shared state and dashboard observability.

What this example does

  1. Define agents: intent-agent (classify) and general-agent (answer)

  2. Build a Workflow with observability: true

  3. In entry, branch on intent β€” search knowledge base or run general Q&A

  4. Execute via runWorkflow()

Prerequisites

  • HTTP transport

  • AI enabled on your plan

  • Optional: documents indexed (see RAG assistant)

Flow

input
  β†’ intent-agent (sendAI classify)
  β†’ if "search": ctx.search() + return
  β†’ else: general-agent β†’ answer

Language guides

Last updated