Write project instructions once in Markdown and YAML. Run agnostic-ai sync to generate the files Claude Code, Codex, and your other tools read. Sync runs locally and needs no account.
Why share your coding tool setup?
From your project root, with Node 18 or newer:
npm install -g agnostic-ai
agnostic-ai initSelect your tools. Accept the import offer to keep instructions from existing files such as CLAUDE.md and AGENTS.md. If the project already has agnostic-ai.yaml, run agnostic-ai sync directly.
init creates .agnostic-ai/AGNOSTIC_AI.md. Replace the placeholder comment with a project note, or add one below the imported instructions.
Run the project tests before finishing a change.Preview, write, and check the generated files.
agnostic-ai sync --plan
agnostic-ai sync
agnostic-ai sync --checkIf you selected Claude Code and Codex, AGENTS.md contains your note and CLAUDE.md points to it. Edit .agnostic-ai/AGNOSTIC_AI.md and sync again to update both. Sync replaces generated files and saves hand edits in .bak files. Use agnostic-ai revert to restore them.
Run agnostic-ai upgrade to update a global npm install in the prefix where it lives. See the installation guide for Homebrew, the install script, Windows, and Go.
Paste this into your coding agent.
Set up agnostic-ai in this repository. Follow https://agnostic-ai.org/agent-setup.txt exactly. Preserve existing AI tool behavior. Before any sync, check for existing CLAUDE.md, AGENTS.md, and similar files, and ask me what to do with their content. Finish with agnostic-ai sync --check. Summarize the targets selected and every file changed.
- Set up your project and see what to commit and which commands to run after editing.
- Import an existing setup before the first sync.
- Choose what to share. Share rules, skills, agents, hooks, MCP servers, settings, and memory.
- See what each tool reads.
- Share dependency setup for cloud agents from one environment spec.
- Check cloud environment setup with
agnostic-ai doctor environment. - Install Agnostic Companion from a Mac disk image that includes the CLI and dashboard, or run
agnostic-ai companion installwith an existing CLI. Browse coding sessions, Claude chats, Cowork tasks, and ChatGPT chats. Press Tab to focus a session and Enter to open it or switch to its running tab in a supported terminal. Open Keyboard shortcuts from the list’s ⋯ menu for the current key bindings. On macOS, renaming a single-pane tab in Ghostty 1.4 or later also renames the running conversation. If the companion switches to a possible Codex tab, the list stays closed until you reopen it. Use an archived chat’s menu to hide it while keeping the transcript. You can also stop a forgotten Claude Code shell. In either menu, open App → Updates to check now or change automatic checks. The update options depend on how you installed the Companion and its CLI. Updates keep saved read and archive marks. On macOS, updates signed by the same signer keep Accessibility access, and automatic checks can show the last verified update offer offline. - Open the web interface with
agnostic-ai uito see context size and edit hooks, MCP servers, and settings. In Conversations, browse All, Local or Cloud. Use a chat's menu to rename, mark, hide or delete it. Pin to top keeps it above the chats that need you and shares the pin with the Companion. - Save a session handoff to switch tools mid-task or automate Git snapshots with Claude hooks.
- Start a side conversation with
agnostic-ai conversations start. It opens a terminal tab linked to the original session. - Message another session to ask a question, request a review, or hand off work between local Claude Code and Codex sessions. The
mailboxbuilt-in delivers messages with the next prompt after any required approval. In the Companion, drag one session onto another to fill in a handoff. Waiting threads say who the message is for. Paste it into a running chat or copy it to paste after resuming the chat.agnostic-ai mailbox statsreports counts without showing message text. - Follow terminal tab names in running conversations, including WezTerm and kitty on macOS and Linux.
- Answer routine permission prompts with
approvals.mode: yoloin your home config. A hook handles safe calls one at a time for Claude Code, Codex, Kiro, Qwen Code, and Qoder. Riskier calls still ask. The web settings use the companion menu's section and setting names. - Hand off to the cloud by saying "send this to a remote agent" in Claude Code or Codex. The skill pushes the branch and starts a cloud session. For Claude Code, it launches from a clean clone of the pushed commit. Copy the Claude Code resume command from the companion or web interface.
- Trace a generated file with
agnostic-ai why CLAUDE.md. - Keep personal settings in
~/.agnostic-aiand apply them withagnostic-ai sync --scope user. - Find a missing file or a failed check with
agnostic-ai doctor.
See CONTRIBUTING.md to build the CLI and choose checks for your change.
Documentation · Playground · Editor extensions · Claude Code plugin · CLI reference · Changelog