Posts

Showing posts from November, 2025

Custom AI Agent using Open AI Agent Builder

Image
Agent Builder from Open AI is a game changer! Using this tool, you can easily create custom ai agent without writing a single line of code. Below the flow was built using Agent Builder.  Agent is taking input and based on the search query, agent is going to search from different MCP unit i.e. Google-drive, or SharePoint, or even using websearch.  Simple to create and FAST to implement the Buisness Workflow! Below the generated the back-end code. Go for Agent Builder :) import { hostedMcpTool, Agent, AgentInputItem, Runner, withTrace } from "@openai/agents"; import { OpenAI } from "openai"; import { runGuardrails } from "@openai/guardrails"; import { z } from "zod"; // Tool definitions const mcp = hostedMcpTool({   serverLabel: "sharepoint",   allowedTools: [     "fetch",     "get_profile",     "get_site",     "list_recent_documents",     "search"   ],   authorization: "https://gr...