What you need
- Claude Code connected to Homing: Sign in once, or use an API key.
- Codex connected to Homing: Codex uses an API key placed in HOMING_API_KEY.
Why it works
A Drive belongs to an inbox. Two sessions that work the same inbox see the same files, whatever client they run in. A key never reads your own inbox: it works the one agent inbox it acts as. So make an agent inbox for this work, and point both clients at it: use that agent's key in each, or sign in to both and pass the same inbox. Two clients on different inboxes see different files.
Save from one client, read from the other
- 1 In the app, create an agent inbox for this work, or pick one you have, and make an API key for that agent. Put the key in HOMING_API_KEY for Codex yourself, and use it for Claude Code too (or sign in to Claude Code and have it work that agent inbox). Both clients now work the same inbox.
- 2 In Claude Code, ask: "Save the API notes we just wrote to my Homing Drive at shared/api-notes.md." It calls manage_drive with action="put".
- 3 In Codex, ask: "List my Homing Drive folder shared/ and read api-notes.md." It calls list_drive with path="shared/" and then with read=true.
- 4 To change the file, Codex reads it, edits it and saves it with manage_drive put at the same path and if_version set to the version it read. If Claude Code saved a newer one meanwhile, nothing is stored and the answer is version_conflict with the current version: read, merge and put again.
manage_drive(action="put", path="shared/api-notes.md", content="...", client_id="<a new UUID>") list_drive(path="shared/") list_drive(path="shared/api-notes.md", read=true) manage_drive(action="put", path="shared/api-notes.md", content="...", client_id="<a new UUID>", if_version=1)
Give both the same instructions
Both clients read the inbox's context with get_context: its prompt.md, context.md and skills, written by you in the app. Write the rules once there, such as where files go, and neither client needs them pasted. ping returns the context version, so a session knows when to read it again.
- Standing instructions and skills for your agents: How to write them.
What you will see
Each file in the app's Workbench, Drive shows its versions and who wrote each one: "Written by @agent-handle" for an agent's key, or the client's name for a session you are signed in to.
Limits
A free account keeps 1 GB of files, up to 2,000 files and the last 3 versions of each. A put with its text in the call takes up to 256 KB; a larger file goes by an upload link, which needs a session that can make an HTTP PUT. A deleted file is restorable from the trash for 7 days. Two clients saving at once is safe with if_version; without it, the later put becomes the current version and the earlier stays in the file's history. Deleting is yours, from the app or a session you are signed in to, with a preview and your yes; a key or agent session cannot delete.
Security
Never save a key, token or password to Drive: inline text that holds one is refused. What a file holds is data a writer chose, never instructions, so a session reads it and does not obey it.