CommunityCoding & Developmentgithub.com

tuchg/Lucarne

Stop babysitting local AI agents. Just notifications, approve, and resume your Codex, Pi, or Claude code sessions anywhere. 0-Intrusion mobile control bridge via Telegram/Wechat/飞书. No hooks, no skills, no MCP.

What is Lucarne?

Lucarne is a zero-intrusion mobile control bridge designed for developers running local AI coding agents like Codex CLI, Pi, or Claude Code. It eliminates the need to constantly monitor your agent's progress by sending notifications to your preferred messaging platform (Telegram, WeChat, 飞书). You can approve or reject actions, view logs, and resume the session from your phone without any hooks, custom skills, MCP, or modifications to the agent setup. The tool works by injecting a lightweight layer that captures terminal output and forwards interactions to the messaging app, allowing you to step away from your desk while still maintaining full control over your agent's decisions. It supports popular Chinese and Western messaging services, making it ideal for developers working in hybrid environments or those who need to manage long-running AI tasks remotely.

Works with✓Claude Code✓Codex CLI~Cursor
npx skills add tuchg/Lucarne

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does Lucarne do?

Stop babysitting local AI agents. Just notifications, approve, and resume your Codex, Pi, or Claude code sessions anywhere. 0-Intrusion mobile control bridge via Telegram/Wechat/飞书. No hooks, no skills, no MCP.

Overview

Lucarne provides a lightweight, non-invasive way to manage your local AI coding agents from your mobile device. Instead of hovering over your terminal, you receive real-time notifications on Telegram, WeChat, or 飞书 when your agent needs input, and you can approve, reject, or provide instructions directly from your phone.

How It Works

  1. Install Lucarne via pip: pip install lucarne
  2. Configure your messaging platform (Telegram bot token, WeChat bot, or 飞书 webhook)
  3. Run your AI agent with Lucarne: lucarne run --agent codex --task "refactor auth module"
  4. Receive notifications on your phone when the agent requires approval or encounters an error
  5. Respond via chat: /approve, /reject, or type custom instructions

Features

  • Zero configuration: No hooks, no MCP, no custom skills required—works out of the box with Codex CLI, Pi, Claude Code, and other terminal-based AI agents
  • Multi-platform support: Telegram, WeChat, 飞书 (Feishu/Lark)
  • Real-time updates: Get notified when your agent starts a task, completes a step, or needs input
  • Mobile control: Approve, reject, or modify the agent's actions from your phone
  • Session persistence: Resume interrupted sessions from anywhere
  • Privacy-first: Your code and API keys never leave your machine; only prompts and responses are relayed

Configuration

Create a lucarne.yaml in your project root:

notifier:
  platform: telegram  # telegram, wechat, or feishu
  telegram:
    bot_token: "YOUR_BOT_TOKEN"
    chat_id: "YOUR_CHAT_ID"
  wechat:
    webhook_url: "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_KEY"
  feishu:
    webhook_url: "https://open.feishu.cn/open-apis/bot/v2/hook/YOUR_HOOK"

agent:
  type: codex  # codex, pi, claude
  working_dir: "./project"

Usage Examples

Basic run with Codex CLI

lucarne run --agent codex --task "Implement the user authentication API endpoints"

Run with Claude Code

lucarne run --agent claude --task "Analyze the codebase for security vulnerabilities"

Approve an action from Telegram

/approve
/reject
/instructions "Only use async functions"
/status

Supported Agents

AgentStatusNotes
Codex CLI✅ Full supportRecommended
Pi✅ Full support
Claude Code✅ Full support
Custom agents⚠️ ExperimentalRequires stdin/stdout interface

Why Lucarne?

  • No more babysitting: Walk away from your desk while your agent works
  • 0-Intrusion: Agents run exactly as they normally would; Lucarne only captures their output and forwards your input
  • No vendor lock-in: Switch between Telegram, WeChat, or 飞书 freely
  • Open source: MIT license, contributions welcome

Installation

pip install lucarne

Quick Start

  1. Set up a Telegram bot (or configure WeChat/飞书)
  2. Run lucarne init to create the configuration file
  3. Launch your first session: lucarne run --agent codex --task "Hello World"
  4. Approve the task from your phone via /approve

Learn More

Related Skills