Running Local LLM Agents on Mac Minis with Telegram Interface

A developer on r/LocalLLaMA detailed a system for running multiple local LLM agents on Mac Minis, controlled entirely through Telegram messages from a phone. The setup eliminates API costs and provides complete privacy while maintaining functionality similar to commercial services like Claude Code Channels.
Technical Setup
The core system uses:
- Local models through LMStudio: 35B models for everyday tasks, 235B models for heavier reasoning
- Claude Code running in tmux sessions on each Mac Mini
- Telegram bots that bridge user messages to the tmux sessions
- 80 lines of Python for the Telegram bot implementation (available on GitHub)
The workflow is straightforward: text a message to the Telegram bot, which types it into the tmux session, watches for output, and sends the response back.
Key Advantages
- Zero ongoing cost: Hardware is the only expense—no API keys, rate limits, or quota restrictions
- Complete privacy: Everything stays on the local area network (LAN)
- Model flexibility: Mix and match different models—one agent runs Gemini CLI, others use LMStudio pointed at Ollama models
- No vendor lock-in: LMStudio serves the Anthropic Messages API natively, so Claude Code connects to it as if talking to Anthropic's servers
Current Implementation
The developer runs 5 specialized agents, each with its own Telegram bot:
- Approval workflows with inline Telegram buttons (Approve/Reject/Tweak) for reviewing drafts from a phone
- Shared memory across agents via git synchronization
- Media generation (FLUX.1, Wan 2.2) dispatched to a GPU box
- Podcast pipeline with cloned voice TTS, triggered from a single Telegram message
Hardware Requirements
- 35B models: Run well on 64GB+ RAM Mac or 24GB GPU
- 235B models: Need 128-256GB RAM or multiple GPUs
- The developer recommends starting small and scaling as needed
The tmux bridge pattern is model-agnostic—it doesn't care what's running inside the session, allowing for easy swapping of underlying models. A full build guide for a single machine/agent is available, with multi-machine instructions coming soon.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Claude Code Used to Reverse Engineer Disney Infinity 1.0, Breaking 13-Year Character Restriction
A developer used Claude Code (Opus 4.6 with high reasoning) to reverse engineer the Disney Infinity 1.0 game binary, identifying and patching 13 validation call sites that prevented characters from playing in any playset. The solution required 17 binary patches and 3 modified data files, solving a problem the modding community had been unable to crack for over a decade.

AI Agents Independently Build Guardrails in Open-Ended Experiment
A developer ran 5 AI agents for 3 weeks with an open brief to solve developer problems. 28 out of 170+ prototypes independently converged on building security scanners and cost controls—guardrails the agents created for themselves without being asked.

OpenClaw user reports significant improvements after switching to OpenAI OAuth with GPT-4
A developer struggling with Kimi k2.5 and Minimax2.7 models in OpenClaw switched to OpenAI's OAuth connection with GPT-4 and adaptive think, reporting immediate stability improvements and completing multiple automation tasks in 4-5 hours.

Local Multi-Agent Research Assistant Saves 15-25 Minutes Per Task
An IT admin built a local multi-agent research pipeline using Ollama models that generates structured briefs in ~2 minutes instead of 20-30 minutes of manual research. The system runs on RTX 5090 with 64GB RAM and integrates with OpenClaw for agent management.