botbook/src/13-devices
Rodrigo Rodriguez (Pragmatismo) 8d7c4d3770 Add Chapter 13: Device & Offline Deployment documentation
- Add mobile deployment guide for Android & HarmonyOS (BotOS)
- Add hardware guide for SBCs (Raspberry Pi, Orange Pi, etc.)
- Add quick start guide for 5-minute deployment
- Add local LLM guide with llama.cpp for offline AI
- Update SUMMARY.md to place chapter after Security (Part XII)
- Include bloatware removal, Magisk module, GSI instructions
- Cover NPU acceleration on Orange Pi 5 with rkllm
2025-12-12 14:00:38 -03:00
..
hardware.md Add Chapter 13: Device & Offline Deployment documentation 2025-12-12 14:00:38 -03:00
local-llm.md Add Chapter 13: Device & Offline Deployment documentation 2025-12-12 14:00:38 -03:00
mobile.md Add Chapter 13: Device & Offline Deployment documentation 2025-12-12 14:00:38 -03:00
quick-start.md Add Chapter 13: Device & Offline Deployment documentation 2025-12-12 14:00:38 -03:00
README.md Add Chapter 13: Device & Offline Deployment documentation 2025-12-12 14:00:38 -03:00

Chapter 13: Device & Offline Deployment

Deploy General Bots to any device - from smartphones to Raspberry Pi to industrial kiosks - with local LLM inference for fully offline AI capabilities.

Overview

General Bots can run on any device, from mobile phones to minimal embedded hardware with displays as small as 16x2 character LCDs, enabling AI-powered interactions anywhere:

  • Kiosks - Self-service terminals in stores, airports, hospitals
  • Industrial IoT - Factory floor assistants, machine interfaces
  • Smart Home - Wall panels, kitchen displays, door intercoms
  • Retail - Point-of-sale systems, product information terminals
  • Education - Classroom assistants, lab equipment interfaces
  • Healthcare - Patient check-in, medication reminders
┌─────────────────────────────────────────────────────────────────────────────┐
│                         Embedded GB Architecture                             │
├─────────────────────────────────────────────────────────────────────────────┤
│                                                                              │
│    ┌──────────────┐     ┌──────────────┐     ┌──────────────┐              │
│    │   Display    │     │  botserver   │     │  llama.cpp   │              │
│    │  LCD/OLED    │────▶│   (Rust)     │────▶│   (Local)    │              │
│    │   TFT/HDMI   │     │  Port 8088   │     │  Port 8080   │              │
│    └──────────────┘     └──────────────┘     └──────────────┘              │
│           │                    │                    │                       │
│           │                    │                    │                       │
│    ┌──────▼──────┐     ┌──────▼──────┐     ┌──────▼──────┐              │
│    │  Keyboard   │     │   SQLite    │     │  TinyLlama  │              │
│    │  Buttons    │     │   (Data)    │     │    GGUF     │              │
│    │  Touch      │     │             │     │   (~700MB)  │              │
│    └─────────────┘     └─────────────┘     └─────────────┘              │
│                                                                              │
└─────────────────────────────────────────────────────────────────────────────┘

What's in This Chapter

Mobile Deployment

Embedded Deployment

Deployment Options

Platform Use Case Requirements
Android/HarmonyOS Smartphones, tablets, kiosks Any Android 8+ device
Raspberry Pi IoT, displays, terminals 1GB+ RAM
Orange Pi Full offline AI 4GB+ RAM for LLM
Industrial Factory, retail, healthcare Any ARM/x86 SBC