Aakash GuptaI can’t believe we built an AI employee in 62 mins (Cursor, ChatGPT, Gibson)
CHAPTERS
Goal and stack: build an AI customer success agent in three phases
Harish lays out the end-to-end goal: an AI customer success “employee” that can detect churn risk and take actions without human involvement. He previews a three-part build (dashboard → agent recommendations → autonomous execution) and the core tools used across the demo.
Planning the dashboard with o3-mini: tabs, metrics, and what to measure
They use o3-mini in reasoning mode to design a customer success dashboard for a sample B2B e-commerce company (“Bulk Trade”). The model proposes four main dashboard tabs aligned to funnel, engagement, health, and retention outcomes.
Defining the data model: translating dashboard needs into sources and fields
After getting tab ideas, they ask o3-mini to specify what data fields are needed and then reorganize by data source. This becomes a practical “data definition” spanning CRM, analytics, and app/transactional data to power the dashboard and downstream agents.
Building the Gibson database in the web UI: schema, ERD, and deployment
Harish creates a Gibson project, chooses step-by-step modeling (since planning is done), and pastes the structured field definitions. Gibson generates an ER diagram and schema code, then deploys the database with dev and prod environments and instant CRUD APIs.
Connecting Gibson to Cursor via MCP: database management from the IDE
They move into Cursor and connect Gibson using MCP (Model Context Protocol), enabling schema management, deployment, and even natural language querying without leaving the IDE. This sets up an “infra-aware” coding workflow where Cursor can directly operate on the live backend.
Generating realistic test data with Cursor + Gibson APIs
Since the database is empty, Harish has Cursor generate a repeatable Python script to insert realistic test data using Gibson’s APIs while honoring table relationships. They install dependencies (e.g., Faker) locally and run the script to populate the deployed DB.
Building the Next.js dashboard in Cursor (agent mode) using live Gibson data
With data in place, Cursor is prompted to build a modern dashboard (Next.js + shadcn/ui) that uses Gibson APIs—not mock data. They discuss Cursor’s modes (ask vs agent), model choice (Claude Sonnet 3.7), and show the completed dashboard after the longer build process.
Part 1 result: dashboard walkthrough (analytics, funnel, engagement, churn risk)
They tour the finished dashboard: customer analytics and revenue trends, funnel conversion charts, engagement/retention metrics (NPS, active users, feature adoption), and a churn-risk view. The key limitation is highlighted: humans must still interpret insights and act.
Part 2 setup: add an Agent Actions table from Cursor and redeploy schema
To support human-in-the-loop workflows, they add a new table to store agent recommendations (customer info, churn risk/reason, proposed action, message). This demonstrates evolving the database schema directly from Cursor through Gibson MCP and redeploying it.
Part 2 execution: CrewAI agents analyze churn and write recommended actions
Harish introduces CrewAI’s structure (agents + tasks) and runs a multi-agent workflow: query/analyze data, diagnose churn reasons, propose mitigations, and ingest recommendations back into the agent_actions table. The dashboard then shows ready-to-use actions and drafted messages/emails.
Part 3: making it autonomous—adding email sending and Jira ticket creation
They extend the system to take actions automatically: send customer emails via SendGrid and create Jira tickets for product-related churn drivers. Cursor generates new tools/tasks/agents while preserving existing ones, and they prepare environment variables and accounts for execution.
Autonomous run results: Jira tickets created and emails delivered
After running the autonomous workflow, they verify outcomes in real tools: multiple Jira issues are created with labels indicating churn risk, and emails appear in the inbox with customer-appropriate outreach. This demonstrates an end-to-end loop from data → insight → action.
Wrap-up: other AI employees, Gibson’s vision, and cautions on agentic code
They discuss broader “AI employee” use cases (SDRs, exec assistants, meeting prep, recruiting) and reflect on Harish’s background (Microsoft, Apple/Siri, LeafLink) and motivation for building Gibson. The conversation closes with a vision for Gibson as a scalable backend for vibe-coded products and a reminder to review AI-generated code and add evals.
Get more out of YouTube videos.
High quality summaries for YouTube videos. Accurate transcripts to search & find moments. Powered by ChatGPT & Claude AI.
Add to Chrome