Blog / 23 November 2026
Deep dive · 23 November 2026 · 3 min read
How kosa8 runs AI agents on a Mac with Apple silicon
Most coding agents run on a developer's Mac, with the same access the developer has: every file, every key in the environment, the whole network. On an Apple silicon Mac, kosa8 gives each agent a machine of its own instead, a small Linux virtual machine started on Apple's Virtualization framework.
01What runs where
kosa8 runs sandboxes natively on Apple silicon Macs, using the Virtualization framework that is built into macOS. Each sandbox is a real virtual machine with its own Linux kernel, not a container sharing the Mac's.
An Intel Mac cannot run sandboxes itself. It can drive one: kosa8 on a Linux machine or an Apple silicon Mac does the work, and every command works the same from the Intel Mac.
02Install and run an agent
Download the Mac app from kosa8.com/download, or use curl -fsSL https://kosa8.com/install.sh | sh, or brew tap AzmxAI/kosa8 then brew install kosa8. The app is signed and notarized by Apple, and the installer checks the download against the published fingerprints before anything runs. Then sign in with kosa8 login.
To run Claude Code with one project folder visible: kosa8 agent run -w ~/code/api claude. Add --dry-run first to see the plan: the kit, the one folder shared, the hosts it may reach and the keys that are brokered.
03What the agent can and cannot touch
The limits are set by the machine, not requested of the agent.
- One folder. The agent sees the folder you pass with
-w. Nothing else on your Mac is visible. - Named hosts only. Outbound traffic goes through an egress broker that allows only the kit's hosts, or the ones you pass with
--egress-allow. - No keys inside. API keys stay on your Mac; the sandbox holds a placeholder and the broker adds the real key on the way out.
- A record. Each action is written to a tamper-evident audit log you can read with kosa8.
04Limits to know
Sandboxes on a Mac are Linux machines, so the agent works in Linux, not macOS. Mac sandboxes are CPU only today. How many run at once depends on your Mac's memory and your plan.
Apple is a trademark of its owner; kosa8 is not affiliated with or endorsed by Apple.
Takeaways
- Apple silicon Macs run kosa8 sandboxes natively on Apple's Virtualization framework.
- Each agent gets its own Linux virtual machine with its own kernel.
- The agent sees one folder, reaches only allowed hosts and never holds a real API key.
- Intel Macs drive a sandbox host instead of running sandboxes themselves.
Where kosa8 fits · Zero Trust cybersecurity infrastructure for AI agents
kosa8 is Zero Trust cybersecurity infrastructure for AI agents: every agent sealed in its own virtual machine, with one folder shared, egress limited to named hosts, keys kept outside and every action recorded. On a Mac it runs on Apple's Virtualization framework.
Read next: AI security for the enterprise · AI for cybersecurity · Cybersecurity for AI agents, topic by topic
Check yourself · +100 XP
On an Apple silicon Mac, what does a kosa8 sandbox run on?
Each sandbox is a Linux virtual machine with its own kernel, started on the Virtualization framework built into macOS.
Questions people ask
Do I need Docker Desktop?
No. kosa8 starts its own virtual machines on Apple's Virtualization framework.
Does it work on an Intel Mac?
An Intel Mac can drive sandboxes that run on another machine, a Linux host or an Apple silicon Mac, but cannot run them itself.
Sources
- Virtualization framework — Apple Developer
- Install kosa8 — kosa8 docs
Written by the kosa8 team. Every kosa8 command was checked against the CLI, and every claim about another product links to that product's own documentation. Spotted a mistake? Tell us.
Try it on your own machine
Give your next agent its own sealed machine.
One line installs kosa8 on your own machine. Start free with no card; plans from $29 a month.