Skip to content

andrewiggins/ai-agents-workshop

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 

Repository files navigation

πŸ€– Building Tiny AI Agents in JavaScript Workshop

Learn how AI agents really work by building them from scratch - from tiny agent to sophisticated deep research agents.

🎯 Workshop Overview

This hands-on workshop demystifies AI agents by teaching you to build them yourself. You'll understand:

  • How agents think: The inner workings and architecture of AI agents
  • Why prompts matter: Crafting effective prompts for agent behavior
  • Tool integration: Building tools that let agents interact with the real world
  • Web deployment: Running agents directly in browsers for privacy and offline use

πŸ› οΈ What You'll Build

Part 1: Simple Tool Agent

Build your first AI agent with real-world capabilities:

  • Learn the core agent loop: think β†’ act β†’ observe
  • Integrate tools for real world operations
  • Understand prompt engineering for agent behavior

Part 2: Multi-Agent Research System

Create a team of specialized agents working together:

  • Design agent coordination patterns
  • Build inter-agent communication
  • Generate comprehensive research reports

Part 3: Browser-Native Agent

Deploy agents that run 100% in the browser:

  • Use WebLLM for local AI inference
  • Build browser-specific tools
  • Create offline-capable AI applications

πŸ“‹ Prerequisites

Required Knowledge

  • βœ… Basic JavaScript (functions, async/await, JSON)
  • βœ… HTML/CSS fundamentals
  • βœ… Curiosity about AI agents!

Technical Requirements

  • Browser: Chrome/Edge 113+ (for WebGPU support)
  • Node.js: Version 18 or higher
  • Code Editor: Any (VS Code recommended)
  • Groq API Key: Free at console.groq.com

πŸš€ Pre-Workshop Setup

  1. Get Your Groq API Key

  2. Verify Browser Compatibility

Note: I will add code to this repo to test Groq API Key and pre-download WebLLM model so that we are prepared during the workshop.

πŸ’‘ Key Takeaways

By the end of this workshop, you'll understand:

  1. Agent Architecture

    • How agents process information and make decisions
    • The role of prompts in shaping agent behavior
    • Patterns for building reusable agent frameworks
  2. Tool Development

    • Creating tools that extend agent capabilities
    • Defining tool schemas and handling responses
    • Best practices for tool error handling
  3. Deployment Strategies

    • When to use cloud vs. local inference
    • Privacy considerations in AI applications
    • Performance optimization techniques

πŸ“¦ What's Included

  • βœ… Complete source code for all three agent types
  • βœ… Example tools and integrations
  • βœ… Best practices documentation
  • βœ… Post-workshop resources and community access

🀝 Support

  • During Workshop: Live Q&A and hands-on help
  • After Workshop: Access to code repository and community
  • Questions?: Open an issue in this repo

πŸ“š Additional Resources

Essential Reading (Optional)


🎯 Ready to Build Intelligent Agents?

This workshop transforms you from JavaScript developer to AI agent architect. No prior AI experience needed - just bring your curiosity and we'll handle the rest!

See you at the workshop! πŸš€


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published