Introduction
A terminal coding agent written in Go with a Bubble Tea UI. It works with Anthropic, OpenAI, Google Gemini, and OpenAI-compatible endpoints including NVIDIA NIM, OpenRouter, Ollama, Groq, DeepSeek, xAI, Mistral, Together, and LM Studio. Models can call tools one step at a time or write short scripts that call them (see Execution).
Getting startedNew to Larik? Your first ten minutes is the short tour; the rest of this file is the reference.Model routingAn agent spends most of its tokens reading: searching files, re-reading context, running routine edits. Those don't need your best model. Larik lets the main agent plan and…Commands and keysThe input row fills the terminal width, stays at the bottom, and grows up to ten lines as you type. The conversation scrolls above it with Page Up/Down, the mouse wheel, or…PermissionsAn edit's approval prompt and its card in the conversation show a line diff: unchanged lines near the change stay dimmed, and within a changed line the words that differ are…ExecutionThe permission mode decides what Larik may do without asking. The execution setting decides how the model does it, and the two combine freely (plan mode with scripts is a good…SamplingHow a model decodes — its temperature, top_p and top_k — can change whether it emits usable tool calls at all. Larik sends nothing of its own, so each server's defaults…Webweb_fetch downloads a page and returns its main content as Markdown:Sandboxbash commands run in the operating system's sandbox: Seatbelt (sandbox-exec) on macOS, and bubblewrap (bwrap) on Linux when installed.Scheduled runslarik schedule runs a prompt on a cron schedule, headlessly, in the directory you add it from:Server modelarik serve exposes the current directory's agent over a local HTTP API. Each session streams its events over Server-Sent Events (SSE), so editors, web UIs and scripts can…Debug mode and tracesDebug mode records what the harness does in a session, so you can review it afterwards or watch it live: each prompt, every model request as it was sent (system prompt, tools,…OpenTelemetry exportLarik can send each session's model requests, tool calls and subagents to an OpenTelemetry collector, so they show up beside the rest of your services in Grafana, Honeycomb,…ConfigurationSettings are read in this order. Later personal files override model, provider, permission mode, and allow-rule settings; shared project files can only tighten security:MCP serversLarik connects to Model Context Protocol servers over stdio, streamable HTTP, or SSE. It reads servers from mcp_servers in any Larik settings file, and from a project .mcp.json…SkillsLarik supports Agent Skills: folders containing a SKILL.md with YAML frontmatter, plus optional scripts and resources.MemoryLarik remembers things between sessions as short notes: who you are and how you like to work, corrections you've given it, decisions and constraints of the project, and where…SubagentsThe model can delegate work to subagents with the task tool. Each subagent gets a fresh context window, its own system prompt and a restricted tool set. Only its final message…Language servers (LSP)Larik runs language servers so the model gets compiler feedback on its own edits and can navigate code semantically.HooksHooks run at points in the agent lifecycle: shell commands, or prompts a model answers. The format matches Claude Code's, so existing hooks work. Matchers are case-insensitive,…LicenseLarik is released under the MIT License. It is built on open-source Go modules under MIT, BSD, ISC and Apache 2.0 licenses; THIRD_PARTY_NOTICES.txt reproduces their license and…How Larik worksLarik helps you work in a project from your terminal. You describe a task, and Larik asks your chosen model what to do next. The model can read files, suggest edits, run…