Lemon Persistent Coding Agent

Keep coding work running in a self-hosted Elixir/OTP daemon, and resume it from a terminal, browser, or phone.

Source repo
z80dev/lemon
Stars
★ 139
Last updated
2d ago v2026.11.11
FARS reviewed
Nov 08, 2026 +9 new
License
NOASSERTION
Primary language
Elixir

At a glance

How it runs
CLISelf-hosted serviceWeb app
Works with
Universal · cross-platformOpenAI API · Claude APIChatGPT · Codex · Claude.ai (Partial support)
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Erlang/OTP 28.5+Elixir 1.19.5+Bun 1.3.14+ (TUI)Node.js 24+ (docs and browser client)Shell / CLINetwork accessLocal filesystemMCP Server
Typical use
An independent developer who wants coding work to continue after closing a terminal can run the Lemon daemon locally and resume from a phone later.
Not a fit if
  • Teams that require a stable 1.0 release
  • Teams that cannot send request data to their configured model provider
Website
z80.wtf/lemon ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-30latest release v2026.11.11 (2026-11-14)
Source review
72/100 · Some gaps

What does this agent do, and when should you use it?

Lemon is a self-hosted coding agent built around an Elixir/OTP daemon. Each session, run, and tool call is a separate supervised BEAM process, while the TUI, web workspace, CLI, Telegram, and Discord connect to the same runtime. It reads and edits code, runs shell commands, searches the web, and checks diagnostics, with planning, approvals, checkpoints, and diff review. It can use OpenAI, Anthropic, and other listed model services or compatible endpoints, as well as local models. The project is pre-1.0: the TUI, web UI, CLI, control plane, and text-first Telegram/Discord features are listed as stable, while some automation and advanced capabilities remain previews.

Run lemon in a repository to start or reuse the daemon and open the TUI. Lemon can read files, search code including with ast_grep, edit and patch files, run shells, search the web, and check diagnostics. /plan supports read-only planning before approval; /rewind and checkpoints help review or restore changes. Continue sessions through lemon web, lemon -p, Telegram, or Discord; task dispatches child sessions, and Kanban tasks can run in separate git worktrees. Outputs include code diffs, tool results, machine-readable one-shot results, and persistent session, memory, and automation records.

  1. An independent developer who wants coding work to continue after closing a terminal can run the Lemon daemon locally and resume from a phone later.
  2. An engineer who reviews changes across terminal and browser can start in the TUI and inspect diffs and tool cards in the web workspace.
  3. A maintainer handling exploration and edge-case review in parallel can use task to dispatch the built-in scout and reviewer child sessions.
  4. A team that needs one-shot coding jobs from CI or scripts can run lemon -p and request JSON output.
  5. A user who wants recurring CI checks or autonomous goal progress can configure heartbeats, cron, or goals; these features are currently previews.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -fsSL https://raw.githubusercontent.com/z80dev/lemon/main/install.sh | sh -s -- --skip-setup
Runtime
Bun 1.3.14+ · Node.js 24+
Install notes cover
macOS · Linux

How do you install or deploy this agent?

On macOS (Apple Silicon) or Linux, install a prebuilt release; it bundles the runtime and TUI, so you do not need to install Elixir yourself. Add Lemon to PATH and run setup. Choose ChatGPT or Claude Pro/Max sign-in, import an existing Codex CLI login, or provide a model-provider API key. Building from source requires Erlang/OTP 28.5+ and Elixir 1.19.5+; TUI development requires Bun 1.3.14+, and docs and the browser client use Node.js 24+.

curl -fsSL https://raw.githubusercontent.com/z80dev/lemon/main/install.sh | sh -s -- --skip-setup
export PATH="$HOME/.lemon/bin:$PATH"
lemon setup

How do you use this agent?

Start Lemon from the target repository. On first run, choose a model, then submit a task; use -p for a one-shot run with JSON output. Configure the Telegram or Discord gateway to continue the same session from chat.

cd /path/to/repository
lemon
lemon -p "Summarize the failing tests" --output json

During setup, choose a supported sign-in option or enter the relevant provider API key. The README also lists Gemini/Vertex, Bedrock, Azure, Mistral, OpenRouter, Groq, DeepSeek, xAI, Kimi, Qwen, and OpenAI-compatible endpoints.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • The OTP daemon keeps sessions running after the TUI closes and lets multiple interfaces use the same state.
  • Support for multiple model providers, compatible endpoints, and local models reduces dependence on one model vendor.
  • Approvals, planning, checkpoints, diff review, and /rewind file restoration provide concrete controls over code changes.
  • Child agents, worktree-based tasks, persistent memory, and automation support long-running work.
Limitations
  • The project is pre-1.0, and Goals, Kanban dispatch, and cron are preview features.
  • Source development requires recent Erlang/OTP and Elixir; TUI and browser-related development also need Bun or Node.js.
  • Actual model calls require a supported sign-in or API key, and the README does not state provider prices.
  • Local-first does not mean fully offline: configured model providers receive the data needed for their requests.

How does this agent compare with similar options?

The README names pi, oh-my-pi, takopi, OpenClaw, and Ironclaw as inspirations, and links a Hermes Agent migration guide; it does not provide feature comparisons.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Lemon Persistent Coding Agent This agent 72 · Some gaps CLIFree + model costs ★ 139 2d ago Elixir OpenAI API · Claude API
GolemBot 58 · Major gaps CLIFree + model costs ★ 323 1mo ago TypeScript Codex · Claude Code
Pi Dynamic Workflows 72 · Some gaps Agent plugin / skillFree + model costs ★ 608 11d ago TypeScript —
MetaHarness 65 · Some gaps CLIFree + model costs ★ 767 10d ago TypeScript Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
72/ 100 5-point scale 3.6 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 9 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 16/29
Reliability 9/14
Adaptability 14/18
Convention 16/18
Effectiveness 12/13
Verifiability 5/8
Why each dimension lost points
Trust16 / 29 · 2.8/5

The docs describe tool policies, approval gates, encrypted credentials, untrusted-content handling, backup verification and recovery. The installer is documented as checking size and SHA-256 and switching versions atomically. Deductions: the Discord and Telegram debugging skills instruct real message operations or credential use, creating substantial permissions and external effects; the Discord skill includes delete and upload commands without a clear per-action confirmation requirement. Security-design and signed-registry statements are mostly project claims in this packet, and publisher identity and maintenance ownership are not independently established.

Reliability9 / 14 · 3.2/5

The README, install guide and quickstart are broadly consistent about the daemon, configuration, preview features and recovery. They describe diagnostics, timeouts, circuit breakers, retries and avoiding replay of crashed runs. Deductions: these runtime behaviors cannot be independently verified from this static packet, and the environment registry explicitly says many call sites still read variables directly rather than using the registry.

Adaptability14 / 18 · 3.9/5

The material identifies concrete use cases across terminal, browser, scripts, Tern, messaging, automation and simulation, and states preview status, platform support and permission boundaries. Deductions: capability boundaries are spread across documents; skill triggers are reasonably specific, but the debugging skills involve real accounts and traffic without tightly defining the boundary of required external permissions.

Convention16 / 18 · 4.4/5

The repository provides layered guides, quickstart, install and configuration instructions, examples, support boundaries, a security policy, an MIT license and a changelog entry point. Preview status and platform limits are specific. Deductions: the packet does not include changelog contents or detailed maintenance commitments. License metadata is NOASSERTION, although LICENSE states MIT and separately identifies Lemon Bot artwork as CC0; package-level license boundaries merit attention. Naming and release-channel guidance is useful but does not establish stability guarantees for every extension interface.

Effectiveness12 / 13 · 4.6/5

The README, command reference, JSON mode, reviewable diffs, benchmark artifacts and install steps support practical use; persistent sessions across interfaces and parallel agents have clear stated purposes. Deductions: automation and multi-channel features add setup, operational and credential-management costs, and some features remain previews. Utility and cost claims are not independently demonstrated by execution evidence in this packet.

Verifiability5 / 8 · 3.1/5

Multiple documents connect installation, configuration, permissions, security, testing and benchmark workflows to specific commands, files or mechanisms; the CI workflow describes its checks. Deductions: static material cannot establish advertised reliability or performance. CI configuration and benchmark output included in docs are evidence in the packet, not independent execution during this review. The packet does not provide the underlying evidence for some security-design and external registry-verification claims.

Risks and how to mitigate them
  • The Discord skill lists real-account actions such as sending, editing, deleting and uploading; confirm token scope, channel scope and approval practices before use.
  • The Telegram debugging skill uses user credentials and sends real traffic; use it only in a dedicated test topic and an explicitly authorized environment.
  • Automation, kanban dispatch and cron are marked preview features; check support boundaries and review actual changes before relying on unattended operation.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 94c02e11bd9a New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/lemon.svg)](https://followagents.com/en/agents/lemon)
<a href="https://followagents.com/en/agents/lemon"><img src="https://followagents.com/badge/lemon.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v2026.11.11 Lemon 2026.11.11 (stable)
    Release notes excerpt
    Added - Run tools on other machines: with the new nodes tool allowed, bash, bash_output, kill_process, process_input, read, write, edit, ls, grep, find and eval take a node argument that runs that one call on a connected named node, with its files, shell and network, while the model loop and provider credentials stay on the controller. nodes lists connected machines with a live host summary. Nodes keep per-session shell state, background processes and kernels for 30 idle minutes. A call cut off by a …
    View on GitHub ↗
  2. v2026.11.10 Lemon 2026.11.10 (stable)
    Release notes excerpt
    Added - Graceful restarts and updates: lemon stop, lemon restart, lemon update, system.stop/system.restart and service-manager stops now drain first. Telegram stops fetching (unfetched updates wait at Telegram), webhooks answer 503 with Retry-After, active runs get 5 s to finish and are then paused at the next point where no tool is executing (forced, and marked uncertain, shortly before the 20 s deadline). Queued messages and paused runs are persisted and resubmitted after the restart: a paused run continues its …
    View on GitHub ↗
  3. v2026.11.9 Lemon 2026.11.9 (stable)
    Release notes excerpt
    Security - Updated HTTP dependencies past published advisories: Bandit 1.14.1 (HTTP/1, HTTP/2 and WebSocket resource-exhaustion, smuggling and host-spoofing fixes), cowlib 2.22.0, hackney 4.10.2 (pinned-CA trust, redirect credential leak, unbounded body buffering), ssl_verify_fun 1.1.9 (wildcard hostname matching), phoenix_html 4.4.0 and plug_crypto 2.2.1. mix hex.audit reports no advisories. ---
    View on GitHub ↗

FAQ

Do I need a paid model account to use Lemon?
The software is MIT licensed. You can use local models, but external model services require their sign-in or API key; the README does not specify provider prices.
Does work stop when I close the terminal?
Closing the TUI does not stop the daemon: the README says pressing Ctrl+C twice quits the TUI while leaving the daemon and its work running.
Will Lemon replay a run after a model or tool crash?
The README says a crashed tool call becomes an error result the model can read. Crashed runs are not replayed, avoiding repeated file writes and messages.
Which parts of Lemon are suitable for production reliance?
The README lists the TUI, web UI, CLI, control plane, and text-first Telegram and Discord features on macOS/Linux as stable. Browser automation, LSP, checkpoints, media generation, ACP, goals, Kanban, and cron are previews.
Was this page helpful?
View on GitHub ↗ Install ↓

Related concepts