DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to hand off a half-finished task from Claude Code to Codex with AI Memory

Quit one coding agent mid-task and resume in another in the same directory with the open questions intact.

Short answer: Run curl -fsSL https://github.com/akitaonrails/ai-memory/releases/latest/download/install.sh | sh; then run ai-memory setup; Quit Claude Code in the project directory. All steps.

Remote script. The install command pipes a script from GitHub directly into sh, so review it first if you do not trust the source.

Who it is forA developer partway through a feature in Claude Code who needs to continue in OpenAI Codex, for example after hitting a usage limit or wanting a second agent's view.

The problemEach agent starts cold, so the architecture, failed approaches, and open questions must be re-explained by hand.

The outcomeCodex starts in the same directory with a handoff that states where the work stopped, what failed, and what is still open.

What you need first

  • A Linux or macOS machine (native Windows is experimental; WSL2 is supported)
  • At least one supported coding agent CLI installed, such as Claude Code or Codex
  • A terminal with curl and sh available

Steps

  1. Run curl -fsSL https://github.com/akitaonrails/ai-memory/releases/latest/download/install.sh | sh
  2. Run ai-memory setup
  3. Quit Claude Code in the project directory
  4. Run ai-memory run codex from the same directory

Prompt for your agent

Using the ai-memory repo (github.com/akitaonrails/ai-memory), set up the tool, then start <target-agent> in the project at <project-path> through `ai-memory run`. Expected output: the new agent begins with a brief that lists the last session's status, failed approaches, and open questions. Verify the brief mentions the open questions from the previous session before continuing.

Caveat. The README says AI Memory run gives Codex a private local projection of Claude's visible native history, so check what each agent can see before relying on it for sensitive work.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for akitaonrails/ai-memory and "Hand off a half-finished task from Claude Code to Codex"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer