Open source · macOS, Linux and Windows

The agent is the
main view.

Lotuspad is a code editor built around a coding agent. You ask; it plans, edits and runs commands in your folder, and every change comes back as a diff you accept hunk by hunk. Native, pure Java, drawn on the GPU. No Electron, no web view.

Free and Apache-2.0. Each build carries its own Java runtime.

Lotuspad's agent view: a session's transcript with commands it ran and files it changed, and an overview of the session's context, worktree, bots, sub-agents and changes.

Bring your own model

  • Claude Codeyour Claude plan
  • Codexyour ChatGPT plan
  • Anthropic APIa key or a Console account
  • OpenRouterhundreds of models, one key
  • OpenCode Zenpay as you go
  • DeepSeekits own API
  • Groqits own API
  • Ollamaon this computer
  • LM Studioon this computer

Review

Every change is a diff you own.

Keep or drop each hunk. Click a line to leave a comment, queue a few, and send them to the agent in one go. Try it below.

Any VS Code theme: import a .vsix or install one from Open VSX.

Review changes Changes in acme-http · Click a line to comment on it
2 of 2 hunks +5 −3
src/main/java/acme/http/HttpClient.java
No comments queued

A demo built in HTML from Lotuspad's Review dialog. In the app it covers a whole session, with a commit and a pull request at the end.

  • Hunk by hunk

    Accept or reject each hunk the agent wrote. Rejected hunks go back on disk, the rest stay.

  • Checkpoints and rewind

    Every request gets a checkpoint. Rewind to it, and your own edits since are kept by a three-way merge.

  • Approvals you set

    Plan, Ask, Edits or Auto, with "always allow" rules per command, file glob, host or MCP tool.

Sessions, not sub-agents

Hand a task to a whole session.

The agent can start a new session with one of your bots. It gets its own tab, its own model and effort, and its own git worktree if you want one. You watch it, answer it and steer it. The agent that started it checks back on it. Open the tabs below.

Make the scrollbars draggable. Have the reviewer look at it, and get someone to read why CI failed.

spawn_sessionReviewer

Started Review: scrollbar drag in its own tab and worktree.

spawn_sessionLog reader

Started Read the CI logs in its own tab.

session_statusRead the CI logs

Done Two failures, both in HotExitTest: the runner has no UTF-8 locale.

CI only needs LANG=C.UTF-8; I'll add it to the workflow. The review is still running, so I'll check back with session_status before I commit.

A demo built in HTML from Lotuspad's session tabs. Bots live in a panel under Projects; an agent may propose one, and nothing is kept until you press Save.

  • A sub-agent stays inside

    It runs on the session's backend, shows as a card in the conversation, and reports back. You cannot talk to it.

  • A session stands on its own

    Its own tab, the bot's model, effort and mode. You answer its questions and steer it like any session you started.

  • Only its starter reads it

    The agent checks progress with session_status and sends more with message_session. A session a bot runs starts none of its own.

Features

A real editor sits next to the agent.

Code intelligence from real language servers

Completion, hover, go to definition, references, call hierarchy, rename, code actions and formatting, over LSP. Lotuspad fetches the Java, Scala and Kotlin servers itself and keeps them up to date.

  • A rope buffer with no size limit, multiple cursors, folding, minimap, split panes
  • ⌘-click on a name, an outline of the file, breadcrumbs
  • ⌘K inline edits and one-line edit prediction
Ui.java in the editor: breadcrumbs, syntax colours, the caret line's blame, inlay hints, a diff bar in the gutter and the minimap.

Git without leaving the window

Diff bars in the gutter, status in the tree, and a Git page that stages and discards by hunk, commits, switches branches and worktrees, pulls, pushes and publishes.

  • Blame on the caret's line and permalinks
  • Review a whole session, commit it and open a pull request
  • A terminal on a real pseudo-terminal, and tasks from Maven, Gradle, npm, Cargo, Go and more
The Git page in the sidebar: the branch, a commit message box, and 11 changes grouped as a tree with stage and discard buttons, next to the editor.

Agents that work side by side

Sessions can run in their own git worktree. Sub-agents report back into the conversation, and bots you define run with their own model and effort.

  • Skills, slash commands, hooks, MCP servers and plugins
  • AGENTS.md and CLAUDE.md read as you would expect
  • Context usage as each backend reports it, with background compaction
The session overview: context used, model and effort, the session's worktree, two bots with their models, and five finished sub-agents.

Built on Lotus

The UI is a pure function of state.

Lotuspad is made with Lotus, a declarative UI framework for Java 25. It lays out with its own flexbox and draws with Skia on Metal, Direct3D 12 or OpenGL, in a native window.

Language
Java 25, JPMS modules, no preview features
Drawing
Skia on the GPU, unhinted text at sub-pixel positions
Tested
A headless host, and a property test for every law
License
Apache-2.0
Take the framework tour →
record Model(int count) {}
sealed interface Msg permits Inc, Dec {}

static Next<Model, Msg> update(Model m, Msg msg) {
    return switch (msg) {
        case Inc _ -> Next.of(new Model(m.count() + 1));
        case Dec _ -> Next.of(new Model(m.count() - 1));
    };
}

static Node<Msg> view(Model m, Ui<Msg> ui) {
    return ui.column(
        ui.text("Count: " + m.count()),
        ui.row(ui.button("-", new Dec()),
               ui.button("+", new Inc()))
    ).gap(8);
}

Download

Get Lotuspad.

Builds for macOS, Linux and Windows, each with its own Java runtime.

Your computer

Download Lotuspad

From the latest release on GitHub.

Every build
PlatformFileSize
macOS 12+ · Apple siliconLotuspad-…-macos-arm64.zip—
macOS 12+ · IntelLotuspad-…-macos-x64.zip—
Linux · x86_64Lotuspad-…-linux-x86_64.AppImage—
Linux · aarch64Lotuspad-…-linux-aarch64.AppImage—
Windows x64 · previewLotuspad-…-windows-x64.zip—

SHA256SUMS and release notes

First launch

The app is not signed yet. Unzip it, move Lotuspad.app to Applications, then run this once:

xattr -dr com.apple.quarantine /Applications/Lotuspad.app