A walkthrough of building a multi-agent support chatbot for react-admin using the OpenAI Agents SDK. The architecture includes a TriageAgent that classifies incoming questions and hands off to either a DocsAgent (which searches a vector store of 300+ markdown docs using fileSearchTool) or a SupportAgent for billing/subscription queries. Input and output guardrails are implemented to block prompt injections and prevent information leaks, including OpenAI's omni-moderation model for harmful content filtering. The bot is exposed via a Hono API with a custom React frontend, streaming responses to the UI. The post also touches on tracing, human-in-the-loop, and voice agent features available in the SDK.
Table of contents
Finding The Right ToolDesigning The ArchitectureCreating AgentsBuilding a Safety Net with GuardrailsMaking The Documentation SearchableBuilding a Doc Expert AgentBuilding a Billing Support AgentSticking It All TogetherExposing The Agents to the UserOther Features That Look PromisingConclusion1.1K Impressions2 Comments