{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "copilotkit-openbot--bring-own-ag-ui-agent-as-bot",
 "repo": "CopilotKit/OpenBot",
 "repo_url": "https://github.com/CopilotKit/OpenBot",
 "repo_slug": "copilotkit-openbot",
 "title": "Bring your own AG-UI agent as a Bot",
 "page_title": "How to bring your own AG-UI agent as a Bot with Open Bot",
 "summary": "Connect an agent written in any framework through AG-UI and run it as a coworker with its own channel.",
 "who": "A developer whose team already built an agent in LangGraph, Mastra, CrewAI, Pydantic AI, Google ADK, or by hand, and who wants it inside Open Bot's governance.",
 "problem": "Existing agents have no shared place to run with a visible screen, approval step, and audit trail, so teams rebuild these controls for each one.",
 "outcome": "Your agent appears as a Bot that can be chatted with, while Open Bot governs its actions and records them.",
 "steps": [
  "Start from the cloned repository and confirm the stack runs with `bash scripts/start.sh`.",
  "Expose your agent as an endpoint that speaks AG-UI, the open protocol the README names.",
  "Replace or add the example tenant package under `examples/` with your own coworker, or describe it in `agents.yaml`.",
  "Copy your agent definition into `examples/fintech/agents/` or create it from `/bots` in the UI.",
  "Open `/bots`, select your Bot, and send it a test message from its page."
 ],
 "agent_prompt": "In the OpenBot repository at <repo-path>, add a new Bot that points at an AG-UI endpoint for <agent-name> following the README's Built on AG-UI and Bots sections. Confirm the Bot appears in /bots and returns a reply to a test message, and report that reply.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "3 hours",
 "basis": "readme",
 "caveat": "The README says the repository is a template and every workspace is private, so you should clone and change it rather than installing it as a dependency.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "typescript",
 "requirements": [
  "Docker, for PostgreSQL and the shipped Bots",
  "Bun 1.3 or later",
  "A CopilotKit account to run `npx --yes copilotkit@latest login`, or a self-hosted Intelligence deployment",
  "An OpenAI API key for the proof-of-concept Bot"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/copilotkit-openbot/bring-own-ag-ui-agent-as-bot/",
 "md": "https://dedupedai.com/use-cases/copilotkit-openbot/bring-own-ag-ui-agent-as-bot/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/copilotkit-openbot--bring-own-ag-ui-agent-as-bot.json",
 "api_version": "v1"
}
