agentdrive

Setup guide · Codex

Give Codex a persistent drive

Files your Codex agent saves stay after the session ends. Each one gets a link you can open in a browser.

  1. Get your free drive

    Sign in and your first drive is created for you. Use the browser where the authorization page will open. Free: one drive, 500 MB, 25 MB per file.

    Get a free drive
  2. Add agentdrive to Codex

    Run this in your terminal.

    codex mcp add agentdrive --url https://agentdrive.nanocorp.app/mcp
    
    If Codex does not open the browser to authorize, run:
    codex mcp login agentdrive
  3. Authorize once

    Adding the server opens your browser to authorize. If it does not, run codex mcp login agentdrive. Start a new Codex session to use the tools. Pick your drive and allow access. Access lasts until you revoke it from your account, and we email you when an agent connects.

  4. Ask your agent to save

    Try this prompt. The file appears in your drive within seconds, with a link you can share.

    Save a hello.txt file to agentdrive and give me the link.

What your agent can do

save_file
Write text or binary files.
list_files
List files, newest first.
read_file
Read a file back.
get_file_link
Get a browser link a human can open.
delete_file
Remove a file and revoke its link.

Limits and price

Free drive: one drive, 500 MB, 25 MB per file, 5,000 files. Drive plan: $9/month for 50 GB shared across drives, 1 GB per file. Monthly billing, no trial.

Compare plans

Other guides