Want to run the powerful Hermes AI Agent with Ollama using local AI models? In this tutorial, I’ll show you how to install Ollama, download a local LLM, and connect it with Hermes AI Agent.
The best part is that you can run AI models locally on your computer without depending entirely on cloud-based AI services. This gives you more control over your models and allows you to experiment with AI agents while keeping your prompts and local workflows on your own machine.
In this step-by-step guide, you’ll learn how to:
- Install Ollama on Windows or macOS.
- Download and run local AI models.
- Choose an AI model based on your computer’s hardware.
- Launch Hermes AI Agent through Ollama.
- Start chatting with Hermes using a local LLM.
- Explore automation possibilities with Hermes.
Let’s get started!
What Is Ollama?
Ollama is a popular tool for running large language models (LLMs) locally on your computer. It makes downloading, managing, and running open models much easier.
Instead of relying entirely on cloud-based AI services, you can download models and run them directly on your computer.
Some advantages of using Ollama include:
- Local AI execution: Run supported AI models directly on your computer.
- Privacy: Local model prompts can stay on your machine rather than being sent to a cloud provider.
- Model flexibility: Download and experiment with different open models.
- Easy model management: Download and manage models using a graphical interface or terminal commands.
Ollama also provides access to cloud models, although these may have different account and usage requirements.
Step 1: Download and Install Ollama
First, you need to install Ollama on your computer.
- Open your web browser.
- Visit the official Ollama website.
- Click the Download button.
- Select your operating system.
- Download the installer or follow the installation instructions.
Ollama supports different installation options depending on your operating system.
Install Ollama on macOS
If you’re using a Mac, follow these steps:
- Visit the Ollama download page.
- Select the macOS version.
- Click Download Manually.
- Save the DMG installer to your computer.
- Open the downloaded DMG file.
- Drag Ollama into your Applications folder.
Once the installation is complete, open your Applications folder and launch Ollama.
You should now see the Ollama application running on your Mac.
Install Ollama on Windows
The installation process is also straightforward on Windows.
- Open the Ollama download page.
- Select Windows.
- Download the installer.
- Run the downloaded installer.
- Follow the installation instructions.
Alternatively, you can use the installation command provided on the official Ollama website in PowerShell.
Once installed, open Ollama on your Windows computer.
Step 2: Download a Local AI Model
Before connecting Hermes with Ollama, you need to download an AI model.
Ollama provides access to different models that you can run locally.
For example, you can explore models such as:
- Qwen
- LFM
- Gemma
- Neotron
- Other supported open models
To download a model, open Ollama and navigate to the model selection or model library section.
You can browse the available models and filter them based on their size.
For example, if your computer has limited RAM, you can filter models by selecting models up to 8 GB.
This makes it easier to find a model that your computer can handle.
How to Choose the Right Model
Before downloading a model, pay attention to two important things:
1. Model Size
The model size determines how much storage space you need. Larger models generally require more memory and computing resources.
2. RAM Requirements
Your computer needs sufficient memory to load and run the model.
For example, in the tutorial, the Qwen 3.5 9B model requires approximately 6.6 GB of RAM, while a smaller 0.8B model requires approximately 1.2–1.3 GB.
These are the requirements shown in the tutorial’s model listing. Actual memory usage can vary depending on quantization, context length, and other system requirements.
If your computer has limited RAM, start with a smaller model.
Download a Model Using the Terminal
You can also download models directly using the terminal.
Follow these steps:
- Open the Ollama model library.
- Find the model you want to download.
- Open its model page.
- Copy the installation command.
- Open Terminal on macOS or PowerShell on Windows.
- Paste the command and press Enter.
The general command format is:
ollama run MODEL_NAME
Replace MODEL_NAME with the actual model name and tag shown on the Ollama model page.
Ollama will download the model if it isn’t already available locally and start it.
Once the download is complete, you can select the model inside Ollama and start chatting with it.
Step 3: Find the Hermes AI Agent Integration in Ollama
Now that Ollama is installed and your local model is downloaded, it’s time to connect Hermes AI Agent.
Open the Ollama application and navigate to the Apps section.
Here, you’ll find different integrations and applications that work with Ollama.
Depending on the available integrations, you may see options such as:
- OpenCode
- Claude Code
- ChatGPT-related integrations
- Hermes Agent
Find Hermes Agent in the list.
You should see an option to copy the launch command.
Click the copy button to copy the command.
We’ll use this command in the next step to launch Hermes.
Step 4: Launch Hermes AI Agent Using Ollama
Now, open your terminal again.
You can use:
- Terminal on macOS.
- PowerShell on Windows.
Paste the Hermes launch command you copied from Ollama.
The command shown in this tutorial is:
ollama launch hermes
Press Enter to execute it.
Ollama will start the Hermes Agent launch process.
You will then be prompted to choose an AI model.
You can select a cloud model if you prefer, or navigate through the available model options to find your downloaded local model.
Use the arrow keys to navigate through the model list.
For this tutorial, I selected the LFM3 local model.
Select your preferred model and continue.
Hermes Agent will now launch using the selected Ollama model.
Step 5: Start Using Hermes AI Agent
Congratulations! You’ve successfully launched Hermes AI Agent with Ollama.
You can now start interacting with Hermes directly from your terminal.
For example, type:
Hi
Press Enter, and Hermes will respond using your selected AI model.
You can also give Hermes more complex instructions depending on the capabilities of your selected model and the tools available to the agent.
For example, you can ask it to:
- Answer questions.
- Help with programming tasks.
- Assist with development workflows.
- Work with supported tools.
- Explore automation tasks.
Hermes is not limited to simple conversations. It is an AI agent designed to work with tools and perform tasks based on your instructions.
Step 6: Use Hermes for Automation
One interesting feature of Hermes is its ability to work with integrations and automation workflows.
For example, you can explore connecting Hermes with Telegram to create an AI chatbot assistant.
You can give Hermes instructions for setting up an automation workflow, and it can help you work through the required steps.
The actual functionality depends on the configured integrations, permissions, and available tools.
If you want to learn how to create a Telegram AI chatbot using Hermes, check out my other tutorials on the channel.
Final Thoughts
Running Hermes AI Agent with Ollama is a great way to experiment with local AI agents and open-source language models.
With Ollama, you can easily download and manage local models. By using the Hermes integration, you can launch an AI agent and interact with it using your preferred model.
The entire process is straightforward:
- Install Ollama.
- Download a compatible local AI model.
- Find Hermes Agent in the Ollama Apps section.
- Copy the launch command.
- Run
ollama launch hermesin your terminal. - Select your local model.
- Start interacting with Hermes.
If you’re interested in local AI, open-source models, and AI automation, this is definitely worth exploring.
Watch the complete video tutorial below to see the entire installation and setup process.
Frequently Asked Questions (FAQ)
1. Can I use Hermes AI Agent with Ollama?
Yes. You can use Hermes AI Agent with Ollama by launching it through the Ollama integration and selecting a compatible model.
2. Can I run Hermes with local AI models?
Yes. You can select a downloaded local model when launching Hermes through Ollama.
3. Do I need a powerful computer to run Hermes with Ollama?
Not necessarily. However, your hardware determines which AI models you can run comfortably. Smaller models generally require fewer resources than larger models.
4. Is Ollama free to use?
Ollama provides a free way to run supported local AI models. Cloud model availability and usage may have separate requirements.
5. What command launches Hermes with Ollama?
The command used in this tutorial is:
ollama launch hermes
6. Can I use Hermes for Telegram automation?
Yes. Hermes can be configured with supported integrations to build automation workflows, including Telegram-based AI chatbot assistants.
Official Resources: