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.
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 changesChanges 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.
Started by Scrollbar drag
Reviewer
Codex
High effort
Ask
Own worktree
Instructions from the bot, then the task
Review the diff against main. Name real bugs only, with the file and line. Change nothing.
Review the scrollbar drag in Interaction.java and its tests.
Ran git diff main --stat
Read Interaction.java
Working Reading ScrollbarDragTest.java…
Reply, or steer it while it works
Started by Scrollbar drag
Log reader
Groq
Low effort
Auto
Instructions from the bot, then the task
Read logs and say what failed and why, in three lines at most.
Read the last CI run on this branch.
Done Two failures, both in HotExitTest: the runner has no
UTF-8 locale, so file names with accents come back mangled.
Reply
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
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
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
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