Code with agents
Point a chat at a project, then review, commit and ship without leaving Aux.
On this page
Aux runs the coding agents you already use, such as Claude Code, Codex and OpenCode, in your project’s folder. You follow along in the chat, review every change, and ship it from the same window.
Start a coding chat#
- Pick a local agent CLI as the chat’s model.
- Give the chat a folder: choose one for its project, or attach a folder to the chat.
- Ask for the change you want.
Claude Code and Codex work in that folder and follow the project’s own instructions, such as its CLAUDE.md. OpenCode edits files through Aux’s approval cards.
While it works#
- Steer. Send a message while Claude Code or Codex is working to steer the turn. The send button says whether your message steers or waits its turn, and ⌘↩ does the other.
- Approve. Approval cards show the actual change, with Allow once, Allow for this chat, Decline, Decline and stop, or a typed reply.
- Usage limits. When your plan hits a limit, the chat says when it resets, and Resume at reset picks the work back up then.
- Rewind, edit or fork from any message to try another way. With Codex and Claude Code this moves the CLI’s own session too, so it forgets what came after.
- Switch models. Change the chat’s model at any point. A CLI you switch back to is sent only what it missed.
To try several models on the same change at once, see Compare models.
The Code card#
When a chat’s folder is a git repository, open the side panel from the chat’s header and choose Changes for the Code card. It has three tabs:
- Changes lists this turn’s files with their diffs. Restore puts them back as they were. On a branch with a base, it shows everything since the branch left its base.
- Scripts runs your project’s
package.jsonscripts and shows their output. - Preview lists the dev servers this chat started and opens one in a split beside the chat.
From Changes, choose the files to commit and review the suggested message. Other staged and uncommitted changes stay in place. Push and Create PR take the selected work to GitHub. The draft includes the checks Aux has evidence for, and you can edit it before posting.
Open a local commit to see exactly what it changed, or search the diff to find matches in folded files. Select lines in a file or diff, or output in the terminal, to attach that exact excerpt to the composer.
Pull requests and issues#
Open a GitHub pull request or issue with Work in Aux to start from its repository and discussion. A pull request can use its own worktree. Set a GitHub login for the Project when you use more than one account.
Draft comments on the lines you reviewed, reply to existing discussions and submit them together. A review guide can take you to specific changes. For stacked pull requests, Aux shows their order and the checks or pull requests blocking them.
Use the Project inbox to find review requests and assigned issues. You can update an issue after reviewing the exact repository, account and changes. A chat can link several pull requests and watch them for review and check updates.
In Project › Personalize › Linear issues, connect a team with a 1Password reference to your Linear API key. Browse that team’s issues and review a change to status, priority or assignment before applying it.
Branches and worktrees#
New branch moves the chat onto a new branch, in a git worktree of its own, from a base branch you pick. Several agents can then work on one project at once without colliding. Aux keeps worktrees inside the repository’s .git folder, and sets them up and cleans them up for you.
Add related repositories to one Project to review their changes together. Open a repository’s worktree chat to give its changes, checkpoints and pull requests a separate checkout. You can also start a Project from a GitHub repository or branch link and draft the first prompt during clone.
Terminal#
Press ⌃` or choose Terminal in the side panel to open your login shell in the chat’s folder. Open another terminal to work beside a running watcher. Each terminal keeps its own working directory and output while it’s hidden.
Show the agent what you mean#
Set the preview to an exact viewport or rotate a device preset. Pick a page element to attach its selector and a picture. With Xcode installed, you can capture an iOS simulator image with its device and orientation. See Remote Control to open a Mac preview on your iPhone or iPad.
Keep track#
Every coding chat sits in the Library with its branch, pull request and agent. Sort it by activity to see what’s working and what’s waiting on you.
A device routine can run on a matching GitHub check or pull request event in a Project. Run history shows the event that started it.