Building an On-Device AI Agent

Qualcomm branded products are products of Qualcomm Technologies, Inc. and/or its subsidiaries. Qualcomm Academy is a program of Qualcomm Technologies, Inc. and/or its subsidiaries.

In this workshop, you will learn how to build a local AI agent that runs entirely on-device using Python, LM Studio, and Llama 3 models.

man smiling with headphones on coding at a desktop

Building an On-Device AI Agent on Snapdragon® X Elite Platform

In this build-along style workshop, you will gain a step-by-step tutorial covering the following topics:

  • What AI agents are and why they’re perfect for edge computing
  • Setting up Python environment and LM Studio model server
  • Building core components: Model, Tools, and Agent classes
  • Adding a time tool for real-world functionality
  • Writing agent instructions and enabling tool calling
  • Running your agent locally for privacy, low latency, and offline AI