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

How to generate a workflow with Claude Code or Pi instead of Codex with Deer Workflow

Switch the Agent runtime used to generate a workflow without changing the rest of the process.

Short answer: Install the released CLI with bun install --global @deerwork-ai/deer-workflow; then make sure the Agent CLI you want to use is installed and signed in; generate the module with deer-workflow create "<your workflow description>" --agent claude > workflow.ts, or use --agent pi for Pi. All steps.

Credentials. Generation uses the Agent CLI account you sign in with, and the README does not describe how those credentials are stored or shared.

Who it is forA developer on a team that already uses Claude Code or Pi and does not want to add Codex just to generate workflows.

The problemA tool tied to one Agent vendor forces extra setup for teams that use a different coding agent.

The outcomeA workflow.ts file generated by the Agent runtime the team already has installed.

What you need first

  • Bun installed (https://bun.sh)
  • Codex CLI installed and signed in, since Codex is the default Agent runtime
  • A terminal on macOS, Linux, or Windows with Bun support
  • Git, if you plan to clone the repository for examples or development

Steps

  1. Install the released CLI with bun install --global @deerwork-ai/deer-workflow.
  2. Make sure the Agent CLI you want to use is installed and signed in.
  3. Generate the module with deer-workflow create "<your workflow description>" --agent claude > workflow.ts, or use --agent pi for Pi. (inferred, check the README)
  4. Run the file with deer-workflow run ./workflow.ts --input '<your JSON input>'. (inferred, check the README)
  5. Compare the generated phases with your goal and edit workflow.ts if needed.

Prompt for your agent

Using the deer-workflow repository (deerwork-ai/deer-workflow), generate a Workflow for <target job description> with the --agent claude option and save it to workflow.ts. Expected output: a runnable TypeScript module. Verify that the file runs with a sample input and that the phases match the job.

Caveat. The README names Claude Code and Pi as built-in Harnesses, but it does not say how well each one performs on the same workflow description, so test the output before you rely on it.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for deerwork-ai/deer-workflow and "Generate a workflow with Claude Code or Pi instead of 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