cd /news/ai-tools/kilo-builder-cli-first-embedded-re-t… · home › topics › ai-tools › article
[ARTICLE · art-182229] src=github.com ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Kilo-builder – CLI-first embedded/RE toolkit for Kilo Code and OpenCode

The kilo-builder project released kilo-kit, an offline-first embedded AI development kit for Windows, Linux, and macOS that bundles toolchains, MCP servers, agent rules, and Ghidra-based reverse-engineering tools so firmware, C/C++ and RE work needs no host dependencies or network access. The kit keeps all state in a read-only tool base under _internal/ and a single mutable personal space at kilo-kit/user/ (or KILO_USER_DIR), with per-project output confined to .kilo/ and .kilo-cache/, which symlinks to /tmp/$USER/kilo-cache-<hash> on NFS, 9p, or SMB. The Windows release exceeds 2 GiB, so GitHub Releases ships it as two byte-for-byte parts that must be reassembled and verified against the attached SHA256SUMS.txt.

key takeaway

kilo-kit ships its toolchains, MCP servers and Ghidra/REA trees read-only under _internal/, confines all personal keys and config to kilo-kit/user/, and keeps project indexes in .kilo-cache/ (symlinked to /tmp/$USER on NFS/9p/SMB), so deleting the kit folder leaves no host trace.

read24 min views1 publishedDec 5, 2026
Kilo-builder – CLI-first embedded/RE toolkit for Kilo Code and OpenCode
Image: Michielbdejong (auto-discovered)

kilo-builder builds and ships kilo-kit, an offline-first embedded AI development kit for Windows, Linux, and macOS. The kit contains the toolchains, rules, MCP servers, and launchers needed to work on firmware, C/C++ code, and reverse-engineering tasks without installing host dependencies.

  • 100% offline-first : all runtimes, compilers, document tools, and MCP servers required by the default workflows ship inside the kit. No network access is required for toolchain use; optional host tools such asadb are called out separately.
  • Zero host pollution : project caches, indexes, daemon locks, and temporary state stay under the project.kilo-cache/ directory (on NFS/9p/SMB it is linked to/tmp/$USER ); personal data stays inside the kit'suser/ folder.
  • Single personal space : API keys, custom providers, private MCP servers, and native login caches all live inkilo-kit/user/ and survive kit upgrades.
  • Integrated code graph and reverse engineering :cbm (codebase-memory-mcp ) indexes the project, whilerea adds Ghidra decompilation, cross-references, and binary analysis through MCP.
  • Native Windows, Linux, and macOS support : one build pipeline produces nativewin-64 ,linux-64 , andosx-arm64 release archives with POSIX-safe permissions.

Every release is three minimal blocks:

  • Read-only tool base (bin/ ,opt/ ,env/ ,rules/ , packaged under_internal/ ): the isolated toolchain, MCP binaries, agent rules, and Ghidra/REA trees. Nothing is installed into the host system.
  • Single mutable personal space (kilo-kit/user/ , or the directory named byKILO_USER_DIR ): holds.env (anyKEY=VALUE API keys),config.json (custom providers, models, MCP servers), anddata/ (native Kilo/OpenCode login and state caches). Everything personal is confined here.
  • Optional per-project collaboration (.kilo-hybrid.md in a project root): plain Markdown notes about remote build hosts and development boards. No JSON schema, safe to commit.

Project output stays in the project: .kilo/ (agent config and rules) and .kilo-cache/ (indexes, runtime locks, remote artifacts). When the project lives on NFS, 9p, or SMB, .kilo-cache is a symlink to /tmp/$USER/kilo-cache-<hash>. Delete the kit folder and no host trace remains.

The whole template logic is one standard-library Python 3 script, _internal/scripts/tpl_core.py. _internal/kilo-tpl and _internal/kilo-tpl.ps1 are thin forwarders to it, so Windows and Linux/macOS can never drift apart.

kilo-kit/
|-- kilo.cmd / kilo / Start-Kilo.command / Start-Kilo.vbs / README.txt
|-- templates/                  Example user.env.example and user-config.example.json
|-- _internal/
|   |-- bin/<platform>/          opencode and codebase-memory-mcp
|   |-- env/                     Extracted offline environment after first launch
|   |-- opt/                     Ghidra, jadx, and REA Node trees
|   |-- packs/                   Six self-extracting offline packs
|   |-- rules/                   embedded-core.md and re-tools.md
|   |-- scripts/                 tpl_core.py and launch environment helpers
|   |-- licenses/                License texts, pixi.lock, and PyPI manifest
|   |-- THIRD_PARTY_NOTICES.md
|   `-- SOURCE_OFFER.md
`-- user/                        Personal space (created on first use; never packaged)

See CONTRIBUTING.md for the complete repository layout and build pipeline.

The Windows release is larger than 2 GiB, so GitHub Releases publishes it as two byte-for-byte parts. Reassemble the archive before extracting it, then verify the result against the SHA256SUMS.txt file attached to the GitHub Release (or dist/SHA256SUMS.txt after a local build).

PowerShell:

$out = [IO.File]::Create("$PWD\kilo-kit-win-64.zip")
foreach ($part in ".001", ".002") {
    $in = [IO.File]::OpenRead("$PWD\kilo-kit-win-64.zip$part")
    $in.CopyTo($out)
    $in.Dispose()
}
$out.Dispose()
Get-FileHash .\kilo-kit-win-64.zip -Algorithm SHA256

Command Prompt:

copy /b kilo-kit-win-64.zip.001 + kilo-kit-win-64.zip.002 kilo-kit-win-64.zip
certutil -hashfile kilo-kit-win-64.zip SHA256

macOS or Linux:

cat kilo-kit-win-64.zip.001 kilo-kit-win-64.zip.002 > kilo-kit-win-64.zip
shasum -a 256 kilo-kit-win-64.zip

With 7-Zip, open kilo-kit-win-64.zip.001 and choose Extract; 7-Zip automatically appends the .002 part. Do not rename the parts.

The joined file should be approximately 2.7 GiB (about 2.9 GB). Verify the download against the SHA256SUMS.txt file attached to the GitHub Release instead of relying on a checksum copied into this document. The original .001 and .002 files remain available for GitHub Releases uploads; do not delete them after joining.

New-Item -ItemType Directory -Force C:\kilo-kit | Out-Null
tar.exe -xf .\kilo-kit-win-64.zip -C C:\kilo-kit
$Kit = "C:\kilo-kit\kilo-kit"

Set-Location C:\path\to\project
& "$Kit\kilo.cmd" run
& "$Kit\kilo.cmd" vscode
unzip -q kilo-kit-linux-64.zip -d "$HOME/kilo-kit"
KIT="$HOME/kilo-kit/kilo-kit"

cd /path/to/project
"$KIT/kilo" run
"$KIT/kilo" vscode
unzip -q kilo-kit-osx-arm64.zip -d "$HOME/kilo-kit"
KIT="$HOME/kilo-kit/kilo-kit"
xattr -dr com.apple.quarantine "$KIT"

cd /path/to/project
"$KIT/kilo" run
"$KIT/kilo" vscode

On Windows, kilo.cmd vscode opens kilo.code-workspace automatically. On Linux and macOS, the vscode command prepares and syncs the workspace files; open kilo.code-workspace in VS Code afterward.

Running the launcher with no arguments opens an interactive entry point, so you do not need to remember every subcommand.

  • Linux and macOS: runkilo with no arguments. The terminal UI opens. Double-clickingStart-Kilo.command asks for a project folder and then opens the same terminal UI in that folder.
  • Windows: double-clickStart-Kilo.vbs , or runkilo.cmd with no arguments. Both open the GUI launcher.kilo.cmd also accepts the subcommands below for scripted use.

The Linux/macOS terminal menu provides these numbered choices:

Choice Action Equivalent command
1 Launch the interactive OpenCode CLI; initialize the environment and sync the project first kilo run
2 Prepare the VS Code workspace and configuration kilo vscode
3 Create or refresh .kilo-hybrid.md for a remote build host or board kilo hybrid
4 Switch the active toolset between core andfull kilo core /kilo full
5 Run environment and dependency checks kilo doctor
6 Remove generated templates and caches from the current project; personal data is preserved kilo clean
0 Exit the menu -

The Windows GUI launcher provides:

  • A project-folder selector with recent-folder history and a Browse button.
  • An Enable FULL Profile checkbox for LLVM/LLDB, Ghidra, jadx, and REA.
  • A Hybrid Mode checkbox with SSH host and remote-path fields for.kilo-hybrid.md .
  • Start VS Code (Kilo Code) , which applies the template and openskilo.code-workspace .
  • Launch OpenCode (CLI) , which applies the template and opens a terminal running the CLI.
  • Doctor , which reports the active profile, user space, environment state, VS Code extension, and optional SSH reachability.
  • Clean , which removes generated project files while preservinguser/ and.kilo-hybrid.md .

All of these actions are also available as subcommands: run, vscode, hybrid [host] [path], core, full, doctor, and clean. apply-hybrid is an alias for hybrid.

The launcher supports two working-directory contexts. Choose the one that matches the task.

Run these from the kit root directory (kilo-kit/) when you are setting up the kit, switching profiles, or checking the toolchain. These operations affect the shared environment and personal space, not a single project.

Linux / macOS:

cd "$HOME/kilo-kit/kilo-kit"
./kilo full                 # extract the full toolchain
./kilo core                 # switch back to the core toolchain
./kilo doctor               # verify the active profile and toolchain
./kilo                      # open the interactive terminal menu

Windows:

Set-Location C:\kilo-kit\kilo-kit
.\kilo.cmd full             # extract the full toolchain
.\kilo.cmd core             # switch back to the core toolchain
.\kilo.cmd doctor           # verify the active profile and toolchain
.\kilo.cmd                  # open the GUI launcher

Start-Kilo.command (macOS) and Start-Kilo.vbs (Windows) are double-clickable kit-level launchers. They prompt you to select a project folder and then hand off to the interactive menu.

All project commands must be run from the project folder. That is how the launcher knows where to create .kilo/, .kilo-cache/, and kilo.code-workspace. Set the kit location once, then choose one primary workflow.

Use one of these two options for normal work. They both refresh the project configuration automatically, so you do not need to run sync first.

Option A: Terminal CLI (run)

Starts the interactive OpenCode terminal CLI in the current project. It initializes the environment if needed, runs sync, and then opens the CLI.

Linux / macOS:

KIT="$HOME/kilo-kit/kilo-kit"
cd /path/to/project
"$KIT/kilo" run

Windows:

$Kit = "C:\kilo-kit\kilo-kit"
Set-Location C:\path\to\project
& "$Kit\kilo.cmd" run

Option B: VS Code (vscode)

Prepares the VS Code workspace and configuration for the current project, then runs sync. On Windows it also opens kilo.code-workspace automatically. On Linux and macOS, open kilo.code-workspace in VS Code after the command finishes.

Linux / macOS:

KIT="$HOME/kilo-kit/kilo-kit"
cd /path/to/project
"$KIT/kilo" vscode

Windows:

$Kit = "C:\kilo-kit\kilo-kit"
Set-Location C:\path\to\project
& "$Kit\kilo.cmd" vscode

These commands are independent tools, not steps in a sequence.

sync - refresh project configuration without launching anything

sync wires the current project folder to your kilo-kit installation. It generates or updates:

  • .kilo/kilo.jsonc for VS Code and Kilo Code.
  • .kilo-cache/opencode.json for the OpenCode CLI.
  • kilo.code-workspace for VS Code.
  • .kilo/rules/embedded-core.md ,.kilo/rules/re-tools.md (in thefull profile), and.kilo/rules/isolated-env.md .

It also merges user/config.json and .kilo-hybrid.md into the generated configuration. If the project is on WSL2 /mnt/c, NFS, 9p, or SMB, sync links .kilo-cache to /tmp/$USER/kilo-cache-<hash> so the environment stays on a native filesystem.

run and vscode already run sync automatically. Run sync by itself only when you want to refresh the project configuration without starting the CLI or VS Code, such as after editing user/config.json or switching between core and full.

Linux / macOS:

KIT="$HOME/kilo-kit/kilo-kit"
cd /path/to/project
"$KIT/_internal/kilo-tpl" sync

Windows:

$Kit = "C:\kilo-kit\kilo-kit"
Set-Location C:\path\to\project
& "$Kit\_internal\kilo-tpl.ps1" sync

hybrid - create remote build notes for this project

Creates a starter .kilo-hybrid.md in the project root. Use this file to describe remote SSH build servers, Linux boards, or Android devices. It is safe to commit, and the command never overwrites an existing file. After creating the file, hybrid also refreshes the project configuration with sync.

Linux / macOS:

KIT="$HOME/kilo-kit/kilo-kit"
cd /path/to/project
"$KIT/kilo" hybrid

Windows:

$Kit = "C:\kilo-kit\kilo-kit"
Set-Location C:\path\to\project
& "$Kit\kilo.cmd" hybrid

clean - reset kit-generated files in this project

Deletes the files and caches generated by kilo-kit in the current project: .kilo/, .kilo-cache/, kilo.code-workspace, and any legacy .kilocode/, .kilocodeignore, root opencode.json, or .kilo-hybrid.env. Your source code, .kilo-hybrid.md, and the shared personal space in kilo-kit/user/ are left untouched.

Linux / macOS:

KIT="$HOME/kilo-kit/kilo-kit"
cd /path/to/project
"$KIT/kilo" clean

Windows:

$Kit = "C:\kilo-kit\kilo-kit"
Set-Location C:\path\to\project
& "$Kit\kilo.cmd" clean

Do not run run, vscode, hybrid, sync, and clean one after another. Choose run or vscode for daily work, and run sync, hybrid, or clean only when you specifically need that maintenance action.

Extract kilo-kit into the WSL2/Linux native filesystem (for example ~/dev), not under /mnt/c (9p), and use native unzip. The entry-point precheck detects the actual filesystem type and blocks only 9p/NFS/SMB paths with a clear error, so native ext4/xfs mounts such as /mnt/data are allowed. Projects may live on /mnt/c, NFS, 9p, or SMB: kilo-tpl sync detects nfs/ nfs4/ 9p/ v9fs/ smbfs/ cifs/ smb3 and links .kilo-cache to /tmp/$USER/kilo-cache-<hash> automatically (recreated on every sync), while native ext4/APFS projects keep .kilo-cache in place.

No configuration is required to start. Every launch of kilo, kilo.cmd, or the raw CLI (_internal/oc on Linux/macOS, _internal\oc.ps1 on Windows) first resolves the personal space, isolates native login/state under user/data/, imports user/.env when it exists, and runs an idempotent template sync before the main program starts. Interactive login is stored once and reused in every project.

doctor reports the active profile, user dir, environment readiness, bundled clang, and MCP paths. full extracts the full profile. run and vscode sync automatically; _internal/kilo-tpl sync (Windows: _internal\kilo-tpl.ps1 sync) runs a sync without launching anything, and apply remains an alias.

Copy the shipped templates into the personal space:

cd "$KIT"
mkdir -p user
cp templates/user.env.example user/.env
cp templates/user-config.example.json user/config.json

Windows:

Set-Location "C:\kilo-kit\kilo-kit"
New-Item -ItemType Directory -Force user | Out-Null
Copy-Item templates\user.env.example user\.env
Copy-Item templates\user-config.example.json user\config.json
  • Any API key works.user/.env is imported verbatim: every validKEY=VALUE line is exported, with no vendor allow-list and nokilo_* naming convention. Blank lines and# comments are ignored, and quoted values are unquoted. Host terminal variables always win; the file never overwrites an inherited variable.
  • Any OpenAI/Anthropic-compatible endpoint works. Declare it underprovider inuser/config.json with abaseURL , and reference the secret with{env:VARIABLE} so the key stays in.env :
{
  "provider": {
    "my-gateway": {
      "npm": "@ai-sdk/openai-compatible",
      "options": { "baseURL": "https://llm.example.com/v1", "apiKey": "{env:CUSTOM_LLM_KEY}" },
      "models": { "my-model": { "name": "My Model" } }
    }
  },
  "model": "my-gateway/my-model"
}
  • Private MCP servers work too.mcp objects use Deep Merge: declare only the fields you change, and arrays such ascommand are replaced rather than concatenated. For example{"mcp": {"rea": {"enabled": true}}} enablesrea while keeping the builtintype ,command ,timeout , and environment.
  • Toggle builtin MCP servers in one line. Set a name to booleanfalse to remove it, ortrue to keep the builtin definition. Use{"enabled": false} to keep the entry present but disabled, for example"mcp": { "rea": false } on a light machine. Delete the line to restore the default.
  • Incomplete MCP entries are skipped. A block withouttype , alocal block withoutcommand , or aremote block withouturl prints a warning and is not written, so a typo such asmcp.reaa cannot crash OpenCode.
  • Keys starting with _ (such as_comment ) are ignored. Top-level fields likemodel andpermission override the builtin defaults. Custominstructions are preserved: OpenCode appends them after the builtin rules, while.kilo/kilo.jsonc relies on Kilo Code's automatic.kilo/rules .

Changes take effect the next time you run kilo/ oc; there is no manual apply step. KILO_USER_DIR can point the whole personal space at an external folder, for example a synced drive shared by several machines.

kilo-tpl hybrid creates .kilo-hybrid.md in the project root when it is missing, then syncs the project. It never overwrites an existing file, so the notes stay under your control.

"$KIT/_internal/kilo-tpl" hybrid            # create the template in the current project
"$KIT/_internal/kilo-tpl" hybrid buildbox /home/me/bsp   # seed host/path values

- Remote build host (SSH): `ssh buildbox "cd ~/bsp && make -j8"` - run heavy builds where the toolchain lives.
- Linux board (SSH): `ssh root@board.local` - deploy modules and read `dmesg` on the target.
- Android board (ADB, host-provided `adb`): `adb -s SERIAL push out/app /data/local/tmp/ && adb shell /data/local/tmp/app`.
- Copy remote artifacts into `.kilo-cache/remote/` before local `rea`/` llvm-*` analysis (`scp` or `adb pull`).

The file is listed in instructions for both configs: OpenCode puts it after the builtin rules and any custom rules from user/config.json, while .kilo/kilo.jsonc lists only user/hybrid entries because Kilo Code loads .kilo/rules automatically. Edit it in plain Markdown: describe each host, how to reach it, and which commands run where. Agents then split work naturally: local clang/ cppcheck/ rea on pulled artifacts, remote SSH/ADB for builds, flashing, and logs. The shipped re-tools.md rule enforces pulling remote .ko/.so/firmware into .kilo-cache/remote/ before local analysis.

The kit is read-only and the personal space is separate, so upgrades are a copy operation:

  1. Extract the new release next to the old kit.
  2. Copy the old user/ folder into the new kit root (or keep usingKILO_USER_DIR pointed at an external fixed directory).
  3. Delete the old kit.

API keys, custom config.json, private MCP servers, and native login state in user/data/ carry over unchanged. Release archives exclude user/ entirely, so extracting a new version over an existing folder never deletes your personal space.

kilo-kit supports two independent interfaces. They share the same project configuration and toolchain, but you do not need to run both.

The bundled OpenCode CLI is _internal/bin/<platform>/opencode (v2.4.3). It is the terminal AI coding agent and reads .kilo-cache/opencode.json.

  • Standard command:kilo run (Linux/macOS) orkilo.cmd run (Windows). This initializes the environment if needed, runssync , and then starts an interactive OpenCode session in the current project.
  • Direct wrapper:_internal/oc (Linux/macOS) or_internal\oc.ps1 (Windows) passes arguments straight through to the upstreamopencode binary. Use it for upstream subcommands such asoc mcp list . The wrapper still importsuser/.env , isolates XDG state, and runssync before calling OpenCode.

The Kilo Code extension is installed separately in VS Code, or on the Remote-SSH host when you work remotely. It is not bundled in kilo-kit. The kit supplies the project configuration (.kilo/kilo.jsonc), the automatically loaded rules (.kilo/rules/), and the isolated environment and toolchain paths through kilo.code-workspace.

  1. Confirm the kit environment and active profile with kilo doctor (Linux/macOS) orkilo.cmd doctor (Windows). Then confirm thatKilo Code is installed in VS Code's Extensions view. The Windows GUI launcher'sDoctor button also reports whether the Kilo Code extension is present.
  2. Run kilo.cmd vscode in the target project on Windows; it syncs the project and opens VS Code automatically. On Linux/macOS, runkilo vscode inside the project, then open the workspace in the next step. On Windows, you can also useStart-Kilo.vbs , select the project, and clickStart VS Code (Kilo Code) .
  3. Open kilo.code-workspace , not the bare project folder. Use code kilo.code-workspace orFile -> Open Workspace from File... . The workspace file gives the integrated terminal and Kilo Code the isolatedPATH ,JAVA_HOME ,GHIDRA_INSTALL_DIR (full profile), andJADX_OPTS values.
  4. Open the Kilo Code sidebar and start working. No terminal CLI is required.

Environment variables are handled differently in the two interfaces. user/.env is imported automatically when you launch through kilo run or oc. VS Code inherits environment variables from the shell or desktop session that launched it; for provider keys, either start VS Code from a shell with those variables set, or configure providers in user/config.json or the Kilo Code UI.

The remaining details in this section apply to both interfaces. Open Agent Behaviour -> MCP Servers in VS Code, or use oc /mcp in the CLI.

  • cbm is enabled by default. It stores its index under.kilo-cache/cbm . On POSIX the daemon socket directory is kept outside the project to stay under the 103-byteAF_UNIX limit: Linux uses$XDG_RUNTIME_DIR/kc/<hash8> when available, otherwise/tmp/kc-<uid>/<hash8> ; macOS always uses/tmp/kc-<uid>/<hash8> . Windows keeps.kilo-cache/cbm-rt .
  • rea is disabled by default ("enabled": false ) to preserve the model context window. Enable it only for deep Ghidra/JDK 25 work fromoc``/mcp or with{"mcp": {"rea": {"enabled": true}}} inuser/config.json , then disable it again.
  • Start ELF triage in the full profile withllvm-readelf ,llvm-nm , andllvm-objdump ; escalate torea only for C pseudocode, structure offsets,vtable resolution, or stripped-function recovery, and only on Linux/WSL2/macOS.
  • Fatal rea errors ("retryable": false ,target_format_unsupported ,capability_unavailable ,provider_unavailable , timeout) are never retried; fall back tollvm-tools or report the environment limit. Only parameter/state mistakes may be fixed and retried once.
  • On Windows, local rea Ghidra supports native PE and DOS MZ binaries. To decompile Linux/Android ELF (.so /.o ) binaries, runrea on Linux or describe the remote host in.kilo-hybrid.md ; on native Windows usellvm-tools instead.
  • Cold-start note: the first rea_binary_session call can reportruntime_unavailable while the 5 s Java probe warms up. The template setsREA_GHIDRA_STARTUP_TIMEOUT_MS=120000 and a 300000 ms MCP timeout; warm runs finish in under a second.
  • The upstream OpenCode CLI v2.4.3 reads .kilo-cache/opencode.json ; do not create a project-rootopencode.json .
Profile Use case Included
core Embedded C/C++, code review, document conversion ripgrep ,fd-find ,jq (Windows:gojq ),ast-grep ,cppcheck ,poppler ,pandoc ,tmux /ccache (Linux), Python 3.11,pandas ,openpyxl ,python-docx ,python-pptx ,pyserial ,OpenBLAS (Windows BLAS/LAPACK),markitdown withdocx/pdf/pptx/xlsx extras
full Reverse engineering, decompilation, debugging, cross-compilation, REA MCP Everything in core plus Node.js 22, OpenJDK 25,llvm-tools , bundledclang ,clang-tools (clang-tidy /clang-format ),lldb ,zig ,cmake ,ninja ,zstd ,lz4 ,yara-python ,construct ,pyelftools ,capstone ,LIEF ,binwalk anddtc (Linux/macOS), Ghidra,jadx 1.5.7, andrea-agents

Switch profiles with a single command:

kilo.cmd full
kilo.cmd core
kilo full
kilo core

You can also switch from the launcher menu: choose option 4 in the Linux/macOS terminal menu, or enable the Enable FULL Profile checkbox in the Windows GUI launcher and start a project. The active profile is recorded in _internal/.active-profile.

Profile switching is idempotent. If the requested environment is already extracted, the launcher reuses it; otherwise it replaces only _internal/env and preserves user/ (API keys, config.json, and login state). Switching to full extracts the reverse-engineering and compilation toolchain, including Ghidra, jadx, clang, llvm-tools, lldb, zig, cmake, ninja, zstd, lz4, Node.js, OpenJDK, and REA, so the first switch can take noticeably longer and use more disk space. Switching back to core extracts the smaller environment.

Confirm the active profile at any time:

kilo.cmd doctor
kilo doctor

The tool reports the active profile, user directory, environment readiness, bundled clang, and MCP paths.

The bundled clang supports -fsyntax-only, -E, and native or cross-target -c/-S output. The resulting .o/.s files can be inspected with llvm-objdump and Ghidra. On Windows, linking a full .exe is optional; -c is sufficient for isolated ABI and structure-offset checks.

The full profile also bundles lldb 22.1.8 (Apache-2.0 WITH LLVM-exception) for batch-mode debugging and core-dump analysis. Always use batch mode (lldb -b -o "..."); the kit does not support interactive debugger sessions. See .kilo/rules/re-tools.md for the NT_FILE and missing-.so recovery workflow.

The full profile also bundles zig (MIT), cmake (BSD-3-Clause), and ninja (Apache-2.0) for cross-compilation and reproducible builds, plus zstd (BSD-3-Clause), lz4 (CLI package BSD-3-Clause; lz4-c library BSD-2-Clause), and yara-python (Apache-2.0 bindings; YARA engine BSD-3-Clause) for compression and binary pattern scanning. Use zig cc -target <triple> for standalone ARM32/ARM64 Linux test binaries or LD_PRELOAD hooks when no host sysroot is available.

clang-tools adds clang-tidy and clang-format (both Apache-2.0 WITH LLVM-exception). Use clang-tidy -p <build-dir> <file> for deeper memory, lifetime, and undefined-behavior checks alongside cppcheck, and clang-format for consistent C/C++ formatting. construct (MIT) provides declarative binary header and protocol parsing instead of manual struct.unpack offsets; pyserial is already included in the core profile for non-interactive UART log capture.

The full profile also bundles jadx 1.5.7 (Apache-2.0) without a JRE at _internal/opt/jadx; jadx/ jadx.bat are on PATH and JADX_OPTS defaults to -Xmx4g. adb is not bundled: conda-forge does not publish an Apache-2.0 android-tools package for all three platforms. If you need ADB workflows, install platform-tools from your system Android SDK and keep adb on PATH; the kit does not ship a proprietary Google platform-tools binary.

The osx-arm64 release ships a native macOS arm64 Ghidra decompiler, so Apple Silicon users get decompilation without Rosetta.

Command Purpose Platforms
opencode /opencode.exe OpenCode CLI v2.4.3; interactive session (launch via kilo run oroc to sync first) All
rg (ripgrep ) Fast literal and regular-expression text search All
fd (fd-find ) Fast file discovery by name or pattern All
ast-grep (sg ) Syntax-aware structural search and rewrites All
jq JSON query and transformation Linux, macOS
gojq jq-compatible JSON query and transformation Windows
jadx /jadx.bat APK, DEX, and JAR decompilation; JADX_OPTS=-Xmx4g by default Full profile
pyelftools Python ELF parsing library for sections, symbols, and relocations Full profile
capstone Python disassembly library for lightweight instruction-level triage Full profile
lief Python binary parsing library for ELF, PE, and Mach-O formats Full profile
llvm-readelf ,llvm-nm ,llvm-objdump Native ELF inspection, symbol listing, and disassembly Full profile
clang Syntax checks, macro expansion, and native or cross-target object/assembly output Full profile
clang-tidy /clang-format Deep C/C++ memory, lifetime, and UB analysis with compile_commands.json ; source formatting Full profile
lldb Batch-mode native debugging and core-dump analysis ( lldb -b -o ... ) Full profile
zig Self-contained C/C++ cross-compiler ( zig cc -target <triple> ) Full profile
cmake /ninja Build-system generation and fast parallel build execution Full profile
zstd /lz4 Zstandard and LZ4 compression/decompression Full profile
yara-python YARA binary pattern and crypto-constant scanning from Python Full profile
construct Declarative binary header and protocol parsing from Python Full profile
binwalk Firmware image inspection and extraction Linux, macOS (full profile)
dtc Device-tree source and blob inspection Linux, macOS (full profile)
cbm Project code graph and symbol/call-path queries through MCP All
rea Ghidra-backed decompilation and cross-reference analysis through MCP Full profile
adb Android device access; not bundled , use a system Android SDK/platform-tools installation Host-provided

jq is not published for Windows on conda-forge, so the Windows environment exposes the compatible gojq command instead. adb is intentionally not bundled because conda-forge does not provide an Apache-2.0 android-tools package for all three platforms; install platform-tools from your system Android SDK and keep it on PATH if you need ADB workflows.

  • Windows archive will not extract. Join.001 and.002 first, then verify the result against theSHA256SUMS.txt file attached to the GitHub Release (ordist/SHA256SUMS.txt after a local build). Extract withtar.exe -xf , PowerShellExpand-Archive , or 7-Zip.

  • The kit refuses to start on WSL2, NFS, or SMB. Extract the kit into a native Linux filesystem such as~/dev ; do not run it from/mnt/c or a network share. Projects themselves may remain on those filesystems because sync relocates.kilo-cache automatically.

  • macOS reports an unidentified developer or quarantine warning. Runxattr -dr com.apple.quarantine "$KIT" once after extraction.

  • jq is missing on Windows. Usegojq instead; both accept the same query syntax for the JSON workflows covered by the kit.

  • adb is missing. It is not shipped in the kit. Install Android platform-tools from your system SDK and ensureadb is onPATH ; Xilinx/SoC vendor tools that bundle their own ADB also work.

  • jadx fails with a memory error. SetJADX_OPTS explicitly, for exampleJADX_OPTS="-Xmx8g" on a large APK. The default is-Xmx4g .

  • A license, lockfile-sync, third-party-notice, or MKL check fails during a build. Inspect the reported archive and runpython scripts/verify_licenses.py directly; release builds intentionally refuse to continue until the license record, lockfile, notice text, or forbidden archive is fixed.

  • The checksum does not match. Re-download the artifact and compare it with theSHA256SUMS.txt file attached to the GitHub Release; for Windows, confirm that both split parts came from the same release.

  • Managed files :.kilo/kilo.jsonc ,.kilo-cache/opencode.json ,kilo.code-workspace , and the managed rule files (embedded-core.md ,re-tools.md in the full profile,isolated-env.md ) are overwritten by every sync. Keep personal changes inuser/ and project-specific notes in.kilo-hybrid.md .

  • Custom rules : add.kilo/rules/<name>.md ; sync does not delete unknown rule files. To have them listed explicitly ininstructions , put them inuser/config.json asinstructions entries (relative paths resolve against the kit root).

  • IDA backend : setREA_IDA_MCP_CONFIG to an absolute IDA MCP registration JSON in therea.environment block ofuser/config.json , enablerea for the session, then disable it again.

  • Cleanup : run_internal/kilo-tpl clean (Unix) or_internal\kilo-tpl.ps1 clean (Windows), or usekilo clean . This removes generated project files and caches without touchinguser/ or.kilo-hybrid.md .

Install the build tools on the packaging host:

  • pixi andpixi-pack 0.7.x.
  • Python 3 on Windows for build.ps1 (it writes POSIX modes into all release zips).
  • zip on Linux/macOS forbuild.sh .
  • Node.js 22 only when building opt/<pkg>-<platform> Node trees.

On Ubuntu/WSL2, sudo may be unavailable. Install a user-local zip instead:

mkdir -p "$HOME/.local/zip-local" && cd "$HOME/.local/zip-local"
apt-get download zip && dpkg-deb -x zip_*.deb root
export PATH="$HOME/.local/zip-local/root/usr/bin:$PATH"

Before building, download kilo-kit-vendor-assets.zip from the GitHub Releases page and extract it to the repository root. This restores kilo-kit/bin/, kilo-kit/opt/, kilo-kit/licenses/, kilo-kit/THIRD_PARTY_NOTICES.md, and kilo-kit/SOURCE_OFFER.md, which are intentionally excluded from Git. kilo-kit/packs/ ships inside the platform bundles. Verify the archive against the SHA256SUMS.txt file attached to the GitHub Release.

The build scripts stop with a clear error if either directory is missing.

Build the six offline packs:

pixi lock

pixi-pack . -e core -p win-64    -o kilo-kit/packs/kilo-core-win-64.ps1    --create-executable
pixi-pack . -e core -p linux-64  -o kilo-kit/packs/kilo-core-linux-64.sh   --create-executable
pixi-pack . -e core -p osx-arm64 -o kilo-kit/packs/kilo-core-osx-arm64.sh  --create-executable
pixi-pack . -e full -p win-64    -o kilo-kit/packs/kilo-full-win-64.ps1    --create-executable
pixi-pack . -e full -p linux-64  -o kilo-kit/packs/kilo-full-linux-64.sh   --create-executable
pixi-pack . -e full -p osx-arm64 -o kilo-kit/packs/kilo-full-osx-arm64.sh  --create-executable

Sync the shipped lockfile and package the release zips:

Copy-Item -Force .\pixi.lock .\kilo-kit\licenses\pixi.lock
.\build.ps1
cp -f pixi.lock kilo-kit/licenses/pixi.lock
./build.sh

See CONTRIBUTING.md for the repository layout, upgrade checkpoints, adding new tools or MCP servers, and the full pre-release verification checklist.

The build scripts, launchers, and configuration templates in kilo-builder are licensed under the MIT License - see the LICENSE file for details. Third-party binaries and packages bundled in kilo-kit remain governed by their respective upstream licenses. The Windows UCRT and Visual C++ runtime are Microsoft system runtime components covered by their own Microsoft license terms. See kilo-kit/THIRD_PARTY_NOTICES.md, kilo-kit/SOURCE_OFFER.md, kilo-kit/licenses/pixi.lock, and kilo-kit/licenses/pypi-packages-manifest.txt for complete attribution and source-offer records. Intel MKL is not bundled; Windows BLAS/LAPACK use OpenBLAS. The kit also ships .cbmignore at its root and excludes opt/ from codebase-memory-mcp indexing.

── more in #ai-tools 4 stories · sorted by recency
── more on @kilo-builder 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/kilo-builder-cli-fir…] indexed:0 read:24min 2026-12-05 · —