Native Shell
Native Shell:AI 生成的 UI,在你的應用中原生呈現,涵蓋每個平台。iOS、Android、macOS、Windows 與 Linux 上的應用、GPUI 應用與網頁在執行時載入已簽名、沙箱隔離的 TSX 模組並繪製 th
AI 翻譯
Koala releases, Homebrew formula and user guide
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗⠀⢀⣤⠶⠞⠲⢦⣄⠀⠀⠀⠀⠀⠀⠀⠀⣠⡴⠖⠳⠶⣤⡀
⢀⡞⠁⠀⠀⠀⠀⠙⣧⣠⡤⠴⠦⢤⣄⣼⠋⠀⠀⠀⠀⠈⢳⡀
⢸⠁⠀⠠⠡⠡⢠⡾⠋⠀⠀⠀⠀⠀⠀⠙⢷⡤⠡⠡⠡⠀⠈⡇
⢸⡄⠀⠡⠡⢱⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⡧⠡⠡⠁⢠⡇
⠀⢳⣄⠀⠁⣿⠀⠀⠀⠿⢀⣴⣦⡀⠿⠀⠀⠀⣷⠁⠁⣠⡞
⠀⠀⠉⠛⠶⢿⡀⠀⠀⠀⣾⣴⣿⣷⠀⠀⠀⢀⡿⠶⠛⠉
⠀⠀⠀⠀⠀⠈⢷⡀⠀⠀⠘⢿⡿⠃⠀⠀⢀⡾⠁
⠀⠀⠀⠀⠀⠀⣠⡿⠶⣤⣀⣀⣀⣀⣤⠶⢿⣄
⠀⠀⠀⠀⠀⣼⠏⠀⠈⡇⠉⡩⢉⠉⢸⠁⠀⠹⣧
⠀⠀⠀⠀⠀⢿⡄⠀⣠⠇⢊⠔⡡⢊⠸⣄⠀⢠⡿
⠀⠀⠀⠀⠀⣨⣿⢿⣁⡀⠁⠊⠔⠁⢀⣈⡿⣿⣅
⠀⠀⠀⠀⠈⠻⠷⠤⠬⠿⠛⠛⠛⠛⠿⠥⠤⠾⠟⠁
Run AI agents and other Linux workloads, each in its own lightweight virtual machine, on your Mac or on a Linux machine.
Koala is a command-line tool for hosting agents, services, jobs and
development environments in Linux VMs, at your desk or on a home server or
lab machine. Each VM has its own kernel, disk and network, and gets only the
access you grant it. With the broker, an agent's API keys stay outside its
VM. The same koala commands, VM specs and policies work on both hosts.
Watch the explainer: Koala - run agents with confidence (YouTube).
Release candidate: the latest release,
0.1.0-rc.1, is the release candidate for Koala 0.1.0. It is tested hard, on real VMs, on both platforms (how). Each release's notes say what changed.
Documentation: https://kunalkushwaha.github.io/homebrew-koala/
This repository holds Koala's releases, its Homebrew formula and its user guide. Each release holds the Mac and the Linux files. Koala's source code is not public yet.
| macOS | Linux | |
|---|---|---|
| Host | Apple silicon, macOS 26 or newer | x86-64 Ubuntu 24.04, kernel 6.12 or newer, access to /dev/kvm |
| Hypervisor | Apple's Virtualization framework | KVM, through Cloud Hypervisor |
| Images | linux/arm64 | linux/amd64 |
| Install | Homebrew, or a release archive | A Debian package, or a release archive |
| Background manager | A launchd agent | A systemd user service |
| Sandboxes | App Sandbox for the helpers, a Seatbelt profile per VM run | Landlock and seccomp, and namespaces where Koala's AppArmor profile is loaded |
| Secrets | The login Keychain | The desktop keyring (Secret Service), or encrypted files |
koala create NAME --catalog ubuntu-24.04).koala create hermes --template hermes
makes the agent's VM, the policy that keeps its key outside the VM, a
volume and its setup, after showing you the plan
(templates). koala template update gets newer
templates, signed with the release key. Examples:
Hermes and OpenClaw,
with their files in examples.Koala is tested by attacking it, on real VMs, on both platforms:
.deb on Linux; and a clean
install and removal on each platform, on Linux on a clean Ubuntu machine.On a Mac:
brew install kunalkushwaha/koala/koala
koala system install # set up and start the manager for your user (no sudo)
On Linux, download the Debian package from the releases page, check its checksum against the release notes, then:
sudo apt install ./koala_VERSION_amd64.deb
koala system check # what this host has, and what is missing
koala system install # set up and start the manager for your user (no sudo)
Each release's notes give the checksums and the runtime signing keys. Getting started explains the archive install, and Koala on Linux covers the Linux requirements, logging out, upgrading and removing.
Run a throwaway job:
koala run --image docker.io/library/alpine:3 -- /bin/sh -c 'echo hello from the guest; uname -m'
It prints aarch64 on a Mac and x86_64 on Linux. Create a VM that stays
up, and work in it:
koala create dev --image docker.io/library/alpine:3 --wait
koala start dev --wait
koala exec -it dev -- /bin/sh # an interactive shell; type exit to leave
koala stop dev --wait
koala --help lists every command, and koala COMMAND --help explains one.
By default, a VM gets:
127.0.0.1 only, unless you ask for the LAN.Koala treats everything inside a VM as untrusted, and trusts you, the logged-in user. On a Mac, VMs stop when you log out; on Linux, they keep running with lingering on. Nothing starts by itself after a restart. See limits for the details.
On a Mac:
brew upgrade koala
koala system install # add --stop-vms if VMs are running
On Linux, install the new release's .deb with sudo apt install, then
koala system install (see upgrading).
koala system uninstall # keeps VMs, volumes and images; --purge --yes deletes them
brew uninstall koala # on a Mac
sudo apt remove koala # on Linux, after each user's koala system uninstall
exec, terminals, attach,
cp, logs and the console.Koala is licensed under the Apache License, Version 2.0. Each release archive
includes the LICENSE file, and a NOTICE file that lists the third-party
software in it.
The website is built with Astro Starlight.
Its own pages (home, how it works) are in src/content/docs/, and its theme is
src/styles/koala.css. The user guide in docs/ is published as is:
scripts/sync-guide.mjs copies it into the site at build time, so each
release's guide reaches the site with no extra step.
.github/workflows/pages.yml publishes it to GitHub Pages. To preview it:
npm ci
npm run dev
sudo for everyday use: a background manager that runs as you
keeps track of your VMs.