Skip to content

Code

APX is not only for office work. An agent can work inside a project’s folder: read the code, edit files, run tests and commands, and show you every change as a diff. You can do it in two ways: a code thread with one of your agents, or a session with Claude Code or Codex themselves, right inside APX.

A code thread is a chat whose agent works in a folder of a project. Its header shows the folder and the write policy, so you always know where it is working and how freely.

In the Inbox, New chat › New code session with and pick an agent. The option shows when the project’s folder is on this machine.

PolicyWhat it means
Asks before changes (ask)The default. Edits and commands go through the usual approvals of the agent’s autonomy. Codex cannot ask mid-turn, so under this policy it only reads.
Edits freely (auto)Claude Code and Codex sessions edit files inside the folder without asking (never git’s config, .apc/ or AGENTS.md). Commands still follow the agent’s autonomy.
Read-only (read-only)Only reads. Anything that would need your OK is refused.

You don’t need a new thread for a quick fix. In a project chat with an agent, open the chat’s menu (More) › Project folder and pick a policy; Does not work in the folder turns it back off. Tomás can be planning the launch with you one minute and fixing the cart page the next, in the same chat.

Open the side panel from the chat header. Three views matter most when code is involved:

PanelWhat you get
TerminalEvery command the agent ran, with what it printed, foreground or background. Open a terminal gives you your own shell in the same folder.
FilesThe chat’s folder (Chat folder) and its scratch files (Temporary). Open a file to read it; Markdown reads as a page.
ChangesThe edits the agent recorded, for the Last turn or All turns, and the Current folder’s git diff, file by file.
A code chat with the Terminal side panel open, showing the test command the agent ran and its outputA code chat with the Terminal side panel open, showing the test command the agent ran and its output
The Terminal panel: the agent's commands and your own shell

When the agent needs you to run something itself (a command with sudo, say), it writes it as a shell block with Run in a terminal. It runs on a real terminal in the side panel, so you can type the password there, and the agent hears how it ended.

For commits, go to the project’s Files tab › Git (Source control). There you can stage and unstage files, Commit (or Write the message with AI), pull, push, fetch, stash, undo the last commit, switch branches and read the history.

Acme Store's Files tab with the folder tree on the left and a file open in the code viewAcme Store's Files tab with the folder tree on the left and a file open in the code view
A project's Files tab

If you use Claude Code or Codex, APX can host their sessions. You talk to the engine itself, with your own login and plan, and APX gives it its chat, panels, approvals and history.

External sessions in the sidebar lists each coding CLI installed on this computer. Pick one:

  1. Make sure it is signed in. Settings › External sessions shows each CLI’s state (for Claude Code, open it in a terminal and sign in; for Codex, run codex login).
  2. New session asks for a project with a folder: the session works there.
  3. Write as you would in the CLI. Its tool calls, edits and commands show in the chat and the side panels like any other.
External sessions, Claude Code: sessions started in APX at the top and, under On this computer, sessions found on disk with their foldersExternal sessions, Claude Code: sessions started in APX at the top and, under On this computer, sessions found on disk with their folders
External sessions

Below the sessions started in APX, On this computer lists the Claude Code and Codex sessions you already have on this machine (from ~/.claude and ~/.codex), with their folder. Click one to go on with it here: the engine picks up its own session, history included, and from then on it lives in APX too.

Other coding CLIs that speak the Agent Client Protocol (OpenCode, Qwen Code, Gemini CLI and others) show up in External sessions as well. That support is partial.