# Castle > Castle gives each AI agent a device of its own, made when it asks: a Mac, Windows, Ubuntu or Android device, even your own phone. It is a native Mac app with a menu bar item and a command line. An agent asks Castle for a device by kind, uses it and gives it back with `done`, and you can watch it all from one window. Castle works with Claude Code and Codex by name, and with other agent apps that can use MCP or a command line. Castle is made by Manly Beach Labs. Castle for Mac is in testing. Every docs, legal, blog and changelog page is also served as Markdown: add `.md` to its address. The whole docs, legal and pricing text in one file: https://castle.cx/llms-full.txt ## Docs - [What Castle is](https://castle.cx/docs/get-started/what-castle-is.md): Castle gives your AI agent devices of its own on your Mac, and keeps them ready. What it does, what you see, and what it is not. - [What you need](https://castle.cx/docs/get-started/what-you-need.md): The Mac, the license and the room on disk you need before you start. Apple silicon, macOS 26 or later, and space for devices. - [Install Castle](https://castle.cx/docs/get-started/install-castle.md): Download Castle for Mac, move it to your Applications folder and open it. What macOS may ask, where Castle sits in the menu bar, and how updates work. - [Your first device](https://castle.cx/docs/get-started/your-first-device.md): Make your first Castle device in one window: pick a phone or a computer, a system and a version, then Create. What you will see while it is made. - [Connect your agent](https://castle.cx/docs/get-started/connect-your-agent.md): Connect Claude Code or Codex to Castle with one press, or with one command. Restart the agent, check the connection, and what to do if it is not found. - [Your agent's first task](https://castle.cx/docs/get-started/your-agents-first-task.md): Paste one prompt to your agent, watch it ask Castle for a device, work in it and give it back. What you will see at each step. - [Activate your license](https://castle.cx/docs/get-started/activate-your-license.md): Where to find your Castle key, where it goes in the app, how to tell whether a Mac is activated, and what to check if the key does not work. - [Kinds of devices](https://castle.cx/docs/devices/kinds-of-devices.md): The devices Castle can make or use for your agent: Mac, Ubuntu, Windows 11 and Android, plus your own Android phone or iPhone. What each is for. - [Mac devices](https://castle.cx/docs/devices/mac-devices.md): Make a Mac device for your agent: a real macOS of its own, apart from your Mac. How to make one, Apple's limit on running Macs, and what is shared. - [Ubuntu devices](https://castle.cx/docs/devices/ubuntu-devices.md): Ubuntu comes as Desktop, with a screen, or Server, for the command line. How to choose, how to make one, and what your agent can do in each. - [Windows devices](https://castle.cx/docs/devices/windows-devices.md): Make a Windows 11 device for your agent: a Windows PC of its own, in the background. How Castle gets Windows, Microsoft's terms, and what your agent can do in it. - [Android phones](https://castle.cx/docs/devices/android-phones.md): Castle makes an Android emulator your agent can use, and can use your own Android phone. Google Play, Pause, and what Castle never does to your phone. - [Your own iPhone (beta)](https://castle.cx/docs/devices/your-own-iphone.md): Castle lets your agent use your own iPhone through Apple's iPhone Mirroring on your Mac. It is a beta: what works, what doesn't yet, and when it stops. - [The device window](https://castle.cx/docs/devices/the-device-window.md): Open a device to watch it and use it while your agent works. The title bar, Fit, Scale and Actual size, full screen, and what closing the window does. - [Running, Paused and Off](https://castle.cx/docs/devices/running-paused-and-off.md): What Running, Paused and Off mean for a device, when a device rests on its own, how to change that, and why Pause does not lose your work. - [Roll back and copies](https://castle.cx/docs/devices/roll-back-and-copies.md): Save a snapshot before your agent starts, return a device to it when it goes wrong, and make a copy. Where each works, and what Castle never does itself. - [Clipboard, folders and network](https://castle.cx/docs/devices/clipboard-folders-and-network.md): What a device can share with your Mac: the clipboard, folders one at a time, a network setting and open ports. Where to turn each on or off. - [Device settings](https://castle.cx/docs/devices/device-settings.md): Every row of a device's Settings in one place: what each does, and whether it changes at once or at the next start. Screen, Sound, Sharing and Agents. - [Storage and Free Up Space](https://castle.cx/docs/devices/storage-and-free-up-space.md): What devices take on your Mac, the notices Castle shows when memory or disk is short, and how Free Up Space lets you choose what goes. - [Remove a device](https://castle.cx/docs/devices/remove-a-device.md): Remove deletes a device and what is in it. How that differs from Turn Off, what Castle asks first, and what to do if you only want your Mac's memory back. - [Agents that work with Castle](https://castle.cx/docs/agents/agents-that-work-with-castle.md): Castle works with Claude Code and Codex by name, and with other agent apps that can use MCP or a command line. What that means and where to start. - [Connect Claude Code](https://castle.cx/docs/agents/connect-claude-code.md): Connect Claude Code to Castle from the app or from Terminal, restart it, check the connection, and remove it again. One press, no new app. - [Connect Codex](https://castle.cx/docs/agents/connect-codex.md): Connect Codex to Castle from the app or from Terminal, restart it, check the connection, and remove it again. One press, no new app on its side. - [What agents may do](https://castle.cx/docs/agents/what-agents-may-do.md): One switch and a level for each device say whether agents may use your devices, and Stop All Agents turns them all off. What an agent can and cannot do. - [Watch your agent work](https://castle.cx/docs/agents/watch-your-agent-work.md): Watch your agent work in a device's window, see its labelled pointer, use the device at the same time, and stop the agent whenever you want to. - [Chat with an agent in Castle](https://castle.cx/docs/agents/chat-with-an-agent-in-castle.md): Ask Claude Code or Codex for devices from a chat inside Castle. Open the sidebar, pick a device, choose a mode, read History and stop a reply. - [What each device can do](https://castle.cx/docs/agents/what-each-device-can-do.md): Why your agent can do one thing on a Mac and not on an Android. What it can do on each kind of device, and where the What it can do row says so. - [Guide for agents](https://castle.cx/docs/agents/guide-for-agents.md): Castle has a built-in guide that your agent reads when a job needs it. What castle guide is, which topics it covers, and where to read it yourself. - [Test your web app on a clean Mac](https://castle.cx/docs/guides/test-your-web-app-on-a-clean-mac.md): Ask your agent to open your page on a Mac device with nothing else on it, read what the page says and report anything that looks broken. - [Try your Android app with an agent](https://castle.cx/docs/guides/try-your-android-app-with-an-agent.md): Give your agent an Android device, let it install your app, tap through the screens and tell you what happened. You watch from the device's window. - [Install something risky in a copy](https://castle.cx/docs/guides/install-something-risky-in-a-copy.md): Try an installer or a messy change on a copy of a device, or save a snapshot first, so a bad install costs you a copy and not your working device. - [Run tests on Ubuntu Server](https://castle.cx/docs/guides/run-tests-on-ubuntu-server.md): Put your project in an Ubuntu Server device, run its tests there and get the result back, without installing anything on your Mac. - [Let a long job run in the background](https://castle.cx/docs/guides/let-a-long-job-run-in-the-background.md): Close the device window and keep working while your agent's job goes on, and how to stop a device resting when you don't want it to. - [The castle command](https://castle.cx/docs/command-line/the-castle-command.md): Castle comes with a castle command for your terminal. How to get it on your PATH, check that Castle is healthy, and where your agent reads its guide. - [Commands](https://castle.cx/docs/command-line/commands.md): The castle commands you and your agent use, grouped by what they do, each with one line and an example. Public commands and common options only. - [Exit codes and errors](https://castle.cx/docs/command-line/exit-codes-and-errors.md): What a castle command's exit status and error codes mean in plain words, and what to do next when your agent or a script hits one. - [What Castle sends](https://castle.cx/docs/privacy-and-security/what-castle-sends.md): Castle sends no analytics and no usage data. The only things it asks the internet by itself are the update check and the weekly license check. - [How devices are kept apart](https://castle.cx/docs/privacy-and-security/how-devices-are-kept-apart.md): A device runs apart from your Mac. What it can see, what you can share with it, what an agent can share, and how to turn each off. - [Updates](https://castle.cx/docs/privacy-and-security/updates.md): Castle looks for a new version once a day and installs it only when you say so. What happens to your devices, and how to turn the check off. - [Seats and Macs](https://castle.cx/docs/licenses/seats-and-macs.md): One seat covers one Mac. How to see your Macs, free a seat, add seats, and what to check when a key will not work on another Mac. - [Move to a new Mac](https://castle.cx/docs/licenses/move-to-a-new-mac.md): Move your Castle license to a new Mac. Free the seat on the old Mac in your account, then enter your key on the new one. The old Mac can be gone. - [Renewals](https://castle.cx/docs/licenses/renewals.md): Castle keeps working after the first year. Renewing gets you another year of updates and support. How to renew and what happens if you do not. - [Refunds](https://castle.cx/docs/licenses/refunds.md): How refunds work for Castle. Ask within 7 days, no reason needed, how you are paid back, what happens to the key, and what to do after 7 days. - [Get support](https://castle.cx/docs/help/get-support.md): How to get help with Castle in the right order, what to have ready when you get in touch, what never to send, and what happens after you do. - [Contact us](https://castle.cx/docs/help/contact-us.md): How to reach a person at Manly Beach Labs about Castle. Email for licenses and payments, X for quick questions and feature ideas, GitHub for bugs and feature requests. - [FAQ](https://castle.cx/docs/help/faq.md): Short answers to common questions about Castle, covering agents, your Mac, privacy, Pause, disk, Windows and iPhone, price, and where to read more. - [Two Macs are already running](https://castle.cx/docs/help/two-macs-are-already-running.md): Castle says two Macs are already running and won't start a third. Why Apple sets that limit, which devices it applies to and how to carry on. - [Agents are off](https://castle.cx/docs/help/agents-are-off.md): Castle says agents are off for all devices or for one device. What that means, how to turn agents back on, and why only you can do it. - [There is not enough room to make this device](https://castle.cx/docs/help/not-enough-room-to-make-this-device.md): Castle says there is not enough room to make a device. How to make room with Free Up Space, what it removes, and how to keep devices on another drive. - [The network did not answer](https://castle.cx/docs/help/the-network-did-not-answer.md): Castle says the network did not answer while it makes a device. How to check your connection, use Try Again and what Castle keeps in the meantime. - [macOS did not let Castle find devices on your network](https://castle.cx/docs/help/macos-did-not-let-castle-find-devices.md): Castle needs your yes to find the devices it makes on your Mac. What the macOS question looks like and how to turn Castle on in Local Network. - [Claude Code or Codex is not connected](https://castle.cx/docs/help/agent-is-not-connected.md): Castle says your agent is not connected, or did not find Claude Code or Codex. How to check, connect again, restart the agent and read the result. - [Castle cannot reach this device](https://castle.cx/docs/help/castle-cannot-reach-this-device.md): Castle says it cannot reach a device right now. What to check first, how Check Again works and what a paused or turned-off device looks like. - [A device stopped while it was being made](https://castle.cx/docs/help/a-device-stopped-while-it-was-being-made.md): Castle says a device stopped while downloading, installing or setting up. What Try Again keeps, what the other messages mean and when to ask us. - [Your Mac is short of memory now](https://castle.cx/docs/help/your-mac-is-short-of-memory-now.md): Castle says your Mac is short of memory, or almost out of disk space. What it means, what to pause or turn off, and how Free Up Space helps. - [A device can't reach the internet](https://castle.cx/docs/help/a-device-cannot-reach-the-internet.md): A device has no network, or an agent says it can't reach a site. Check the device's Network setting, macOS's Local Network question and the address. - [Castle closed an app to pause the phone](https://castle.cx/docs/help/castle-closed-an-app-to-pause-the-phone.md): An open app closed when an Android device paused. Why Castle closes it, how it tells you and how to keep an app open instead. - [Known limitations](https://castle.cx/docs/help/known-limitations.md): What Castle does not do yet, what has not been checked and what has not been measured, so you know before you hit it. Updated with each release. - [Uninstall Castle](https://castle.cx/docs/help/uninstall-castle.md): How to remove Castle from a Mac, and what to do with your devices and license seat first, where Castle shows what it holds, and what to check afterwards. - [Castle settings](https://castle.cx/docs/reference/castle-settings.md): A tour of Castle's Settings window, with the General, Agents, Storage and License tabs, what each row is for, and where a device's own settings live. - [Glossary](https://castle.cx/docs/reference/glossary.md): The words Castle uses, in plain English, from device, host and agent to Connect, Pause, snapshot, copy, Can use and more, in alphabetical order. - [What's new](https://castle.cx/docs/reference/whats-new.md): Where to read what changed in each Castle release, newest first, and how a release note is organised, with New, Better, Fixed and Not yet. ## Pricing - [Pricing](https://castle.cx/pricing): Castle is free to download and start; a key is paid once. What it costs and what a license includes - [Castle Individual](https://castle.cx/pricing): US$69. One license covers one Mac. - [Castle Team](https://castle.cx/pricing): US$99 a seat, from 3 seats. Each seat covers one Mac. - [What a license includes](https://castle.cx/pricing): No subscription. Every key comes with a year of updates and support. After the year Castle keeps working. - [Renewals and extra seats](https://castle.cx/pricing): After the year, renew for US$59 a seat to get another year of updates. Add a seat to a license for US$99. - [Refunds](https://castle.cx/legal/refunds.md): 7-day money-back guarantee, no reason needed. - [Currency and payment](https://castle.cx/pricing): Prices are in US dollars. Airwallex processes the card payment, and the receipt comes by email with your key. - [What you need](https://castle.cx/docs/get-started/what-you-need.md): A Mac with Apple silicon, running macOS 26 or later. Download Castle at /download. ## Changelog - [Changelog](https://castle.cx/changelog): every public release, newest first (feed: https://castle.cx/changelog/rss.xml) - [Castle 1.0.0-rc.1: Castle 1.0.0-rc.1](https://castle.cx/changelog/1.0.0-rc.1.md): 2026-11-23. Castle 1.0.0-rc.1 is the first public release candidate of Castle 1.0.0, and the first public release of Castle. ## Blog - [Blog](https://castle.cx/blog): news, how-tos and notes from the people making Castle (feed: https://castle.cx/blog/rss.xml) - [Your AI agent works as you. That's the problem.](https://castle.cx/blog/your-agent-works-as-you.md): 2026-11-20. Agents now run your tests, install packages and click through apps. The more you let them do, the more it matters where they do it. - [Let your agent work. Keep your Mac.](https://castle.cx/blog/what-you-get-with-castle.md): 2026-11-20. Castle gives each AI agent its own computer on your Mac. What you get: room to walk away, an undo, fewer collisions, and a Mac that stays yours. - [Running agents in parallel? Is your Mac ready?](https://castle.cx/blog/agents-in-parallel.md): 2026-11-20. Many of us already run more than one agent, and soon they'll be working side by side while we're away. What that changes for your Mac, and what to look for. ## Legal - [Terms of Sale](https://castle.cx/legal/terms.md): How buying Castle works: who sells it, what you get, what it costs, how payment works, and what happens if something goes wrong. - [Privacy](https://castle.cx/legal/privacy.md): What Castle's website and license system keep about you, and why. Who sees it, how long it is kept and how to ask us to remove it. - [Refund policy](https://castle.cx/legal/refunds.md): Castle's refund policy: 7 days after paying, no reason needed. How you are paid back, what happens to the license, and what to do after 7 days. - [Castle licence](https://castle.cx/legal/licence.md): What a Castle license lets you do, what it does not, how updates and license checks work, and who owns Castle. ## Contact - [Contact](https://castle.cx/contact): email, X for questions and feature ideas, and GitHub issues for bugs and feature requests - [Download](https://castle.cx/download): the latest Castle for Mac, with its version, size and what it needs - [Email hello@castle.cx](mailto:hello@castle.cx): a person reads it