Compare a whole page with /compare. The first file edit keeps a picture of the browser page, and /compare shows it beside the page now with what changed tinted. Nobody has to point at anything, and the panel can stay closed. Agents can do the same with browser_compare and page: true, to check their own work. Anything animating is left out.
See the page at each prompt in /rewind. The list of prompts now comes with numbered pictures of the browser page, so you can tell which version looked right before you go back.
See the page after each browser action in /trace. Select a browser call in the trace to see what the page looked like once it finished.
With a browser page open, the first edit of a turn and the first edit after a comparison can take up to 0.8 seconds longer per open tab.
/compare covers the visible window. Slow or large animation can still show as a change, and edits made through shell commands don't keep a picture.
These pictures stay in memory for this run. Prompts and traces from earlier runs have none, and they never reach trace files or exports.
/compare and the /rewind pictures need inline images. browser_compare with page: true needs the browser tools on, and new tool options apply from a fresh context.
The browser panel keeps painting when an agent uses another tab. A screenshot or tab switch in another tab could stop the panel's tab from updating, with input timing out, until you reattached. The panel now brings its tab back.
Rendered pictures report their true size.browser_render could report a size one pixel smaller than the PNG it returned.
See what fills the context with /context. A map shows how much goes to your prompts, replies, each tool, images and attachments, and lists the largest tool results, so you know what to drop before compaction. The total is the provider's own number; the shares are estimates and show only as percentages.
See where the time went with /timeline. A chart shows when the model, tools and each subagent ran, with the slowest calls and what the session cost. It needs no debug mode, and long pauses are cut short.
See a click before it lands. With the browser panel open, a marker shows where an agent is about to click for 400 ms. Press esc in the conversation to stop the turn, and the click never happens. If the element moves in that time, the click follows it.
Open an image full size. Click a picture in the conversation to open it in the browser panel, where you can zoom and scroll, or in your system's viewer when the panel isn't available.
Replay what an agent did in the browser./replay opens a filmstrip in the panel, with a picture after each action: drag the slider, use the arrow keys, or press space to play. /replay gif exports it for a PR. It stays in memory for this run, up to 200 steps.
The browser panel shows every tab. Switching to a tab that wasn't the visible one could leave the panel empty with input timing out, because Chrome doesn't paint a background tab.
Browser actions take a little longer, because each one saves a picture for /replay. Those pictures can show anything on the page, and a GIF you export carries them with it.
Agent clicks take 400 ms longer while the browser panel is open. With the panel closed they don't wait.
/timeline covers the current conversation since Larik started: session files don't keep timings, so earlier runs of a resumed session aren't included. Its cost line covers the whole session.
Point at part of a page. Press alt+s in the browser panel and drag over what you mean. A cropped picture and the element's details are attached to your next prompt, so "make this bigger" needs no explaining.
See what changed. Press alt+d after a change to compare your selection with how it looked when you pointed at it, with the differences tinted.
The model can check its own work.browser_compare gives it the same before and after, so it can see whether its change did what you asked.
Draw diagrams in the conversation.browser_render turns Mermaid, SVG or HTML into a picture. It runs in a sealed page that reaches no network and shares nothing with the browser, and only Mermaid runs scripts. Where pictures can't show, the model is told to explain in text.
Images in the conversation. Screenshots, comparisons, diagrams and images you attach with @ or ctrl+v appear inline in Ghostty and kitty, outside tmux and cmux. Other terminals keep the text line. Turn it off with inline_images.
Subagents' images appear under the subagent's name.
Resuming a session shows its newest 32 images again.
Review a session's changes with /diff. It lists the files changed turn by turn, with lines added and removed, and opens each as a diff. It reads /undo's snapshots, so it shows only what the agent did, includes files bash commands changed in a git repository, and still works after resuming a session.
Reject one hunk. In a file opened from /diff, n and p move between hunks, and pressing r twice puts the selected hunk back as it was before the turn. The model is told to re-read the file. Larik refuses during a turn, while a subagent runs, for anything but a file's newest change, or if the file changed after you opened it.
A full-screen diff. Press d in an edit's approval prompt to read the whole change, with long lines wrapped. F4 pages through this session's edits at any time; rebind it as view_diff.
Edits show a real line diff. Approval prompts and tool cards used to list every old line as removed and every new line as added. They now show only what changed, with a few lines of context, and mark the changed words.
Overwrites are compared with the file they replace, in the approval prompt, the tool card and F4, instead of showing the new content as all added.
Approval prompts warn when a preview is cut off, by too many lines or by a clipped long line.
The model can ask you a question. With ask_user it stops mid-turn and asks, offering up to four answers with its recommendation first. Pick one by number, or type your own. Esc dismisses the question, and the model carries on with its best judgment and says what it assumed. A question waits for you in every mode, including yolo and auto; a deny rule for ask_user turns it off. Subagents can't ask, and in larik -p the model decides for itself. The server's permission answer takes an answer field.
Background commands.bash with run_in_background starts a dev server, watcher or long build and returns a task id at once. The model reads the output so far with raw_output. When the command exits, the end of its output and its exit code reach the model, and an idle session starts a turn for it. task_wait and task_stop work on it as on background subagents. In larik -p, commands still running when the model finishes are stopped, so a server can't hang a CI run.
read returns images and PDFs whole. PNG, JPEG, GIF and WebP files (up to 5 MB) come back as images. PDFs (up to 32 MB) come back as documents on Anthropic, OpenAI and Gemini; on other providers read suggests extracting the text instead. run_code scripts now pass up to eight images or documents from their calls on to the model instead of dropping them.
--output-schema for a checked JSON answer.larik -p --output-schema schema.json tells the model the JSON Schema its final answer must match and checks the answer. On a mismatch the model sees the error and gets two more tries; after that Larik exits non-zero. Stdout carries only the value, ready for jq, and --output json ends with a structured_output event. It works with every provider.
Scheduled runs.larik schedule add "<cron>" <prompt> saves a prompt with its directory, model, permission mode and timeout. larik schedule run runs each one as larik -p when it falls due, with its output logged under ~/.local/share/larik/schedules/. list shows the next and last runs, and rm deletes one. Cron takes the usual five fields or @daily and the like.
Jupyter notebooks.read shows a .ipynb as its cells, with each cell's index, id, type, source and text outputs, instead of raw JSON. notebook_edit replaces, inserts or deletes one cell by index or id, keeps the rest of the file as it was, and clears a code cell's stale outputs. Permissions treat it as edit.
The new ask_user and notebook_edit tools and the longer bash and read definitions add about 1.2 KB to every request. Provider prompt caches warm again once after upgrading.
notebook_edit is an edit alias: existing edit allow and deny rules, accept-edits mode, and subagent definitions that list edit cover it.
The browser tools work with any Chromium-based browser. Larik now finds Microsoft Edge, Brave and Vivaldi as well as Chrome and Chromium, on macOS, Linux and Windows, so Google Chrome is no longer required. Chrome is still preferred when several are installed, and whichever browser runs uses Larik's own profile, never yours.
Code-mode scripts are told up front that they are plain JavaScript. The run_code description now says scripts are not Node.js (no require, import, process or fs) and have no browser APIs (TextEncoder, crypto, fetch, Blob, timers), and points to tools.bash for hashing, byte counts and downloads. Models used to find this out from a failed script.
A script that uses a missing browser API gets a hint, the way one using require already did, naming the tools.bash command to use instead, such as shasum -a 256 or wc -c.
Script hints no longer show await in their examples, matching the description's "Calls are synchronous".
Scripts cut off by a broken JSON string are no longer run. When a model leaves a double quote unescaped inside a run_code script, the script ends early and the rest lands in a stray argument. Larik used to run the fragment and report a syntax error on a line of its own wrapper, such as Line 2:1 Unexpected token }. It now refuses the call and asks for the script again with the quotes escaped.
Script syntax errors point at the script's own lines, and say when the script ends unfinished, such as an unclosed bracket or string.
Compare harness variants with larik bench --harness. Each variant is a directory laid out like ~/.config/larik (AGENTS.md, skills/), so a prompt or skill change can be measured before you adopt it. none is the empty default and personal your own instructions and skills.
Bench a model in the job it will have.--as worker runs each task the way that role's subagent runs it (its prompt, tools, turn cap and context setting), and --context full,minimal compares the two context settings. Rows a harness can't reach (minimal-context subagents) are marked unseen, with a warning.
Three harder bench tasks with a shortcut that hidden tests reject: fix-without-overfitting, fix-at-the-source and follow-conventions. Bench rows size to the longest label.
Code mode declares write and write_files directly, so whole files are written without escaping them inside a script.
Direct calls to script-only tools run. In code mode, a model that calls read, grep, edit or bash directly now gets the call run, with the same permission checks, instead of an "unknown tool" round trip. On the NVIDIA NIM Nemotron model this cut malformed calls from 29% to 5% and bench time by 40%.
The prompt asks the model to finish what instruction files ask. A line before AGENTS.md/CLAUDE.md asks it to go back over them before finishing, such as a changelog entry. The Nemotron model's follow-conventions pass rate went from 14/35 to 23/35.
Scripts explain their own mistakes.run_code resolves prefixed tool names (tools.read, functions.read), reports the real syntax error in scripts that use await, shows a script's last value after await, and adds notes for template literals broken by backticks, backslashes JavaScript drops, Node.js or Python habits (require, import, process) and .then on results.
Near-miss paths point at the real one. A result saying a path doesn't exist notes the correct path when the one called is the working directory with a character or two changed.
Runaway tool calls stop. A response whose tool-call arguments turn into thousands of whitespace characters is stopped and asked again once, instead of streaming until the output limit (one run streamed 33 MB over 13 minutes).
Code actions stay within the rule that allowed them. When only a scoped allow rule such as edit(src/**) approved apply_code_action, a file the language server adds outside that rule is refused instead of written without asking. Approving the prompt yourself still covers every file the action changes.
Worktree subagents work with spaced git config names. A repository config key whose subsection contains spaces (for example filter.a b c.clean) made every git command Larik ran for a worktree fail.
/trace opens in Larik's browser panel when browser tools are on and the window is wide enough, in a tab of its own that the agent's browser_* tools never touch. /trace external uses the system browser, /trace browser insists on the panel, and trace.open_in (also a /config row) sets the default in personal settings.
Approval waits are visible. A permission prompt and the live status show "Waiting for your approval" with the time since the request was made, including queued requests and ones from background subagents while the main agent is idle. Permission events carry a requested_at timestamp.
claude-code-cli stall watchdog. The runtime now uses stall_timeout (300 seconds by default). It warns after one minute of silence, pauses while a tool or permission request is outstanding, and stops a stalled CLI without replaying the turn.
Oversized conversations can still be compacted. When the transcript is too large for the summarizing model, Larik summarizes it in parts and says if anything was shortened.
Subagent undo. Edits by an in-place subagent are their own undo unit. /undo and /rewind refuse, with a reason, while a task is still writing or when restoring would discard another task's changes.
task_id on background events and HTTP 409 when resuming or closing a session that is still closing in larik serve.
MIT license and third-party notices. Every release archive includes LICENSE and THIRD_PARTY_NOTICES.txt.
Website redesign with a dark theme, a dot-field hero, and curl/binary install tabs.
User-scope memory changes ask for approval because they affect every project. Auto mode does not approve these on your behalf; explicit trusted allow rules and yolo remain intentional overrides. A tool delete without scope targets only project notes, and invalid scopes are rejected.
claude-code-cli subagents default to the tools execution, whatever the global default is. An explicit model_execution entry still wins; the main agent is unchanged.
Budgets also cover compaction, overflow retries and claude-code-cli turns, and that runtime's usage is saved with the session so a resume counts it.
Unsandboxed bash ("sandbox": false) always asks when a sandbox is available, and cat, head, tail, wc and du are no longer safe defaults without one.
edit(...) permission rules also cover multi_edit and apply_code_action, and a code action's other files are checked against deny rules before any is written. write(...) rules also cover browser_screenshot when it saves to a file.
Malformed Last-Event-ID or ?after= values return HTTP 400 instead of replaying everything.
Trace tabs keep their ownership through popup chains, regardless of Chrome's target ordering. /trace falls back to the system browser if panel setup or browser startup fails in automatic mode; forced browser mode reports the failure without opening an external window.
Server shutdown has one five-second budget covering sessions, HTTP and shared cleanup. A tool ignoring cancellation no longer makes the command wait indefinitely; SSE clients disconnect promptly while transcript locks remain held until actual writers finish.
Auto-mode checks no longer consume script execution time, including awaiting a prefetched verdict. The clock resumes before tool execution, and cancellation remains effective during approval waits.
Credentials.read, grep and glob no longer expose Larik's sign-in files, provider keys are removed from unsandboxed bash environments too unless explicitly included in personal sandbox.env_passthrough, and the Claude CLI bridge config no longer sits in a sandbox-writable temp directory.
Sandbox. Worktree subagents can no longer rewrite other worktrees' git metadata, git commands Larik runs itself ignore repository hooks and executable config, and a custom TMPDIR no longer makes its parent writable.
grep on a single file returned no matches to scripts.
larik serve: a wait: true prompt could return the previous run's answer, and a finished background task could deny another task's pending permission request.
Tool results with no matching call (left by a runtime that answered its own calls) made Anthropic and OpenAI reject every later request; they are now dropped from the request.
Cleaner release archives omit macOS AppleDouble metadata files, including when building Linux archives on a Mac.
Reproducible third-party notices use a fixed sort locale so packaging does not depend on the machine's locale.
Browser tests no longer open a real terminal pane (cmux, tmux, kitty, WezTerm), and the browser test suite probes Chrome once instead of per test.
A fresh look. Colors now come from CharmTone: violet fading to pink for Larik's own chrome, with the terminal's background showing through everywhere else.
Your prompts sit on a faint band with a violet bar beside them; replies start with a ●.
Tool cards show ✓ or ✗ with the tool's name in bold, and a running call's dot pulses.
The permission mode is a filled pill in the footer, and the composer's border takes its color.
The spinner is a row of blocks the gradient runs along, a highlight sweeps across the activity label, and the token count eases up instead of jumping.
The selected row of a picker sits on the same faint band, and panel borders carry the gradient.
animations setting:on (the default), reduced (the spinner turns, nothing else moves) or off. Nothing animates while Larik is idle. It's the "Animations" row of /config.
Copy confirmations as a toast. "copied …" shows in the top-right corner for two seconds instead of staying in the conversation.
Read-only runs as one card. In the default appearance, consecutive reads, searches and fetches collect into one card (Read 6 files · searched 3 patterns) with the calls listed beneath. A file read twice counts once.
Scripts as one card. A run_code script's calls show inside its card: a title from its opening comment, the call count and time, a few lines of code, the calls, then its output. What a script prints shows live while it runs, and a permission prompt for a script's call names the script.
log-summary bench task, a data-heavy case for comparing tool calls and code execution.
Code is the default execution. Code mode declares todo_write, skill, memory, the task tools and exit_plan_mode as direct tools; run_code describes the core tools in full; and in scripts read, grep and glob return objects. The prompt advises one bash command for bulk data, which took the log-summary task from 110 tool calls to 13.
The footer leaves the cost out until spending nears a session budget, then shows it in amber, and red at the cap. Context usage stays in /info.
Plan mode tells the model its web tools still work (each call asks first), and subagents get their own plan-mode note instead of being told to call exit_plan_mode, which they don't have.
A script's time limit pauses while a call waits on a permission prompt, so a slow answer no longer times the script out.
Slow tool calls through claude-code-cli. The CLI no longer gives up after 60 seconds on a plan approval or a long command; when it drops a call anyway, Larik ends the call and closes its prompt, and larik serve expires the pending request.
Zoom in the browser:ctrl+-, ctrl+= and ctrl+0. Zooming out gives a narrow panel a site's desktop layout; the level shows in the toolbar.
Drop-downs in the browser. Headless Chrome can't draw a <select>'s list, so clicking one showed nothing. Its options now appear on the panel's second row: arrows or typing to find one, enter to choose.
Link previews: resting the pointer on a link shows where it goes.
Tabs in the browser. With several open, the toolbar says which is shown and which agent it belongs to. ctrl+pgup/ctrl+pgdn step through them and keep the one you pick on screen; click the badge or press alt+p to follow the agents again.
/browser quit shuts Chrome down.
Resize the browser panel by dragging the line between it and the conversation.
Word editing in the address field:alt+backspace/ctrl+w, ctrl+u, ctrl+k, and alt+←/alt+→ to jump.
Copy from the browser:alt+c (or ctrl+shift+c where the terminal passes it on) copies the page's selection, or its address when nothing is selected.
Hiding the browser keeps Chrome running.ctrl+q, /browser hide and closing the pane leave the agent's pages and tabs as they were; /browser quit closes Chrome.
The address field searches what isn't an address (golang generics, kittens) on DuckDuckGo, and opens addresses on this machine and the local network (192.168.1.5:3000, [::1]:8080, app.localhost, shop.test) over http.
The browser panel shows where the keyboard is. Its title row is bright with the key back to the chat while the browser has the keyboard, and dim with the way in when it doesn't; the composer's border dims while you type in the page.
The browser stays on the tab you're using. While you click or type in a page, an agent working in another tab no longer switches the view until you've stopped for 10 seconds.
The panel no longer slows Larik down. Frames, hovering and page events redraw only the panel, not the whole conversation, and a panel squeezed out by a narrow window stops streaming the page. Frames reuse their memory instead of allocating 15 MB each on Retina screens.
The browser in your terminal./browser show, F3 or the model's browser_show opens the agent's browser tab beside the conversation, in Larik's own window. You can watch the agent work, and click, scroll and type in the page yourself, for example to sign in. It's drawn with the kitty graphics protocol, so it works in Ghostty, kitty, WezTerm, cmux and Konsole without a multiplexer. Only changed parts of the page are redrawn, and Retina screens get full-resolution frames. F3 moves the keyboard between the browser and the conversation; ctrl+q closes it.
A toolbar with back, forward, reload (stop while loading) and a clickable address field.
"show": "pane" puts it in a split of the terminal's own instead (tmux, cmux, kitty, WezTerm), as larik browser view.
Prompts only you can answer. While the browser is shown:
a site's username and password request (HTTP authentication) gets a sign-in form, whose password goes only to Chrome;
a page asking to show notifications or know your location gets Allow / Block.
Allowed notifications become desktop notifications. Without the panel or pane these requests are cancelled or denied, as before.
Browser settings:sound (pages may play audio; off by default), location (what Allow shares, since headless Chrome can't read yours), show (panel or pane) and pane_size.
Live command output. A running bash command shows its latest output under it.
Retry notices. When a provider is rate-limited, Larik says how long it is waiting instead of sitting silently.
Chrome always runs headless, as Larik's own child process. The macOS browser launcher (larik browser-broker install) is gone: Larik removes its LaunchAgent the next time launchd starts it, or run larik browser-broker once. The headless setting is ignored.
Closing the browser closes Chrome cleanly, so cookies and localStorage are kept. Before, they could be lost.
/config <area> replaces the /…-config commands, which still work for now: /config mcp, hooks, lsp, sandbox, models, web-search, stt, tts, sidebar, statusline. /sessions [id] replaces /resume.
Keys typed while Larik starts are kept in the prompt instead of being lost.
The deprecated verbose setting is now read as appearance.
A page that opened a new tab (a target=_blank link, window.open) made the agent's next browser action hang for 30 seconds, and the new tab never worked.
A rare crash when model metadata was updated while a subagent or the server read it.
An agent run could hang forever if its consumer stopped reading.
Prompt history could be cut short when two Larik windows saved it at the same time.
chromedp's log messages no longer print over the screen; they go to logs/browser.log.
Bash commands no longer re-read every already-changed file before each run when the files haven't changed.
/reload no longer freezes the screen, resizing re-wraps the conversation once you stop, and streamed text redraws once per batch rather than per token.
Long sessions no longer re-measure the whole transcript on every step to decide on compaction.
skills.hide setting. Hide matching skills from the model's index and skill tool to save prompt space; hidden skills remain available as slash commands. The setting can be configured in shared project settings or privately for one project through /config.
Offline-safe provider catalog. Larik uses its private cached provider and model metadata at startup when available, then refreshes it in the background for the next launch.
run_code state stays out of the transcript. Stored values now live in a bounded state file beside the session. /clear removes them, while resume and compaction preserve them; branches start with the session's current values.
A leaner and more measurable prompt. Tool descriptions and fixed prompt text were shortened, and larik bench now uses Larik's base system prompt and reports provider errors clearly.
More accurate tool timing. Overlapping tool calls count once toward a turn's tool time.
Bounded search, rendering, and fetch memory. Fallback search reuses buffers, live thinking renders only its visible tail, Markdown rendering uses a bounded cache, and the web fetch cache expires old entries and evicts least-recently-used results within memory limits.
Faster startup and ready screens. Setup work runs behind an early loading screen, the ready TUI receives the terminal's current size, and repeated Git root lookups were removed.
Server-free local speech commands. Speech-to-text and text-to-speech can run local commands instead of requiring an OpenAI-compatible server. This supports tools such as whisper-cli; macOS falls back to the built-in say voice when no TTS endpoint or command is configured. Existing HTTP endpoints remain supported, and audio commands stay restricted to personal settings.
More capable run_code scripts.tools.parallel batches calls while preserving permissions and ordering; script bash calls return structured output and exit codes; long script output is recoverable with raw_output; MCP names are valid JavaScript identifiers; and tools.search finds callable tools by keyword.
Persistent run_code state. Scripts can use store(key, value) and load(key) for small JSON values that survive later scripts, /clear, compaction, resume and branching. Changes are transactional—failed or interrupted scripts commit nothing—and append to the session transcript rather than rewriting it. Values are capped at 256 KB each and 1 MB together.
Persistent-state benchmark.larik bench includes persistent-script-state, which mechanically requires store and load in separate scripts under hybrid and code, while retaining a normal tool-chain fallback for tools.
/stt-language auto. Clears a saved speech-to-text language so it is detected per recording again; id and en work as before.
Persistent-state smoke test. After clarifying the benchmark's numeric output fields, persistent-script-state passed its first live run with codex/gpt-6-sol in both hybrid (89.2s, 15.4k input tokens, 7 requests) and code (33.1s, 12.3k input tokens, 8 requests). One run is a functional smoke test, not a performance conclusion.
run_code execution comparison. Against the pre-run_code enhancement build (dd05591), the current build passed all 24 benchmark runs using codex/gpt-6-sol across hybrid and code execution. The benchmark covered fix-off-by-one, implement-validation, rename-across-files, and find-undocumented, with three runs per task and mode. code mode reduced total input from 130.4k to 117.3k tokens (10.0%); hybrid increased from 166.0k to 172.8k. The strongest per-task result was code/find-undocumented, where median requests fell from 9 to 7 and input from 27.5k to 25.2k. Pass rate remained 12/12 in each build and mode. Results are model- and service-dependent; no promise-based async implementation is planned based on this run.
Prompt suggestions. When a turn ends normally, Larik suggests a likely next prompt as dim text in the empty input; tab puts it in the input to edit or send, and typing anything else ignores it. The request reuses the conversation's cached prompt, and its spend counts toward /cost and the session budget. It is skipped after an interrupted or failed turn, while prompts are queued, once a budget is spent, and on the Claude Code CLI runtime. Turn it off with the prompt_suggestions setting; a shared .larik/settings.json can turn it off but not on.
PDF @ mentions.@spec.pdf (up to 32 MB) attaches the whole document, so the model reads its layout, tables and figures rather than extracted text. Works on Anthropic, OpenAI and Gemini; any other provider tells you instead of sending a request it would reject. Switching to such a model mid-session keeps the conversation working: the PDF is dropped from later requests and the model keeps a note that it was there.
Per-model sampling./sampling shows the temperature, top_p and top_k in force for the current model and where they came from, and saves new values for that model (default removes them, none sends nothing). Personal config takes sampling and model_sampling. Larik ships no built-in values, so each server's defaults stand until you set something, and parameters a provider rejects are dropped rather than sent. A shared .larik/settings.json can't set it.
Keyless DuckDuckGo search, opt-in. Set the search provider to ddg (or pick DuckDuckGo in /web-search-config) for a web_search backend that needs no account. It is never selected automatically: its keyless API answers entity lookups but not specific questions, so an empty answer is reported as an error that names the indexed backends.
Sharper larik bench metrics. Each run now reports tool calls the model formed so badly they never reached a tool (unparseable or truncated arguments, schema rejections, unknown tools), broken down by kind and as a share of all calls, and separately counts runs the model ended by talking instead of acting ("stopped without finishing", or "answered without calling a tool").
Every tool's arguments are checked against its schema. Built-in tools are now held to the schema the model was shown, as MCP tools already were, so a missing or mistyped argument comes back to the model as a clear INVALID_ARGUMENTS error before the tool runs. A null for an unused argument is ignored, and a schema that can't be compiled isn't enforced.
Tool calls written as text are recovered. When an Ollama or OpenAI-compatible server returns a call as <tool_call>{…} text instead of a tool call (usually a server tool-template setting), Larik runs the call instead of ending the turn, never displays the markup, and names the server fix (llama.cpp's --jinja, vLLM's --enable-auto-tool-choice). Only an explicitly delimited call to a tool that was actually offered is recovered, and it goes through the usual permission checks.
iTerm2 color schemes as themes. Install a downloaded .itermcolors scheme into ~/.config/larik/themes/ and choose it as a theme in /config or /theme <name>. Its palette recolors the text, accents, syntax highlighting and Markdown, while the background stays transparent so your terminal's own background shows through.
A menu on every prompt. Click a prompt to open a menu: Copy puts it on the clipboard, Fork branches into a new session that keeps the turn and its reply, and Rewind branches off just before it. /prompt [n] opens the same menu from the keyboard.
OpenTelemetry export. Send each session's traces to an OTLP/HTTP collector (Grafana, Jaeger, Honeycomb, …) from personal settings (telemetry.otlp_endpoint) or the LARIK_OTLP_ENDPOINT environment variable. Metadata only — prompts, replies, tool input, file contents and paths are never exported. Off until an endpoint is given; Larik writes OTLP/JSON itself with no SDK in the binary, and exporting is best-effort so it never slows the agent.
/rewind can restore files. When files changed since the prompt you rewind to, it lists them and asks whether to put them back before branching; files restores without asking, keep leaves them untouched.
Prompts stand out more. Your own prompts now sit in a rounded frame, and system notes are hidden from the history view.
MCP tools validate their input. A tool call whose arguments don't match the server's schema is reported with a clear error instead of failing later.
More robust sessions and sandbox. A loop guard and decision log catch repeated actions, provider secrets stay protected in the sandbox, and a per-turn token budget bounds a single request, so a wayward turn degrades visibly rather than stalling.
Configure Larik without editing JSON./config now searches every setting and opens native editors for display commands, keybindings, permission rules, sandbox access, provider endpoints, model overrides, LSP servers, lifecycle hooks and MCP servers. Editors validate entries, distinguish personal from shared settings, preview or test integrations where appropriate, and apply the same safety rule as config loading: shared project files may tighten access but never widen it.
Compaction telemetry and a retention benchmark. Successful compactions report provider-grounded prompt size, estimated summary size and context saved in the TUI, headless output and server API. Session totals survive resume, and larik bench --tasks compaction-retention mechanically checks whether important facts remain usable after a forced compaction.
Conversation layout follows the space it actually has. Finished Markdown is re-rendered when the information sidebar changes the conversation width, prompts keep a consistent gutter and spacing, and Markdown tables now wrap inside a complete border instead of leaving open vertical rails.
Credential removal is deliberate. Leaving a masked credential field empty preserves the existing secret; choosing the explicit clear action removes it, so editing another endpoint or MCP field cannot erase credentials accidentally.
Compaction anticipates the next request. Larik estimates an upcoming prompt or tool result before sending it, caps summaries to the context they are meant to free, and keeps displayed token counts grounded in provider usage.
Malformed tool history no longer bricks a session. Before any provider serializes history, Larik repairs a missing tool_result with an ordered synthetic error result. A rejected or interrupted call can therefore degrade visibly instead of causing every later request to fail with a structural 400.
Compaction recovery remains armed after failure. Failed threshold compaction, tiny context windows, malformed summary tags and subagent attribution are handled without losing the turn or inflating the parent session's totals.
Configuration changes report and apply consistently. Native editors use the same save/reload feedback, narrow terminals expose editor-backed settings through the command palette, and credential changes take effect without an unrelated model switch.
Flexible model routing. Choose manual, balanced, or aggressive delegation; route routine subagent work to cheaper models, configure fallbacks and a session budget, and see delegated usage and estimated savings in /cost.
Discover more models. Catwalk catalog integration adds provider and model metadata to the connection flow; review an endpoint and supply credentials before connecting. Claude Code can list account-available models and supported effort levels when its CLI provides them.
Control browser tools in the TUI./browser on, /browser off, and /browser show or change browser-tool availability. /reload rebuilds app services without discarding the saved transcript; tool-list changes start in a fresh model context.
Compaction says what it saved. A compaction now reports its size, for example 26k prompt → ~10k summary · ~16k saved, in the TUI, in -p output and over the API. The information sidebar keeps a running count and total for the session and the current turn, and both survive resuming. The summary figure is an estimate — the exact size of the rebuilt context is known only once the next request is measured. The self-checking benchmark now includes compaction-retention, which measures whether ten important facts survive a forced compaction and remain usable.
The context is sized before the request, not only after it. Automatic compaction used to go by the provider's count for the previous request, so a very large pasted prompt, a long tool result or a freshly resumed session could overflow the window before anything noticed. Larik now also estimates what is about to be sent. Estimates decide only whether to compact; every token count shown still comes from the provider.
A summary can no longer outgrow the context it frees. Its length is capped by the writing model's own output limit and by a share of the window being freed, not just a fixed 32k.
More useful recording feedback. The composer gives way to an animated, decorative equalizer and stop-key hint while recording, then shows transcription progress before restoring the preserved draft. The bars are not a microphone-level meter.
Smoother TUI navigation. The conversation ignores horizontal wheel scrolling, the context-usage indicator stays within 100%, and configuration changes that rebuild the prompt or services ask before clearing the active model context.
Less lookup overhead. File search and session lookup avoid redundant work.
A failed compaction no longer costs you the turn. When summarizing failed partway through a long turn, the context-overflow recovery that should have caught the oversized request was skipped and the turn ended with a provider error. The two are now tracked apart: a failed threshold compaction is reported once and recovery stays armed.
Compaction totals stay attributable./cost now includes estimated context freed by compaction. A subagent's compaction and failure messages are labelled in the conversation but do not inflate the main context's totals.
Compaction on a tiny context window. When the system prompt and tool definitions fill the window on their own, Larik no longer summarizes repeatedly to no effect.
Malformed summaries. An unclosed or repeated <summary> tag in the model's reply is handled deliberately instead of carrying the model's framing into the next context.
Usable compaction benchmarks.larik bench accepts main for the configured primary model, and recovery grading accepts natural wording when all required facts and corrected numbers are retained.
Chrome stays open after its initial browser startup check rather than closing when the probe context ends.
The compact tool summary no longer prints each tool count twice.
Server operation lifecycle, session usage reconstruction, and OpenAI-compatible provider error handling are more reliable.
Local speech input and output. Configure any OpenAI-compatible STT/TTS server for microphone transcription and assistant speech, with Qwen3-ASR and Qwen3-TTS documented as local options.
Indonesian and English STT selection. Use /stt-language id or /stt-language en to choose the transcription language and save it as a personal default.
Interactive recording feedback.Ctrl+Space starts and stops recording with an animated microphone indicator, a visible transcription hint, and a dedicated transcription status.
STT responses are normalized. OpenAI-compatible servers that return a JSON transcription object now contribute only its text field to the composer, while plain-text responses remain supported.
Audio configuration is personal-only. Microphone recording, local playback, and audio endpoints are kept out of shared project configuration.
Customize the TUI footer and sidebar. Use personal status_line and sidebar commands to show project-specific information, Git state, or activity-aware text; the sidebar script receives session/activity data and refreshes while the panel is open. See Custom sidebar and Extensibility.
The startup banner checks for new releases. When a newer version is available, Larik shows a non-blocking update notice; offline or failed checks are ignored.
Long streaming responses render more efficiently. The TUI wraps only the visible tail of a large in-flight response instead of re-wrapping the full response on every frame.
Unavailable browser environments fail cleanly. Larik preflights Chrome or Chromium before registering browser tools, disables them with a warning when startup is unavailable, and browser integration tests skip unusable environments.
The /info sidebar now shows project and turn health. See the current Git branch and changed-file summary, session tokens/cost/context, and per-turn model time, tool time, average TTFT and request steps. Account-level provider quota/reset balances are not yet exposed by the provider adapters.
The footer says how big the context window is.ctx now reads ctx ▰▰▰▱▱▱▱▱▱▱ 31% · 62k/200k: the share of the model's context window in use, the tokens in it and the window's size. It shows from the start of a session instead of only after the first response, and the counts are the first thing dropped on a narrow terminal. See Footer colors.
Your messages stand out from the model's. A prompt of yours carries a teal bar down its left edge, on every line of a long one, so the conversation is easy to read back.
You can see which model each parallel agent runs on. A running subagent's live row names its model, and the /info sidebar has an Agents section listing the subagents at work with their models (amber while one waits for your answer), or, when none is running, the routing a delegated task would take. The finished task card names the model too.
Sidebar rows no longer wrap. A row whose label had to be shortened (a long MCP server name, a model spec in the new Agents section) was pushed onto a second line, which silently cost the sidebar one of its rows. Rows now always fit on one line, and a model spec too long for the column loses its provider prefix before its model name.
write_files. The model can create several independent files (2 to 16) in one call instead of one turn per file. Each file still goes through write's permission check, hooks, checkpoint and diagnostics; if one fails, the tool stops and reports which files were already written.
Faster tool calls under Claude Code. With claude-code-cli, tools that are safe to run together now run in parallel. A call that writes still runs alone, and permission prompts still come one at a time in order. See Providers.
Better prompt caching. Requests through a ChatGPT sign-in now send a per-session cache key, so later requests read most of the prompt from cache instead of none of it. Anthropic requests add a cache breakpoint where the previous request ended, so turns with many tool calls stay cached.
Leaner tools.grep and glob return paths relative to the working directory, stop at the result cap, and glob follows .gitignore. read returns a short reply when a file is read again unchanged. bash strips colour codes and progress redraws and turns pagers off. todo_write no longer echoes the list back. All of this means less context per turn.
Auto mode checks a batch of tool calls concurrently; prompts still appear in order. Retries honour Retry-After. A long turn can compact more than once.
The model keeps a task list only for work with distinct phases or several deliverables, not for a single fix.
Claude Code runtime had no tools on newer CLIs. Claude Code 2.1.274's --safe-mode turns off the MCP server that serves Larik's tools. Larik now uses --restricted and falls back to --safe-mode on older CLIs.
Scripts that call tools. A new execution setting decides how the model carries out its work. tools is one tool call per step, as before and still the default. hybrid adds run_code, and the model picks per step: a short JavaScript script for loops, chained lookups and filtering large output, a direct call otherwise. code gives the model run_code only. A script calls tools (tools.read({path}), tools.grep({...})) and only what it prints returns to the model, so reading forty files to count something costs the context one summary. Every call a script makes goes through the same permission rules, mode, hooks, auto mode and /undo checkpoints as a direct call; in plan mode a script can read but not write. See Execution.
Execution per model. A strong model writes reliable scripts and a small one may not, so "model_execution": {"codex/gpt-6-luna": "code"} sets it per model, with "execution" as the default for the rest. /execution opens a picker for the model you're using; /execution default removes its setting. Switching models switches the setting, and subagents use their own model's.
Benchmarking execution settings.larik bench --execution tools,hybrid,code runs each setting side by side, --runs 3 repeats each task and reports medians and ranges, and --keep-failed keeps a failed run's directory with its transcript and every tool call, scripts' included. A new task (finding undocumented functions across packages) is the kind of work where scripts should help.
Larik checks that the sandbox can start. At startup Larik runs a command in the sandbox. If that fails (most often bubblewrap inside a Docker container), Larik runs without the sandbox, so commands ask for approval, and says why and how to fix it at startup and in /sandbox. Before, every sandboxed command failed. See Sandbox and Running Larik in a container.
Scripts run in a separate process started from the Larik binary, with no file, network or process access of their own. With the sandbox on, that process is confined more strictly than bash commands: no writes, no network (not even localhost), no API keys in its environment, and no reading home or temp directories.
Each script is limited to 200 tool calls, 256 MB of memory, a call depth of 10,000 and a timeout (120 seconds by default, up to 600). A script that runs out of memory is stopped and the model is told why; Larik keeps running.
Claude Code CLI provider. Use a Claude subscription through the official claude CLI with /connect claude-code-cli or claude-code-cli/<model>. Claude Code runs the whole agent turn while Larik keeps tool permissions, hooks and execution in its own pipeline. Rolling model aliases and effort levels are offered in the picker; full model IDs are accepted too. See Providers.
Browser: frames, long pages and the network. Snapshots now include what is inside same-site iframes, and you can click and type there. A long page is read in parts, or one form, table or frame at a time. browser_network lists the requests a page made, with status and failures, and returns a response's body.
A GitHub Action for reviews.uses: vwibowo/larik@v0.4.0 runs /review or /security-review on each pull request in plan mode and posts the findings as one comment, updated on every push. See Reviewing changes.
Tools on demand. With many MCP tools connected (over 30, or about 6,000 tokens of definitions), Larik no longer sends every definition with every request. The model finds a tool with tool_search and runs it with call_tool; permission rules, prompts and hooks apply to the real tool. The request's tool list stays fixed, so prompt caching is unaffected. "tool_search": "on" or "off" overrides the automatic choice. See MCP.
Memory. Larik now remembers things between sessions as short notes: your preferences, corrections you've given, project decisions, and where things live. It saves one when it learns something a later session needs, or when you say "remember…". Notes are Markdown files outside your repository, per project or for every project; /memory lists, shows, adds and deletes them. Switch it off with "memory": {"enabled": false}. See Memory.
/review and /security-review. Built-in commands that review your uncommitted changes, the current branch, a pull request (/review 123) or a range, and report findings with file, line, failure scenario and fix, without editing anything. Larik gathers the diff itself, so they work in every mode, including plan, and with larik -p. Your own review.md replaces the built-in. See Reviewing changes.
Auto mode. A new permission mode between accept-edits and yolo: project edits run freely, and every other call that would ask is first checked by a model against your recent prompts. Routine work (builds, tests, package installs, local git) runs; destructive or outward-facing actions (git push, deleting data, publishing, sudo, handling secrets) still ask, with the reason shown, unless your prompt explicitly asked for them. Pick it with /mode, shift+tab or --mode auto. See Permissions.
A model server that never answers no longer hangs the session. If a provider sends nothing for 5 minutes (15 for local servers), Larik stops the request, says so, and switches to the fallback model when one is configured. Before, larik -p could wait forever, which would hang a CI job. Change the time with stall_timeout, globally or per provider.
/undo covers shell commands. In a git repository, files a bash command modified, deleted or created are restored by /undo, along with the file tools' edits. A file you had already changed goes back to how you had it. Files git ignores aren't covered. See Undo.
Subagents browse in their own tabs. Each agent has its own browser tabs in the one window, so subagents can use the browser at the same time without navigating each other's pages; their tabs close when they finish. Subagents get the browser tools by default again.
Sandbox network allowlist."sandbox": {"allowed_domains": ["golang.org", "npmjs.org"]} in your personal config lets sandboxed commands reach just those domains (and their subdomains) through a local proxy, so go get, npm install or pip install can run in the sandbox without opening the whole network. Refused hosts are named in the command's result. See Sandbox.
Browser uploads, downloads and waiting.browser_upload chooses files for a file input or the chooser a button opens (file dialogs never open on screen); downloads are saved to ~/.local/share/larik/browser-downloads and the model is told where; browser_wait_for waits for text to appear or disappear. See Browser.
The browser checks every request a page makes, not just the URL it opens, so a redirect, an image or a clicked link can't reach a cloud metadata address.
After a click or keypress the browser waits for the page to stop changing before reading it, so results from single-page apps and slow scripts show up.
Subagents get the browser only when their definition lists browser, since all agents share one window.
Linux sandbox: a sandboxed command could create protected project files that didn't exist yet (.mcp.json, .claude/, .larik/, .git/commondir, .git/config.worktree, .git/modules), which on macOS was already blocked. A planted .git/commondir could point git at another directory's hooks. These paths are now read-only in the sandbox whether or not they exist.
A click on an element covered by a cookie banner or dialog now fails and names what's in the way, instead of clicking the banner.
Clicks on pages with smooth scrolling landed in the wrong place.
Leaving a page that asks "leave this page?" hung until the timeout.
Pages that never finish loading (a hanging request) no longer make browser_navigate fail; it returns what has loaded.
A second larik session couldn't start the browser while the first had it open; it now uses a temporary profile and says so.
Console messages showed JSON escapes (\n, \") instead of the text.
Browser control. With "browser": {"enabled": true} in your personal config, the model can drive a real Chrome window: open pages, read a snapshot of their text, links and fields, click, type, pick options, press keys, switch tabs, run JavaScript and read the console. Opening a page asks per domain, like web_fetch. Chrome keeps its own profile, so sign-ins last between sessions. browser_screenshot lets the model see the page (the viewport, the full page or one element), optionally with each element's ref drawn on it. See Browser.
Images from tools. Tool results can now carry images to the model, on every provider: browser screenshots, and images returned by MCP tools (such as Playwright MCP's screenshots), which used to be replaced by a note.
Footer colors. The permission modes each have their own color (plan blue, accept edits violet, yolo red), effort is a magenta ramp with a bar that grows from low to max, and the footer now always shows whether the sandbox is on. Cost shows the session budget ($0.68/$2.00) and turns amber, then red, as it nears the cap; the context percentage matches its bar; subagents waiting for permission turn amber. See Footer colors.
A teal theme with a transparent background. The terminal UI now uses the site's teal accent in both dark and light, and no longer paints backgrounds of its own (footer chips, the task card, the composer's cursor line, Markdown headings and code): your terminal's background shows through. Diff lines keep their faint green and red tint.
@ mentions. Typing @ opens a file picker; each @path in a prompt attaches the file (with line numbers, so the model can edit it straight away), @path#L10-40 a range, @folder/ a listing, and @image.png an image for vision models. Pasted or dropped file paths become mentions, and mentions work in larik -p and larik serve too. See Composer.
! shell commands run straight from the prompt, in the sandbox, with their output sent along with your next prompt.
Prompt history per project: ↑/↓ to recall, ctrl+r to search. ctrl+g edits the prompt in $EDITOR.
A session picker:/sessions and /resume without an ID open a searchable list.
NVIDIA NIM as a provider preset: /connect nvidia-nim, or set NVIDIA_API_KEY. See Getting started.
An install script,scripts/install.sh, that builds and installs larik.
Task list. The model keeps a checklist with todo_write for work with several steps. The open items are pinned under the conversation during a turn, and /todos shows the list. See Commands and keys.
Leaving plan mode. In plan mode the model presents its plan with exit_plan_mode; approving it switches to the mode you pick and continues. See Permissions.
Custom commands from .claude/commands/*.md and ~/.claude/commands/, with $ARGUMENTS, $1… and !`cmd`. See Skills.
multi_edit makes several replacements in one file in a single call, all or none.
Image paste.ctrl+v attaches an image from the system clipboard, such as a screenshot.
/init writes an AGENTS.md for the project; /export saves the session as Markdown; /copy copies the last reply.
MCP resources, prompts and sign-in. Servers' resources can be attached with @server:uri and read by the model, prompts run as /mcp__server__prompt commands, and http and sse servers that need OAuth sign in with /mcp login. See MCP.
Prompt hooks ("type": "prompt") ask a model to decide instead of running a command. See Hooks.
LSP pull diagnostics and code actions. Servers that offer textDocument/diagnostic are asked for diagnostics after an edit, and the model can list and apply code actions, such as adding a missing import. See LSP.
A custom status line from a command of your own, compatible with Claude Code's statusLine scripts. See Status line.
Rebindable keys with the keybindings setting. See Rebinding keys.
Vim mode for the prompt: /vim, or Editor mode in /config. See Vim mode.
Mouse scrolling can be switched off in /config, so text can be selected without a modifier.
Debug mode and trace viewer.--debug, LARIK_DEBUG=1 or /debug on records every request as sent, each response with its timing, tokens and cost, the raw HTTP exchange, tool calls, permission answers and hooks. larik trace or /trace opens it in the browser: a timeline of each agent's requests and tools, a filterable list, and an inspector that diffs each prompt against the one before. --html exports one page. See Debug mode and traces.
The conversation scrolls above a fixed input row (Page Up/Down or the mouse wheel), and pickers and settings open just above the input with recent messages still visible.
Edit and file-write previews use syntax highlighting, and diffs show their changed lines as one highlighted block.
F2 and /info toggle a session sidebar that stays open while you type and while a turn runs. It is split into sections and shows only what is active: the task list, connected or failing MCP servers, running language servers and the skills used this session. See Keys and commands.
/model, /effort, /mode and shift+tab save your choice as the default for future launches. --model, --effort and --mode still override it for one launch.
Changing a provider's credentials takes effect straight away, without switching models.
Interrupting a turn at the wrong moment could leave a tool call without a result, which made every later request fail. Sessions already left that way are repaired on the next prompt.
An "always allow" rule for a command no longer matches the same command chained with others (git status; curl … | sh).
Sandboxed commands can no longer redirect the project's git metadata to run code the next time git runs outside the sandbox.
MCP servers using sse no longer disconnect right after connecting.
/compact can be canceled with esc, and prompts typed while it runs are queued instead of racing it. ctrl+c stops a running ! command.
Pasting into a picker filter or a /config text field no longer lands in the hidden prompt.
Changing routing mid-session no longer changes the tool definitions and invalidates the prompt cache.
Tool-call IDs from OpenAI-compatible, Ollama and Gemini models no longer repeat between turns.
ChatGPT plan sign-ins refresh reliably when several sessions share them.
Custom providers with type: "openai" or "anthropic" keep their own names for fallbacks and reasoning replay.
A shell command that leaves a background process running no longer hangs the turn.
Shared project settings can no longer re-enable a language server you disabled.
Notifications fire on terminals that don't report focus, and several smaller issues in the TUI, sessions and server were fixed.
Cheap and strong model routing. The main agent plans and reviews on a strong model while worker and explore subagents run on cheaper or local ones, across providers. /routing offers Balanced, Cheapest and Local-first presets, per-task tiers, fallbacks on rate limits and outages, and a session budget. See Model routing.
larik bench runs small self-checking coding tasks against several models and reports pass/fail, cost and time, so you can check a cheap model before trusting it with a role.
Routing shows what it saved, and cheap subagents can use a minimal prompt (role_options.<role>.context: "minimal").
Token saver filters recognized successful shell output before it enters model context. /config token_saver=true enables it; raw_output retrieves the exact private session copy without rerunning a command. See Tools and permissions.
Sandboxed bash can no longer write to the machine-wide /tmp. Each sandbox gets its own private scratch directory, exposed as $TMPDIR, so mktemp and build tools still work. See Sandbox.
Cross-platform process and file locking now allow the Windows binary to build. Windows shell commands require Bash and approval because Larik has no Windows sandbox.
The core harness: a Go + Bubble Tea terminal agent with Anthropic, OpenAI, Gemini and any OpenAI-compatible endpoint. See Getting started.
ChatGPT plan sign-in for Codex models, and native Ollama support that loads models with a usable context window and downloads models from the setup wizard.
Extensibility: an MCP client, Claude Code–compatible hooks, Agent Skills, and subagents through the task tool, including background subagents and git worktree isolation.
Language servers: diagnostics after every edit, plus an lsp navigation tool. See LSP.
OS sandbox for bash: Seatbelt on macOS, bubblewrap on Linux. See Sandbox.
A redesigned banner, footer and permission prompt; thinking collapses to a one-line summary.
Tool results show short paths.
Thinking time is saved with the session, so resumed history shows it.
/clear reloads the system prompt, undo history survives --resume, and compaction summaries point at the transcript file so the model can look up details.