Skip to main content
Back to course
Log in
Get started
Someone wanted to learn this too, so Grasp built them a personal learning path.
Create your own
Telegram Bots with Bun.js
ยท
Module 9
Project: Building a Claude-Powered AI Assistant
1
Bun: Setting Up the Anthropic SDK
Set up the Anthropic SDK and configure API credentials in a Bun project.
Set up the Anthropic SDK and configure API credentials in a Bun project.
2
Interacting with Claude: From User Prompts to Bot Responses
Send user prompts to the Claude API and return responses as bot messages.
Send user prompts to the Claude API and return responses as bot messages.
3
Using grammY Sessions for Multi-Turn Claude Interactions
Use the grammY session plugin to maintain conversation history for multi-turn interactions with Claude.
Use the grammY session plugin to maintain conversation history for multi-turn interactions with Claude.
4
Streaming Responses from Claude API
Implement streaming responses from the Claude API for real-time progressive replies.
Implement streaming responses from the Claude API for real-time progressive replies.
5
Managing Claude API Limits and Errors
Handle Claude API rate limits, token limits, and error responses gracefully.
Handle Claude API rate limits, token limits, and error responses gracefully.
Previous module
Integrating External APIs
Next module
Production Deployment with Webhooks