Install

Terminal agents

Keep the agent session running

Run Claude Code in a persistent terminal inside the workspace.

A Claude Code session in the persistent terminal
BetterCoding runs the Claude Code session in tmux inside the workspace.

Write a longer message

Select Composer to write in a text box under the terminal. Press Enter to send the whole message to the agent.

The Composer text box under the Claude Code terminal

Reconnect to the same session

BetterCoding runs the terminal in tmux. The session keeps running when the page reloads or the connection drops.

Read the agent's tool calls

Follow the agent's tool activity in the terminal. When Claude Code shows a diff, read the changed lines.

Resume after a usage limit

Turn on Keep going. BetterCoding resumes the session when Claude reaches a rate or usage limit.

Keep going settings with the retry interval, continuation prompt and maximum attempts

Questions about terminal agents

Which agent runs in the terminal?

The terminal runs an interactive Claude Code session.

Does the session stop when I close the page?

No. The session keeps running in tmux. Open the workspace again to reconnect to it.