# Axon > A coding agent for your Mac on Katara Cortex. Install it, sign in, choose how much it may do, and work in worktrees or on another machine over SSH. Section: Using Katara. Web page: https://docs.katara.com/customers/axon/ Axon is a coding agent for your Mac. Give it a task in a project folder and it plans the work, edits files, runs your commands and tests, and keeps going until the task is done or it needs you. Every request runs on [Katara Cortex](https://docs.katara.com/concepts/cortex.txt) and is paid from your Katara account, so there are no API keys to set up. ## Install Axon runs on Macs with Apple silicon. 1. Download [Axon for Mac](https://downloads.katara.com/axon/latest.dmg). 2. Open the disk image and drag **Katara Axon** to Applications. 3. Open it from Applications. The app is signed and notarized. It checks for updates on its own and offers to restart when one is ready. After an update, a short note in the sidebar says what changed, and it closes once you start working. ## Sign In Choose **Sign In to Katara** and Axon opens Katara's sign-in page in your browser. Use the same account as the chat and the portal: an email code, Google, Apple or a passkey ([Access and API keys](https://docs.katara.com/products/access.txt#your-account)). The browser hands you back to Axon when you are done. The sidebar shows your account and balance. Axon pays the way the chat does, with account credits or USDC ([Pricing](https://docs.katara.com/concepts/pricing.txt)), and a new account starts with the $5 signup credit. ## Open a Project Open a folder to start. The first time Axon works in a folder, it asks you to trust it. **Trust Folder** trusts that folder and the folders inside it; a worktree Axon makes for a chat follows its project folder. Type the task in the composer and send it. Axon may answer with a plan, a checklist of the steps it will take, and then work through it. Each edit, command and file it writes shows up in the thread as it happens. ## Choose How Much It May Do The access control in the composer sets what Axon does without asking: | Level | What Axon does without asking | | --- | --- | | **Ask** | Nothing. It asks before every edit, command and file write | | **Edits Allowed** | Edits and writes files. It asks before running commands | | **Auto** | Routine actions. It still asks before others | | **Full Access** | Edits files and runs commands | Your organization's policy comes first: an action it holds for approval still asks, whatever the level. A command that never finishes can be stopped from its row. ## Undo an Edit Every edit Axon makes has **Undo This Edit** on its row. An undone edit shows **Edit Undone**, and a line under the row says "Undid the edit to" the file, whether the row is open or folded. Axon refuses to undo an edit to a file that changed outside Axon since, so it never overwrites your own work. Undo works on the Mac that made the edit, since that Mac keeps the record of it. On another device, or in a shared or exported thread, the edit shows as made. ## Work in a Worktree In a git repository, a new chat can work in its own worktree, so several tasks run side by side without touching your checkout. Before the first message, choose **New worktree** in the composer's workspace switch and pick the branch to start from; it defaults to the branch you are on. **Local** works in the folder itself. Settings can make either the default. Axon names the worktree's branch from your first message, under the `axon/` prefix. When you archive or delete the only chat on a worktree, Axon asks whether to remove the worktree too. It never removes one that has uncommitted changes. If you unarchive the chat and send to it again, Axon recreates the worktree from its branch. ## Work on Another Machine Over SSH Axon can work on code that lives on a Linux machine or another Mac. Open **Settings → Environments**, add an SSH environment with the host and the account you use there, and connect. Axon uses your existing SSH setup. On first connection Axon installs its helper, `axon-server`, in `~/.katara-axon` on that machine, and keeps it at the same version as the app. The helper runs on Linux (x64 and arm64) and on Macs with Apple silicon. Projects on that machine then open in Axon like local ones. ## Helper Agents For a larger task, Axon can start helper agents that research or build parts of it in parallel. At most three run at once for a task, and they share the task's folder and spending. A helper starts read-only. Axon starts one that may edit only for a task that names the files it may change. If your access level asks before edits, you approve that helper once in the thread, with its task and files named. Only one helper may change a file at a time. A helper's edits appear in the thread's undo history, labelled with the helper. ## Web Search When a task needs current information, such as a library's latest docs, Axon searches the web as a step of its own and links the sources it used. Each search is charged at the web search price in [Pricing](https://docs.katara.com/concepts/pricing.txt) and needs account credits. ## Spending Each thread shows what it has spent, and the sidebar shows your balance. Axon warns once when the balance falls below $2 and again below $0.50, unless automatic replenishment is on. To cap a project, choose **Set a spending limit…** in a thread's menu: the limit applies to its folder, and projects opened from inside that folder keep it. Helper agents count toward the same limit. ## Refer and Earn While you are signed in, **Refer and Earn** in the sidebar copies your referral link and shows what you earn. People who sign up from it count as invited by you ([Referral rewards](https://docs.katara.com/customers/referrals.txt)). **Referrals** opens the portal page with your rewards.