Overview
Give your old Android phone a second life! Turn it into a smart AI Assistant with PicoClaw. This guide shows you how to run PicoClaw on Android using Termux, a powerful terminal emulator.Why Run PicoClaw on Android?
- Repurpose old devices - Turn decade-old phones into AI assistants
- Ultra-lightweight - Runs with <10MB RAM
- Always-on - Keep your assistant running 24/7
- Portable - Take your AI assistant anywhere
Prerequisites
- Android device (ARM64 architecture)
- Termux app installed
- Stable internet connection
Installing Termux
Download Termux from one of these sources:- F-Droid (recommended): f-droid.org/packages/com.termux
- Google Play: Search for “Termux”
Installation Steps
1. Open Termux
Launch the Termux app on your Android device.2. Update Termux Packages
Y when prompted to confirm updates.
3. Install Required Packages
4. Download PicoClaw
Download the latest ARM64 binary:Check the Releases page for the latest version number and replace
v0.1.1 accordingly.5. Make the Binary Executable
6. Run PicoClaw Setup
Usetermux-chroot to run PicoClaw in a proper Linux environment:
7. Configure API Keys
Edit the configuration file:Ctrl+O, then exit with Ctrl+X.
8. Test the Installation
Run a test query:Running the Gateway
To enable chat integrations (Telegram, Discord, etc.), run the gateway:Configuration Tips
Get API Keys
- LLM Provider: OpenRouter · Zhipu
- Web Search (optional): Tavily (1000 free queries/month) · Brave Search (2000 free queries/month)
Configure Telegram Bot
Add Telegram integration to your config:@userinfobot on Telegram.
Keeping PicoClaw Running
Use Termux:Boot
To run PicoClaw automatically on device boot:- Install Termux:Boot from F-Droid
- Create a boot script:
- Add this content:
- Make it executable:
Use Termux:Wake Lock
Prevent Android from killing Termux:- Install Termux:Wake Lock from F-Droid
- Open Termux:Wake Lock and enable it
- This keeps Termux running in the background
Troubleshooting
Permission Denied Errors
If you get permission errors, usetermux-chroot:
Network Errors
Ensure you have internet connectivity:App Keeps Closing
- Disable battery optimization for Termux in Android settings
- Use Termux:Wake Lock to prevent the app from sleeping
- Keep the device charging for 24/7 operation
Storage Space
Check available storage:Performance Tips
Optimize for Low Memory
Reduce memory usage by loweringmax_tokens:
Monitor Resource Usage
Check PicoClaw’s resource usage:q to exit.
Creating a Shortcut
For easier access, create an alias:Next Steps
- Configure Chat Apps - Connect Telegram, Discord, WhatsApp
- Configuration Guide - Customize your deployment
- Troubleshooting - Common issues and solutions
Community Examples
Share your Android deployment on our Discord community!