Terminal vs desktop app · keep both
A better UI for Claude Code and Codex, right in your terminal.
No need to move to a desktop app for a nicer UI. lpm shows the session you run in the terminal as a chat: one line per step, every diff a click away, Copy under every reply. Switch between the two with ⌘⇧Y.
add rate limiting to the login route, then run the tests
Login is now capped at 5 tries a minute per IP. All 14 auth tests pass.
Worked 1m 48sOpus 5.5 · High4:12 PM
make the limit configurable
The limit now comes from config, with the old values as defaults:
LOGIN_RATE_LIMITtries per window, default 5LOGIN_RATE_WINDOW_MSwindow length, default 60000
All 16 auth tests pass, including two new ones for the config.
Worked 52sOpus 5.5 · High4:15 PM
Same two prompts on both sides. Press Copy under a reply to take its text, or open “Worked 52s” to see every step. In the app, ⌘⇧Y flips a tab between its terminal and its chat.
The CLI you installed
The tab runs your own claude or codex. lpm reads the transcript it writes; it doesn't re-make the agent.
Switch mid-turn
The terminal stays live under the chat, so you can flip between them while the agent works.
Your login, your setup
No API key. Hooks, skills, MCP servers and slash commands keep working, because nothing about the CLI changes.
The terminal annoyances the chat view fixes
Claude Code and Codex are great in a terminal until a session gets long. These are the complaints people search for, and what changes in lpm.
Scrolling back through a long session
⏺ Read(src/routes/auth.ts) ⏺ Write(src/middleware/rateLimit.ts) ⏺ Update(src/routes/auth.ts) …
In lpm's chat view
Each finished turn folds into one line, “Worked 1m 48s · read 1 · edited 2 · ran 1”, so a two-hour session reads like a list of what got done.
Diffs scroll past, and then they're gone
⎿ Updated src/routes/auth.ts with 9 additions … +11 lines (ctrl+o to expand)
In lpm's chat view
Click any edit to open its diff, any time later. Every turn ends with the files it changed, and Review changes opens all of them.
Copying a reply brings the line breaks along
⏺ Login is now capped at 5 tries a minute per IP. All 14 auth tests pass.
In lpm's chat view
Replies are text on a page: select what you need, or press Copy under the reply to take all of it.
Long command output buries the answer
⎿ PASS src/routes/auth.test.ts … +36 lines (ctrl+o to expand)
In lpm's chat view
A command is one line, “Ran npm test · 14 passed”, with a clock and its last lines while it runs. Open it when you care.
Finding what it said an hour ago
(scroll, scroll, scroll…)
In lpm's chat view
Search this chat or every chat in the project, and jump straight to the turn that said it.
Claude Code terminal vs desktop app vs lpm
The Claude and Codex desktop apps give you a nicer UI by moving you out of the terminal. lpm gives that view to the terminal session you already have.
| What you get | Terminal alone | Desktop apps | lpm |
|---|---|---|---|
| Each step on one line, diffs a click away, a recap per turn | Inline in the scrollback | Yes | Yes |
| Keeps the claude or codex CLI you already run | Yes | A separate app instead | Yes, in a tab |
| Flip one session between terminal and chat | Terminal only | App view only | Yes, ⌘⇧Y |
| Claude Code and Codex in one window | As two tabs | One app each | Yes |
| Your shell, dev servers and git beside the agent | In other tabs and windows | Partly | Yes, in the same project |
Desktop apps: Anthropic's Claude app (its Code tab) and OpenAI's Codex app.
Keep the terminal. Add the chat.
lpm runs the real claude or codex in a terminal tab and draws the chat from the transcript that CLI already writes. Nothing to migrate, nothing to give up.
- Type in the terminal or in the message box under the chat: both reach the same session.
- The chat keeps up live, even halfway through a turn.
- It's an ordinary session: pick it up later with
claude --resumeorcodex resume.
claude · codex
one session, your login
Terminal
every byte, as printed
Chat view
the same turns, readable
lpm Link
the chat on your phone
Phone app
Read Claude Code's work as a chat
Send Claude Code a prompt, then press Chat
A short video: start a prompt in the terminal, switch the tab to Chat, answer Claude's question with a click, and see the same chat on your phone.This is lpm itself, running in your browser. Click a step to run it, or anything in the window.
lpm is a desktop app with a multi-pane terminal workspace. Open this page on your computer to try the interactive demo.
Or check your computers from your phoneSwitch a Claude Code tab to Chat
Two minutes in the real app: a prompt in the terminal, the same turn as a chat, and the chat on a phone.
- 1
Start in the terminal
Send Claude Code a prompt in its tab, as you always do.
- 2
Switch to Chat
Press Chat at the right of the tab bar, even mid-turn. Each step is one line you can open.
- 3
Send the next prompt
Type in the message box under the chat. It goes to the same session.
- 4
Read it on your phone
lpm Link shows the same chat, so you can follow a turn away from your desk.
Terminal or app: what people ask
Claude Code terminal vs desktop app: which should I use?
If the terminal is where you like to work, stay there. lpm's chat view is a view of the claude you run in the terminal, so you get an app-like read of the session without moving to a separate app, and the terminal is one click away.Codex app vs CLI: can I keep the CLI and get a nicer UI?
Yes. Run codex in an lpm tab and press Chat. Its commands, edits and replies read the same way Claude Code's do, and the CLI keeps running underneath.GUI or terminal: do I have to pick one?
No. In lpm the terminal tab and the chat view are two views of one session. Read in the chat, drop to the terminal when you want the raw output, and switch back with ⌘⇧Y on macOS or Ctrl+Alt+Shift+Y on Linux and Windows.Does it help with scrolling and copy-paste in Claude Code?
Yes. The chat view is drawn by lpm, not by the terminal, so it scrolls like a page and you select text like a page. Copy under each reply takes the whole answer without the terminal's line breaks. The terminal tab is still there, unchanged.Does lpm run its own copy of the agent?
No. The tab runs the claude or codex CLI you installed, signed in the way it already is, and lpm draws the chat from the transcript that CLI writes. Your hooks, skills, MCP servers and slash commands work as they always do.Do I need an API key?
No. The CLI uses whatever login it already has, including a Claude or ChatGPT plan.Which agents get the chat view?
Claude Code and Codex. Gemini CLI, OpenCode, Cursor CLI and any other agent still run in lpm terminal tabs, without the chat view.Can I read the chat on my phone?
Yes. lpm Link for iPhone, iPad and Android has the same switch, so you can read a turn and send the next prompt away from your desk.Does it work on Linux and Windows?
Yes. lpm runs on macOS, Linux and Windows, and the chat view works the same on each. The shortcut there is Ctrl+Alt+Shift+Y.
Keep reading
Best terminal for Claude Code & Codex
Every Claude Code and Codex session beside its project, with a chime when one needs you.
Review changes in the terminal
Read the diff an agent left, file by file, and commit without leaving the window.
lpm Link on your phone
The same chat view for Claude Code and Codex on iPhone, iPad and Android.
Run Claude Code in parallel
Send one prompt to several copies of your project and keep the best answer.
Claude Code & Codex statusline
Context left and your 5-hour and weekly limits, right under the prompt.
Claude Code & Codex token usage
Tokens, estimated spend and sessions per project in one local dashboard.
Keep your terminal.
Get a better view of it.
Download lpm, start Claude Code or Codex in a tab, and press ⌘⇧Y.