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

How to generate a runnable TypeScript workflow from plain English with Deer Workflow

Describe a multi-step job in one sentence and get a runnable TypeScript workflow module.

Short answer: Install the released CLI with bun install --global @deerwork-ai/deer-workflow; then make sure you are signed in to Codex CLI, which is the default Agent runtime; generate the module with deer-workflow create "Create a Workflow that accepts a topics string array, researches each topic in parallel, and synthesizes a report" > workflow.ts. All steps.

Who it is forA developer or analyst who wants a multi-step AI pipeline, such as parallel research plus a written report, but does not want to hand-write the orchestration code.

The problemMulti-step agent jobs are hard to repeat and review when the control flow lives inside a long chat with an AI agent.

The outcomeA workflow.ts file that holds the execution path in readable TypeScript, which you can run, inspect, and edit.

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 you are signed in to Codex CLI, which is the default Agent runtime.
  3. Generate the module with deer-workflow create "Create a Workflow that accepts a topics string array, researches each topic in parallel, and synthesizes a report" > workflow.ts. (inferred, check the README)
  4. Run it with its example input: deer-workflow run ./workflow.ts --input '{"topics":["Agent Skills","Dynamic Workflows"]}'. (inferred, check the README)
  5. Open workflow.ts and review the phases, inputs, and failure handling before you change anything.

Prompt for your agent

Using the deer-workflow repository (deerwork-ai/deer-workflow), generate a runnable TypeScript Workflow for <target job description> with the deer-workflow create command, save it to workflow.ts, and run it with a sample input. Expected output: a workflow.ts file plus a run result. Verify that the run finishes and that the phases in the file match the steps described in the job.

Caveat. The README says Codex is the default runtime and Claude Code and Pi are built in, so the generation step depends on an installed and signed-in Agent CLI.

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 runnable TypeScript workflow from plain English"

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