Skip to main content

Knowledge Retrieval Agent

Imagine a minimal agent that can answer questions from your docs. Build a RAG-lite retrieval agent with local markdown files or upgrade later to a vector DB.

Frontend Actions Agent

An agent that outputs structured JSON actions (navigate, openModal, toggleTheme) which your frontend dispatcher can safely execute.

Backend Tools Agent

An agent that calls backend tools or APIs. Example: fetch the weather from an external API, create tickets, update CRM.

Human Handoff Agent

An agent that knows its limits. If a human is required, it escalates gracefully by invoking a handoff tool with target + reason.

Multi-agent Orchestration (Coordinator) Agent

An agent that queries multiple people, APIs, or sub-agents and returns a consolidated answer. Perfect for “Who is available tomorrow?” type queries.

Group Chat Agent

An agent that lives in group chats and only responds when explicitly mentioned, e.g. @agent what’s our refund policy?.

Next Steps

  • Combine these agents in one Mastra project.
  • Deploy to your preferred host and connect them into CometChat Dashboard → AI Agents.
  • Extend with guardrails, vector retrieval, and advanced workflows.
  • Distribute this playbook internally so teams can copy-paste working agent setups.