Sessions, Modes & Composer
Run parallel sessions side by side, choose Plan, Edits, or Auto modes, queue prompts ahead of time, and use @file mentions and /slash commands.
LightCode lets you open multiple independent sessions inside every project—so one session can build a UI while another writes backend logic and a third investigates a bug.
Parallel sessions without blocking#
Click New session in the top bar anytime to add another thread to the session grid. Each session keeps its own conversation, chosen provider/mode, touched-files list, and background terminal—and creating a new session scrolls the grid straight to it on both desktop and mobile.
Closed sessions are never lost: open the Closed sessions menu in the top bar to restore or review previous threads whenever you need them.
Three execution modes#
Pick how much autonomy an assistant has directly from the composer bar (or with /mode):
| Mode | Behavior | Best used when |
|---|---|---|
| Plan | Read-only research: the agent inspects your files and proposes a step-by-step plan for your approval before making any edits | Starting large features, architecture changes, or unfamiliar refactors |
| Edits | The agent creates and modifies project files directly while asking your confirmation before running sensitive shell commands | Everyday interactive coding where you want to review shell actions |
| Auto | The agent executes end-to-end across files, terminals, and browser checks without pausing for routine confirmations | Well-scoped tasks, batch updates, and hands-off parallel work |
Human-in-the-loop approvals#
Whenever an agent in Plan or Edits mode needs your input, an inline approval card appears inside the thread and highlights the session indicator:
- Plan approval: Review the proposed plan and approve it with one click, or reply with adjustments.
- Command & tool permissions: Choose Allow once or Always allow for this session.
- Clarifying questions: When an agent asks a multiple-choice question, LightCode renders clickable option cards so you can answer in one tap—even from your phone.
Fast override: Typing and sending a new message while an approval card is waiting automatically cancels the pending question and starts your new instruction immediately, while keeping any prompts already waiting in your queue.
Composer shortcuts: @ mentions, / commands & attachments#
@File & folder mentions: Type@in the message box to search your project tree and attach exact files or directories so the agent goes straight to the right code without wasting tokens searching./Slash commands & skills: Type/to run built-in session commands or installed project skills.- Images & file attachments: Paste screenshots from your clipboard (Ctrl+V) or attach files directly to explain visual bugs or build from mockups.
- Clickable local links: Clicking
http(s)links inside an assistant's reply opens them directly inside LightCode's built-in Browser panel on desktop instead of pulling you out to an external window.
Built-in slash commands#
| Command | Arguments | What it does | ||
|---|---|---|---|---|
/clear | — | Clears the current conversation and starts a fresh context | ||
/provider | <provider> | Switches the session between auto or a specific linked provider | ||
/model | <model> | Sets or checks the active model for the selected provider | ||
/effort | <level> | Sets or checks the reasoning effort level for the current model | ||
/mode | `<auto\ | edits\ | plan>` | Switches execution mode (Auto, Edits, or Plan) |
/plan | — | Shortcut to switch immediately to Plan mode | ||
/aivin | <request> | Hands a business document task (plan, report, contract, spreadsheet, slides) to AIVIN Drive using verified project facts | ||
/help | — | Opens the full command and skill picker |
Prompt Queue & Touched Files#
- Prompt Queue: Never wait for a turn to finish before writing your next instruction. Send follow-up prompts anytime while the agent is busy—LightCode displays them in an editable queue below the composer and runs them sequentially.
- Touched files tracker: Each thread header tracks every file created or modified in that session so you can verify the exact scope of changes at a glance.
- Cross-project handoff: Agents working in one project can also hand off a related task directly to another project inside LightCode when work spans multiple repositories.
Rich chat features & keyboard shortcuts#
LightCode's chat interface is designed for scanning complex technical replies quickly:
- Rendered diagrams: Flowcharts, sequence diagrams, and state diagrams written in Mermaid render directly inside replies so you can review architectures and workflows visually.
- Interactive quick-choice buttons: When an agent presents numbered options for a decision, LightCode renders clickable choice buttons at the bottom of the message.
- In-app Markdown reader & image lightbox: Click referenced Markdown documents to open them in a clean full-height reader modal, or click any screenshot/image to inspect it full-screen.
| Shortcut | Where it works | Action |
|---|---|---|
| Enter | Composer | Send message (or queue it while the agent is busy) |
| Shift+Enter | Composer | Insert a new line without sending |
| @ | Composer | Search and mention project files or folders |
| / | Composer | Open built-in slash commands and project skills |
| Ctrl+V / Cmd+V | Composer | Paste screenshots or images directly as attachments |
| Ctrl+` | Workspace | Toggle the integrated Terminal panel |
| Esc | Modals & popovers | Close the active dialog, menu, or lightbox |