Build an AI Agent in Telegram with Vercel, Cursor, Composio @freecodecamp
Build an AI Agent in Telegram with Vercel, Cursor, Composio  @freecodecamp
Uploaded June 2026 | Updated September 2026, 2 weeks ago
Build your own OpenClaw-like AI agent from scratch using the Vercel AI SDK, Composio, Supermemory, Telegram, and Vercel Cron.

In this free full course, you'll start with the Vercel AI SDK Chatbot template, connect your agent to real apps like Gmail with Composio, add long-term memory with Supermemory, give the agent a persistent personality, make it usable from Telegram, and add scheduled automations with Vercel Cron.

By the end, you'll understand the core building blocks behind production AI agents: tool calling, context engineering, OAuth, memory, auth, database migrations, multi-channel agent interfaces, scheduled jobs, and deployment.

Resources
πŸ’» START HERE: Chatbot template vercel.com/templates/next.js/chatbot
πŸ’» Prompts and source code: github.com/composio-community/general-purpose-agent-quickstart
πŸ”— 100% off the Composio Starter Plan for 1 month: Use code FREECODECAMP at checkout
πŸ”— Get 50% off Cursor plans: cursor.com/referral?code=DQSTRSDOYBCI

πŸ—οΈ @Composio provided a grant to make this course possible.

What you'll build
- A deployed Vercel AI SDK chatbot
- Telegram access for your agent
- 1000+ apps for your agent via OAuth
- Long-term memory and soul
- Scheduled automations with Vercel Cron

⭐️ Chapters ⭐️
0:00:00 Build an OpenClaw-like AI Agent
0:01:10 Final Agent Demo
0:03:13 What You'll Learn
0:03:52 Who Am I
0:04:27 Do You Need to Know How to Code?
0:05:03 Cursor, Codex, and Course Resources
0:05:34 Free Cursor, OpenAI Programs, and Discounts
0:06:16 What Is an AI Agent?
0:09:41 PART 1: Vercel AI SDK Chatbot Template
0:12:59 Test the Deployed Template
0:13:42 Vercel AI Gateway Router
0:14:37 Run the Template Locally
0:16:48 Confirm Database Changes
0:17:58 Start the Local Dev Server
0:19:16 PART 2: Add Composio Tools
0:20:29 Context Engineering
0:24:21 Create a Composio API Key
0:25:23 PROMPT 1: Add Composio Tools
0:26:36 Reviewing AI-Generated Changes
0:28:54 Test Composio with Gmail
0:30:56 Composio 1 Month Free
0:31:17 OAuth and Composio Auth
0:32:41 PROMPT 2: Expand AI Gateway Models
0:35:12 Inspect Database Changes
0:36:21 PART 3: Add Long-Term Memory with Supermemory
0:40:27 Set Up Supermemory
0:39:49 PROMPT 3: Add Supermemory
0:41:25 Reviewing Supermemory Changes
0:42:06 Test Long-Term Memory
0:43:43 PART 4: Add Agent Soul
0:45:37 PROMPT 4: Add Soul
0:46:59 Test Soul Feature
0:49:07 PART 5: Add Telegram
0:50:59 Setting Up Telegram
0:51:45 Add Telegram Token to Env
0:52:47 Setting Up ngrok
0:54:56 PROMPT 5: Add Telegram
0:56:19 Register the Telegram Webhook
0:58:34 Test the Telegram Bot
0:58:57 PART 6: Add Automations with Vercel Cron
1:00:55 Configure Vercel Cron
1:01:59 PROMPT 6: Add Scheduled Tasks
1:03:30 Test Scheduled Tasks
1:04:59 PART 7: Deploy to Production
1:06:34 How to Get Help

Keywords: AI agent tutorial, Vercel AI SDK, Composio, Supermemory, OpenClaw, Cursor AI, Telegram bot, Vercel Cron, AI chatbot, tool calling, context engineering, OAuth, agent memory, build AI agents, Next.js AI agent
Build an AI Agent in Telegram with Vercel, Cursor, ComposioThere are 2 kinds of devs. One of them is screwed. Justin Searls interview [Podcast #210]Why problem-solving is key for developersWhat has learning to code taught you...?AWS Solutions Architect Professional (SAP-C02) Certification Course – Pass the Exam!Python Object Oriented Programming (OOP) - Full Course for BeginnersCode a Virtual 3D Art Gallery – Three.js JavaScript Tutorial / Code-a-LongSystem Design for AI Agents – Building a Multi-Agent PR ReviewerWeb Scraping for Beginners –  Extract Data with an APIThe Paper That Created Modern AICan you help a company solve a problem - and will they let you in and learn from you?Type coercion in JavaScript can get a little wild...
freeCodeCamp.org |

Build an AI Agent in Telegram with Vercel, Cursor, Composio

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER