Run a local AI agent with Ollama to visualize CPU orchestration on Arm
Introduction
Understand the agent and how work is split between CPU and GPU
Set up your environment before running the agent
Serve a model locally with Ollama
Understand the concierge agent code
Run the agent and read the timeline
Understand the CPU's role in the agentic workflow
Next Steps
Run a local AI agent with Ollama to visualize CPU orchestration on Arm
Who is this for?
This is an introductory topic for developers who want to build a local, privacy-friendly AI agent on Arm hardware and visualize how the CPU orchestrates an agentic workflow around a locally served Large Language Model (LLM).
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Set up a Python environment and obtain a Serper web search API key for the agent
- Serve an LLM locally with Ollama and select a model that fits your hardware
- Understand how the CPU orchestrates an agentic workflow while the GPU handles model inference
- Run the agent and interpret the CPU and GPU timeline it produces for each query
Prerequisites
Before starting, you will need the following:
- An Arm-based computer running Linux or macOS, such as an Apple silicon MacBook or an NVIDIA DGX Spark
- Familiarity with running Python scripts from the terminal
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
gemma3:4b model. The local API at http://localhost:11434 should be available before starting the script.SERPER_API_KEY in the same terminal session. The agent reads this variable at runtime for web search.quit or exit to end the session.concierge_agent.py. It groups the tools, the LLM “brain,” the orchestration pipeline, and the agentic chain, and indicates which components run on the CPU or GPU.