Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Conversational Bot Architecture with Rust and Deno

Pragmatic AI Labs via Coursera

Overview

Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Build multi-platform conversational bots using Rust and Deno by applying architecture patterns that separate core logic from platform-specific bindings. You will design Cargo workspace structures for organizing multi-crate bot projects, implement async event loops with the Tokio runtime for concurrent conversation handling, and apply Rust's ownership and borrowing model to write memory-safe concurrent code without garbage collection. The course walks through a universal bot crate that provides platform-agnostic conversation logic using Rust traits and generics. You will connect this universal bot to Amazon Bedrock for Large Language Model (LLM) powered responses using Claude, build an interactive Command-Line Interface (CLI) for testing bot conversations, and deploy a Discord bot using Deno and TypeScript. Deno's built-in permissions, TypeScript support, and Web Standard APIs simplify bot deployment compared to traditional Node.js approaches. Each module includes hands-on demonstrations of real bot implementations, from basic CLI conversation loops to production Discord integrations. The final project synthesizes workspace architecture, async runtime patterns, and platform bindings into a complete multi-platform bot system.

Syllabus

  • Conversational Bot Foundations
    • Covers conversational bot architecture, Rust Cargo workspace design with mono-repo crate layout, Tokio async runtime for concurrent message handling, and Rust's ownership and borrowing model for memory-safe shared state.
  • Building Universal Bots
    • Covers the universal bot core engine walkthrough, basic bot demo, Bedrock interactive CLI with Claude, Discord gateway events and slash commands, Deno runtime overview, and Deno bot demo.
  • Capstone
    • Extend the https://github.com/paiml/universal-bot repository into a multi-platform conversational bot with Rust workspace architecture, Amazon Bedrock integration, Discord deployment with Tokio async runtime, and a Deno TypeScript component for cross-platform evaluation.

Taught by

Alfredo Deza and Noah Gift

Reviews

Start your review of Conversational Bot Architecture with Rust and Deno

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.