Skip to content
Β 
Β 

Latest commit

Β 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🦞 Run OpenClaw with Ollama on Phone(Android/Termux)

Run a powerful, local AI agent on your Android device for free using Termux, Ollama, and OpenClaw.

---

πŸ“‹ Prerequisites

if you haven't installed Openclaw before, please wath this video first.

Video link - https://youtu.be/1pLPBgseffo?si=O_q3-8MvEsv7u28l

Before starting, ensure you have the following installed on your Android device: Termux (Recommended version from F-Droid or GitHub). Node.js (Required for OpenClaw).

Run this repo commands till the networks setup commands to proceed with ollama setup.

Repo Link - https://github.com/AbuZar-Ansarii/Clawbot.git

πŸš€ Installation & Setup with Ollama

Follow these steps in order to get your local environment running.

  1. Install and Start Ollama Open Termux and run the following command to install the Ollama package:
pkg install ollama

Start the Ollama server:

ollama serve

Note: Keep this session running. You will need to open a new Termux session for the following steps.

  1. Download the Model In a new Termux session, pull the desired model. For example:
ollama pull glm-5:cloud

Run model

ollama run glm-5:cloud
  1. Install OpenClaw Install the OpenClaw CLI globally using npm:
npm install -g openclaw@latest

πŸ› οΈ Configuration Run the onboarding wizard to configure your environment and install the background daemon:

openclaw onboard --install-daemon

⚑ Usage Once configured, you can launch OpenClaw using the following commands:

Launch with Configuration Menu:

ollama launch openclaw --config

Openclaw Dasboard URL:

http://127.0.0.1:18789

πŸ’‘ Troubleshooting Memory Issues: Running LLMs on mobile can be resource-intensive. Ensure you have at least 4GB of free RAM.

Stay Awake: Use the termux-wake-lock command to prevent Android from killing the process when the screen is off.

About

OpenClaw with Ollama is a lightweight, high-performance integration designed to run sophisticated AI agents locally on Android devices. By leveraging the power of Termux and the flexibility of Ollama, this project enables a completely private, free, and offline-capable AI workstation in your pocket.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors