FileOSGuide fileosmac.com

AI agents

Coding agents such as Claude Code, Codex, Cursor, Gemini CLI and GitHub Copilot read setup files in each project: instructions, settings, MCP servers. AI Agents finds every project set up for one, shows what your agents used, lets you read and edit their files, and copies a setup to another project.

Tools › AI Agents: usage, what's on localhost, and your projects. Agents appear by marks drawn for this page; in the app, by their own logos or icons.

The overview

Click AI Agents under Tools in the sidebar. From the top:

UsageTokens today, this week or this month, by day, agent, project and model, read from the logs Claude Code, Codex, Gemini CLI, Copilot CLI and OpenCode keep on your Mac, and about what that would cost at API prices.
On localhostYour programs listening on a port, with their project. Open one in your browser, or Stop it: FileOS asks first, then stops it as Control-C would.
ProjectsEvery project set up for an agent, found in your workspaces, your Favorites and the places you've used Claude Code. Your Mac comes first: the global setup every project gets, from your home folder (~/.claude, ~/.codex…). Each tile shows its branch, its agents, files and MCP servers, and its tokens this week; a green port when its server runs. Add a Project… adds one from anywhere else; Refresh looks again.
MCP serversEvery MCP server your agents use, as a card: online or a program on your Mac, its command in short, which agents use it, everywhere or in which project, and a warning when its program isn't found. Give to another agent writes it into that agent's own file, with Undo. Servers that came inside an app are folded apart under Came with apps.

The files each agent reads

Claude CodeCLAUDE.md, CLAUDE.local.md, .claude/settings.json, .claude/settings.local.json, .mcp.json, and .claude/commands/, agents/, skills/
CodexAGENTS.md, AGENTS.override.md
Cursor.cursorrules, .cursor/rules/, .cursor/mcp.json
Gemini CLIGEMINI.md, .gemini/settings.json, .gemini/commands/
GitHub Copilot.github/copilot-instructions.md, .github/instructions/, .github/prompts/, .vscode/mcp.json
Antigravity.agents/AGENTS.md, .agents/GEMINI.md, .agents/rules.json, .agents/mcp_config.json, .agents/rules/
OpenCodeopencode.json (or .jsonc), .opencode/'s agents and commands

A project's page: read and edit a file

  1. Click a projectIts page lists every agent's files in one list, Setup files, each with its agent's icon. On the right: its usage, its server and its MCP servers.
  2. Pick a filePreview shows it as the agent reads it; Edit lets you change it. An edited file says Edited, with Revert.
  3. SaveClick Save or press ⌘S. A note offers Undo.

Its Folder opens the project in FileOS; the arrow at the top left goes back to all projects.

Start an agent here

On a project's page, Start an Agent Here lists your agents and terminals: pick one, and your terminal opens in the project's folder and starts it. Your default terminal is set in Settings › Open In. If an agent isn't on your Mac, it says “Not found on this Mac”, with How to Install … (as in How to Install Codex…), which opens its maker's instructions.

Copy a setup to another project

  1. Pick one of the agent's files, then click Copy … Setup To…The button names the agent, as in Copy Claude Code's Setup To…
  2. Choose the projectEach file is marked new or already there. Personal files (CLAUDE.local.md, settings.local.json) stay where they are.
  3. CopyClick Copy 3 Files. If some are already there, choose Replace Them or Leave Them. Undo puts things back.

Example

You've written good rules for Claude Code in mobile-app and start a new project, api-server. Open mobile-app, pick its CLAUDE.md, Copy Claude Code's Setup To… › api-server › Copy 3 Files. Open api-server's CLAUDE.md, change the commands, Save, then Start an Agent Here.

Something unclear, or missing? Write to support.fileosmac@gmail.com.