<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Llamatik Coding Agent on Llamatik Documentation</title><link>http://docs.llamatik.com/llamatik-coding-agent/</link><description>Recent content in Llamatik Coding Agent on Llamatik Documentation</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2026 Llamatik. All rights reserved.</copyright><atom:link href="http://docs.llamatik.com/llamatik-coding-agent/index.xml" rel="self" type="application/rss+xml"/><item><title>Getting Started</title><link>http://docs.llamatik.com/llamatik-coding-agent/getting-started/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://docs.llamatik.com/llamatik-coding-agent/getting-started/</guid><description>&lt;h1 id="getting-started"&gt;Getting Started&lt;a class="anchor" href="#getting-started" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;h2 id="requirements"&gt;Requirements&lt;a class="anchor" href="#requirements" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Java 21&lt;/li&gt;
&lt;li&gt;Either a GGUF model on disk (a coding-capable model of roughly 7B parameters or more; ~1B models usually cannot follow the tool protocol) or a reachable &lt;a href="http://docs.llamatik.com/llamatik-server/"&gt;Llamatik Server&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="build"&gt;Build&lt;a class="anchor" href="#build" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;./gradlew build &lt;span style="color:#75715e"&gt;# compile and test everything&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;./gradlew :cli:installDist &lt;span style="color:#75715e"&gt;# cli/build/install/llamatik/bin/llamatik&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;./gradlew :acp:installDist &lt;span style="color:#75715e"&gt;# acp/build/install/llamatik-acp/bin/llamatik-acp&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="choose-the-model"&gt;Choose the model&lt;a class="anchor" href="#choose-the-model" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Pass exactly one of these (&lt;code&gt;--discover&lt;/code&gt; replaces &lt;code&gt;--server&lt;/code&gt;):&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Option&lt;/th&gt;
 &lt;th&gt;What it does&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;-m, --model &amp;lt;file.gguf&amp;gt;&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Runs the model in-process through the Llamatik native library (Metal, CUDA or CPU).&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;-s, --server &amp;lt;host[:port]&amp;gt;&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Uses a Llamatik server. Accepts &lt;code&gt;host&lt;/code&gt;, &lt;code&gt;host:port&lt;/code&gt; or &lt;code&gt;http://host:port&lt;/code&gt;. If the server asks for per-device approval, accept the request on the server&amp;rsquo;s device; the access token is then kept in &lt;code&gt;~/.llamatik/cli.properties&lt;/code&gt; (readable only by you). Dropped connections are resumed without losing or repeating text.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;--discover&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Scans the local network for Llamatik servers (devices with &lt;em&gt;Share this device&lt;/em&gt; on) and lets you pick one. Uses mDNS, so both devices must be on the same network with multicast not blocked.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Inference options (both commands): &lt;code&gt;--temperature&lt;/code&gt;, &lt;code&gt;--max-tokens&lt;/code&gt;, &lt;code&gt;--context&lt;/code&gt;, &lt;code&gt;--threads&lt;/code&gt;, &lt;code&gt;--gpu-layers&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Terminal Agent</title><link>http://docs.llamatik.com/llamatik-coding-agent/terminal-agent/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://docs.llamatik.com/llamatik-coding-agent/terminal-agent/</guid><description>&lt;h1 id="terminal-agent-llamatik"&gt;Terminal Agent (&lt;code&gt;llamatik&lt;/code&gt;)&lt;a class="anchor" href="#terminal-agent-llamatik" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;h2 id="approvals"&gt;Approvals&lt;a class="anchor" href="#approvals" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Nothing changes without your approval.&lt;/strong&gt; Each edit is shown as a diff and you answer &lt;code&gt;y&lt;/code&gt; (once), &lt;code&gt;a&lt;/code&gt; (always, for edits) or &lt;code&gt;N&lt;/code&gt;. Commands (&lt;code&gt;terminal_run&lt;/code&gt;) are asked about too, and only an allow-list of build and test commands can run at all.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;--yes&lt;/code&gt; approves everything, for unattended use.&lt;/li&gt;
&lt;li&gt;When there is no terminal to ask (output piped, no &lt;code&gt;--yes&lt;/code&gt;), edits are skipped rather than applied.&lt;/li&gt;
&lt;li&gt;When asked to approve a command, answer &lt;code&gt;p&lt;/code&gt; to always allow it in this project (saved in &lt;code&gt;.llamatik/permissions.txt&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="commands-in-a-session"&gt;Commands in a session&lt;a class="anchor" href="#commands-in-a-session" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Command&lt;/th&gt;
 &lt;th&gt;What it does&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/help&lt;/code&gt;, &lt;code&gt;/exit&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Help; leave the session&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/clear&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Forget the conversation&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/yes&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Toggle auto-approve&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/context&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;How full the context window is, by category&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/compact [what to keep]&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Summarize the conversation to free context&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/resume [n]&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;List earlier conversations of this project, or continue number &lt;em&gt;n&lt;/em&gt; (&lt;code&gt;llamatik --continue&lt;/code&gt; picks up the latest)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/undo&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Take back the edits of the last task (edits made by commands are not undone)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/redo&lt;/code&gt;, &lt;code&gt;/rewind [chat|code]&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Put undone edits back; forget the last task (its messages, its edits, or both)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/plan&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Plan mode: the agent can read and search but not edit or run anything&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/mode [ask|edits|plan|auto]&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;How much the agent may do without asking; no name cycles. &lt;code&gt;edits&lt;/code&gt; applies edits (you still see the diff) but asks about commands&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/init&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Have the agent write &lt;code&gt;LLAMATIK.md&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/diff&lt;/code&gt;, &lt;code&gt;/status&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Uncommitted changes and git status&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/commit&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;The model writes a commit message; you approve it and it commits&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/permissions&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Commands always allowed in this project (&lt;code&gt;add&lt;/code&gt;, &lt;code&gt;remove &amp;lt;n&amp;gt;&lt;/code&gt;)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/agent [name|off]&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Work in a role defined in &lt;code&gt;.llamatik/agents/&amp;lt;name&amp;gt;.md&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/stats&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Tokens per second, prompt tokens and time spent this session&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/memory&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Notes saved with &lt;code&gt;#&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/config&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Settings in effect, and what was auto-tuned&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="input-shortcuts"&gt;Input shortcuts&lt;a class="anchor" href="#input-shortcuts" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;@path&lt;/code&gt; attaches a file. Tab completes paths and commands.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;!cmd&lt;/code&gt; runs a command and tells the agent about it. It is not sandboxed.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;#note&lt;/code&gt; saves a note to &lt;code&gt;.llamatik/memory.md&lt;/code&gt; for this project.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="while-it-works"&gt;While it works&lt;a class="anchor" href="#while-it-works" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Esc&lt;/strong&gt; (or &lt;strong&gt;Ctrl-C&lt;/strong&gt;) stops the task. Esc first clears a half-typed message. Ctrl-C with nothing running exits.&lt;/li&gt;
&lt;li&gt;What you type and send with Enter is passed to the agent before its next step.&lt;/li&gt;
&lt;li&gt;The agent keeps a checklist for multi-step tasks and shows it as it works. The spinner shows how full the context window is.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="your-own-commands"&gt;Your own commands&lt;a class="anchor" href="#your-own-commands" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Put a prompt in &lt;code&gt;.llamatik/commands/&amp;lt;name&amp;gt;.md&lt;/code&gt; (in the project) or &lt;code&gt;~/.llamatik/commands/&lt;/code&gt; and run it as &lt;code&gt;/&amp;lt;name&amp;gt; arguments&lt;/code&gt;. &lt;code&gt;$ARGUMENTS&lt;/code&gt; in the file is replaced by what you type after the name. Conversations are saved in &lt;code&gt;~/.llamatik/sessions/&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Configuration</title><link>http://docs.llamatik.com/llamatik-coding-agent/configuration/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://docs.llamatik.com/llamatik-coding-agent/configuration/</guid><description>&lt;h1 id="configuration"&gt;Configuration&lt;a class="anchor" href="#configuration" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Like Claude Code, the CLI reads JSON settings files. Later files win, and command-line flags win over all of them.&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;File&lt;/th&gt;
 &lt;th&gt;Purpose&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;~/.llamatik/settings.json&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;your defaults for every project&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;&amp;lt;project&amp;gt;/.llamatik/settings.json&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;shared with the project (commit it)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;&amp;lt;project&amp;gt;/.llamatik/settings.local.json&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;yours, for this project only (keep it out of git)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;--config &amp;lt;file&amp;gt;&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;one more file, read last&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;code&gt;//&lt;/code&gt; and &lt;code&gt;#&lt;/code&gt; comments are allowed. Type &lt;code&gt;/config&lt;/code&gt; in a session to see what is in effect.&lt;/p&gt;</description></item><item><title>ACP Editors</title><link>http://docs.llamatik.com/llamatik-coding-agent/acp-editors/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://docs.llamatik.com/llamatik-coding-agent/acp-editors/</guid><description>&lt;h1 id="acp-editors-llamatik-acp"&gt;ACP Editors (&lt;code&gt;llamatik-acp&lt;/code&gt;)&lt;a class="anchor" href="#acp-editors-llamatik-acp" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;&lt;code&gt;llamatik-acp&lt;/code&gt; is an &lt;a href="https://agentclientprotocol.com"&gt;Agent Client Protocol&lt;/a&gt; agent over stdio, so it works in Zed, JetBrains AI Assistant, Neovim and any other ACP client. It takes the same &lt;code&gt;--model&lt;/code&gt; / &lt;code&gt;--server&lt;/code&gt; / inference options as the terminal agent, and offers the same modes, slash commands, checklist, checks and saved conversations.&lt;/p&gt;
&lt;h2 id="setup"&gt;Setup&lt;a class="anchor" href="#setup" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Build it with &lt;code&gt;./gradlew :acp:installDist&lt;/code&gt;; the launcher is &lt;code&gt;acp/build/install/llamatik-acp/bin/llamatik-acp&lt;/code&gt;. The editor starts the command and talks to it over stdin/stdout; it chooses the project folder for every session.&lt;/p&gt;</description></item><item><title>Libraries</title><link>http://docs.llamatik.com/llamatik-coding-agent/libraries/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://docs.llamatik.com/llamatik-coding-agent/libraries/</guid><description>&lt;h1 id="libraries"&gt;Libraries&lt;a class="anchor" href="#libraries" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;The agent is published to Maven Central under the same &lt;code&gt;com.llamatik&lt;/code&gt; namespace as the Llamatik library:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-kotlin" data-lang="kotlin"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;dependencies {
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; implementation(&lt;span style="color:#e6db74"&gt;&amp;#34;com.llamatik:agent-core:&amp;lt;version&amp;gt;&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; implementation(&lt;span style="color:#e6db74"&gt;&amp;#34;com.llamatik:agent-backends:&amp;lt;version&amp;gt;&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="design-rules"&gt;Design rules&lt;a class="anchor" href="#design-rules" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;agent-core&lt;/code&gt;&lt;/strong&gt; holds the agent loop, prompts, tools and the host abstractions (files, shell, git, permissions). It knows nothing about any IDE, so each host (terminal, ACP, IntelliJ plugin) supplies its own implementation of those abstractions.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;agent-backends&lt;/code&gt;&lt;/strong&gt; holds the single local llama.cpp engine, the Llamatik server client with resumable streaming (stream id + &lt;code&gt;Last-Event-ID&lt;/code&gt;), pairing and mDNS network discovery.&lt;/li&gt;
&lt;li&gt;Both must stay free of &lt;code&gt;com.intellij&lt;/code&gt; and of coroutines/ktor/serialization. They run inside IDE plugins whose classloaders ship older copies of those libraries, which otherwise causes &lt;code&gt;NoSuchMethodError&lt;/code&gt; at runtime. For the same reason the server client uses the JDK &lt;code&gt;HttpClient&lt;/code&gt; rather than &lt;code&gt;com.llamatik:network&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Only the &lt;code&gt;acp&lt;/code&gt; module depends on the ACP SDK.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Gson&lt;/strong&gt; is a runtime dependency of &lt;code&gt;agent-backends&lt;/code&gt;. An IDE plugin that already ships Gson should exclude it: &lt;code&gt;implementation(&amp;quot;com.llamatik:agent-backends:&amp;lt;version&amp;gt;&amp;quot;) { exclude(group = &amp;quot;com.google.code.gson&amp;quot;, module = &amp;quot;gson&amp;quot;) }&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="try-an-unreleased-build"&gt;Try an unreleased build&lt;a class="anchor" href="#try-an-unreleased-build" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;./gradlew publishToMavenLocal -PreleaseVersion&lt;span style="color:#f92672"&gt;=&lt;/span&gt;0.1.0-local&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then add &lt;code&gt;mavenLocal()&lt;/code&gt; to the consuming project.&lt;/p&gt;</description></item></channel></rss>