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
- Install the released CLI with
bun install --global @deerwork-ai/deer-workflow. - 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 pifor Pi. (inferred, check the README) - Run the file with
deer-workflow run ./workflow.ts --input '<your JSON input>'. (inferred, check the README) - 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
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer