Tutorials
Step-by-step guides for common tasks and workflows in LastBrowser.
1. Building LastBrowser from Source
This tutorial walks through the complete process of cloning, building, and running LastBrowser from source on Windows.
Prerequisites
Step-by-Step
- Clone the repository
git clone https://github.com/Loggableim/lastbrowser.git
- Navigate to the native directory
cd lastbrowser/native
- Install dependencies
npm install — This installs Electron v35, electron-builder, sql.js, and all dependencies.
- Start in development mode
npm run dev — Launches Electron with the Python backend. The ELECTRON_DEV=1 environment variable points the server launcher to the parent directory.
- Verify it works
The LastBrowser window should appear with the dark sidebar, and the status footer should show "connected" once the Python server is ready.
Build for Distribution
# Build NSIS installer
npm run build
# Build portable directory (no installer, run from any folder)
npm run build:dir
# Production release build
npm run dist
The output goes to native/dist/. The installer will be LastBrowser-Setup-0.2.0.exe (or your version).
Troubleshooting: If you get native module errors, ensure you have the Windows Build Tools installed. Run npm install --global windows-build-tools as Administrator, then retry npm install.
2. Creating Your First AI Agent
LastBrowser's agent system lets you configure AI agents with different models, providers, and roles. Here's how to set up your first agent.
- Open the Agents panel — Click the Agents icon in the sidebar (
Ctrl+4).
- Click "Add Agent" — Opens the agent configuration form.
- Configure your agent:
- Name: "My Assistant"
- Model:
deepseek-v4-flash (or any model you have access to)
- Provider:
opencode-go (or your preferred provider)
- Max Tokens:
4000
- Temperature:
0.7 (balanced between creativity and precision)
- Role:
Worker (general-purpose assistant)
- Enable the agent — Toggle the enabled switch to on.
- Save — Your agent is now active and ready.
Assign an Agent to a Tab
Once your agent is created, you can assign it to a browser tab:
- Open the Browser panel (
Ctrl+4).
- Navigate to a webpage.
- Click the agent icon in the tab toolbar and select your agent.
- The agent can now navigate, click, type, scroll, and extract content from that tab.
View Agent Statistics
The Agents dashboard shows real-time stats: total tasks run, tokens used, success rate, and running job count. Click any agent to see detailed history.
3. Setting Up a Kanban Board
Kanban boards help you manage tasks visually. Each workspace has its own boards.
- Open the Kanban panel — Click the Kanban icon in the sidebar (
Ctrl+2).
- Click "New Board" — Give it a title like "My Tasks" or "Project Alpha".
- Default columns are created automatically: Inbox, Todo, Planned, In Progress, Waiting, Review, Testing, Done, Archived.
- Add cards — Click "Add Card" in any column. Give it a title, description, and optional due date.
- Drag cards between columns to update their status.
- Set WIP limits — Right-click a column header to set a Work-In-Progress limit (e.g., limit "In Progress" to 3 cards).
Tips
- Use labels to categorize cards (bug, feature, improvement, etc.)
- Add checklists to break down tasks into subtasks
- Use comments for discussion on individual cards
- Cards in the "Done" column are automatically archived after 30 days
4. Organizing with Workspaces
Workspaces keep different projects or contexts completely separate. Each workspace has its own tabs, cookies, agents, and kanban boards.
- Create a new workspace — Click the + icon in the workspace switcher (top of the sidebar).
- Name it — e.g., "Work", "Personal", "Project Alpha".
- Choose an icon and color — Makes workspaces easy to identify at a glance.
- Switch between workspaces — Click a workspace name in the switcher. Each workspace loads independently.
- Pause unused workspaces — Right-click a workspace and select "Pause" to free system resources.
Because each workspace uses a separate Electron session partition, you can be logged into different accounts on the same website in different workspaces — they won't interfere.
5. Using Split View
Split view lets you see two web pages side-by-side within the same window.
- Open two tabs in your workspace (e.g., a documentation page and a code editor).
- Activate split view — Click the split view icon in the toolbar or use the Split View panel.
- Select tabs — Choose which two tabs to display. The workspace splits into two panels.
- Resize panels — Drag the divider between panels to change their relative sizes.
- Swap panels or close the split — Use the toolbar buttons to modify the layout.
Use Cases
- Read documentation while coding
- Compare two products or articles
- Keep an AI agent visible in one panel while browsing in another
- Monitor dashboards simultaneously
6. Running a Focus Session
Focus mode helps you concentrate by muting distractions and tracking your work time.
- Open the Command Palette — Press
Ctrl+K.
- Type "Focus" — Select one of the presets: Pomodoro (25m), Focus 50 (50m), Focus 90 (90m).
- Alternatively, use
Ctrl+Shift+F to toggle focus mode directly.
- During the session:
- All notifications are muted
- Badges are hidden
- Sounds are muted
- A timer overlay shows remaining time
- End early — Press
Ctrl+Shift+F again, or use the Command Palette.
Pro Tips
- Start with a 25-minute Pomodoro if you're new to focus sessions
- Use Focus 90 for deep work like coding or writing
- Take a Short Break (5m) or Long Break (15m) between sessions
- Combine focus mode with a dedicated workspace for maximum concentration
7. Mastering the Command Palette
The Command Palette (Ctrl+K) is the fastest way to navigate and control LastBrowser without touching the mouse.
What You Can Do
- Switch workspaces — Type part of a workspace name and hit Enter
- Open tabs — Search by tab title or URL
- Run commands — Toggle focus mode, compact mode, mute all, open DevTools
- Launch apps — Open pinned apps directly from the palette
- Change settings — Search and toggle settings
Fuzzy Search Tips
- Exact matches are ranked highest — type the full name of what you're looking for
- Abbreviations work — "wk proj a" will find "Work/Project Alpha workspace"
- Partial matches — typing "tab" shows all tab-related commands
- Navigate with arrow keys — then press Enter to activate
The palette searches across ALL data types simultaneously — workspaces, tabs, commands, settings, apps, and tasks. If you know what you want, just start typing.
Browse the FAQ →