{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "deerwork-ai-deer-workflow--generate-typescript-workflow-from-description",
 "repo": "deerwork-ai/deer-workflow",
 "repo_url": "https://github.com/deerwork-ai/deer-workflow",
 "repo_slug": "deerwork-ai-deer-workflow",
 "title": "Generate a runnable TypeScript workflow from plain English",
 "page_title": "How to generate a runnable TypeScript workflow from plain English with Deer Workflow",
 "summary": "Describe a multi-step job in one sentence and get a runnable TypeScript workflow module.",
 "who": "A 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.",
 "problem": "Multi-step agent jobs are hard to repeat and review when the control flow lives inside a long chat with an AI agent.",
 "outcome": "A workflow.ts file that holds the execution path in readable TypeScript, which you can run, inspect, and edit.",
 "steps": [
  "Install the released CLI with `bun install --global @deerwork-ai/deer-workflow`.",
  "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`. (inferred, check the README)",
  "Run it with its example input: `deer-workflow run ./workflow.ts --input '{\"topics\":[\"Agent Skills\",\"Dynamic Workflows\"]}'`. (inferred, check the README)",
  "Open workflow.ts and review the phases, inputs, and failure handling before you change anything."
 ],
 "agent_prompt": "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.",
 "agents": [
  "codex",
  "claude-code"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/deerwork-ai-deer-workflow/generate-typescript-workflow-from-description/",
 "md": "https://dedupedai.com/use-cases/deerwork-ai-deer-workflow/generate-typescript-workflow-from-description/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/deerwork-ai-deer-workflow--generate-typescript-workflow-from-description.json",
 "api_version": "v1"
}
