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 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
![There are 2 kinds of devs. One of them is screwed. Justin Searls interview [Podcast #210]
Today Quincy Larson interviews Justin Searls. Hes a software engineer who cofounded a software agency 15 years ago thats still going β even after he figured out how to make a lot of money quickly and retire at age 38 once he had enough savings.
These days hes gone from solving problems for client to solving solving problems for himself by building open source software. Often using emerging tools like agents. He says he getting way more done now than ever before.
We talk about:
- How software development is ceasing to be a team sport and is now more about individual devs working directly for the people paying them
- How verifiability is everything - whether its agents contributing to your codebase or humans
- How someone just now entering the field can use emerging tools to get an edge over more experienced developers
Note that I dont edit or censor these interviews at all. Justin uses some pretty blunt language so you may not want to listen to this around young children.
Support for this podcast comes from the 10,113 kind folks who donate to our charity each month. Join them and support our mission at https://donate.freecodecamp.org
Get a freeCodeCamp tshirt for $20 with free shipping anywhere in the US: https://shop.freecodecamp.org
Links from our discussion:
- Justins website: https://justin.searls.co
- The Breaking Change podcast: https://justin.searls.co/casts
- Justins article Theres no AI in team: https://justin.searls.co/links/2025-08-03-there-is-no-ai-in-team/
- Justins article about how software is supply-constrained: https://justin.searls.co/links/2025-11-04-software-is-supply-constrained-for-now/
Community news section:
1. freeCodeCamp just published a course that will take you deep into the modern Kubernetes ecosystem. Youll implement advanced industry standards such as Gateway API for traffic management, CloudNativePG for managing PostgreSQL databases, and cert-manager for automated HTTPS security. By the end of the course, youll have the confidence to manage production-grade environments. (6 hour YouTube course): https://www.freecodecamp.org/news/master-kubernetes-through-production-ready-practice/
2. freeCodeCamp also published a comprehensive Notion course. Its not just a fancy notebook β you can use it as a full-blown operating system. You can code along at home and build your own task manager using Notions βSoftware Legosβ philosophy. Then youll integrate your project with mail and calendar functionality, dashboards, and other advanced features. (12 hour YouTube course): https://www.freecodecamp.org/news/lean-notion-in-12-hours/
3. Learn how to guide agents to write secure code using a robust framework of rules and tests. Software engineer and recent podcast guest Sumit Saha shares his step-by-step process by building a Node.js shopping cart app using an agent. Instead of just using naive βone-shotβ prompts, he leverages server-side validation and test-driven development. Well worth reading. (20 minute read): https://www.freecodecamp.org/news/how-to-guide-ai-with-rules-and-tests/
4. Learn the Python you need to know to build your own agents. This course starts by teaching you core Python syntax and best practices before moving on to NumPy, Pandas, and SQL. With these tools in your toolbelt, you can manage the data that fuels modern AI tools. (6 hour YouTube course): https://www.freecodecamp.org/news/learn-python-and-build-autonomous-agents/
5. Todays song of the week is from the UK band Unkle β 2003s hypnotic ballad What Are You to Me?. The groove is mostly heald together by accoustic guitar and piano on top of layers of synth bass and breakbeats. We also get some Soulful, laid back feel from the featured vocalist, Joel Cadbury of the band South. This song just melts into the background. I think youre going to like it. https://www.youtube.com/watch?v=lgrN2uQKq9k There are 2 kinds of devs. One of them is screwed. Justin Searls interview [Podcast #210]](https://i.ytimg.com/vi/hP931079TMw/mqdefault.jpg)









