deerwork-ai/deer-workflow
소개
오케스트레이션은 TypeScript로 처리하고 의미 작업은 교체 가능한 Agent 런타임에 위임하는 오픈 소스 그래프 엔지니어링 런타임입니다.
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +4
- in 1 month
- +10
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalEnglish | 简体中文
deer-workflow
An open-source Dynamic Workflow runtime for building observable, reusable Agent graphs.
deer-workflow is a pilot project for DeerFlow 3.0, also known as DeerWork.
Index
Why Deer Workflow
Deer Workflow is a code-first implementation of Graph Engineering: TypeScript defines the valid execution paths, while Coding Agents perform the semantic work inside each node.
- Code is the plan. Control flow, phases, inputs, and failure handling live in reviewable TypeScript rather than an opaque Agent conversation.
- Agents are replaceable. Codex is the default runtime; Claude Code and Pi are built in; and the public Agent interface remains vendor-neutral.
- Execution is observable. Interactive runs provide a phase-aware TUI; automation can consume a stable JSONL event stream.
How to use
Quick Start
Install Bun and sign in to Codex CLI, then install the released CLI:
bun install --global @deerwork-ai/deer-workflow
Describe the orchestration you want. Deer Workflow asks Codex to apply the
bundled workflow-creator Skill and writes a
runnable TypeScript module:
deer-workflow create \
"Create a Workflow that accepts a topics string array, researches each topic in parallel, and synthesizes a report" \
> workflow.ts
Use --agent claude or --agent pi to generate with another installed
Harness. Codex remains the default.
Run the generated Workflow with its example input:
deer-workflow run ./workflow.ts \
--input '{"topics":["Agent Skills","Dynamic Workflows"]}'
Interactive terminals show phases and Markdown logs in a live TUI. For
servers, CI, and process pipelines, add --print or -p to stream one JSON
event per stdout line.
Want to understand or edit the generated module? Continue with the Getting Started guide.
Examples
- Deep Research discovers research angles, investigates them in parallel, verifies claims, and produces an interactive HTML report.
- Blog Writer plans an article, drafts its sections through a pipeline, reviews them, and returns structured output.
These examples live in the repository. Clone or download it before running their documented commands.
Documentation
- Getting Started — learn the execution model and build a Workflow step by step.
- API Reference — inspect exact functions, types, events, and runtime behavior.
- Workflow Creator Skill — see the instructions used to generate Workflow modules.
- 简体中文文档
How to develop
Set up
Clone the repository and install local dependencies and Git hooks:
git clone https://github.com/deerwork-ai/deer-workflow.git
cd deer-workflow
bun install
Run the CLI directly from source:
bun run dev -- --help
Validate changes
Run the complete quality gate before submitting changes:
bun run check
Contribute
Codex CLI is the default Agent runtime, not an architectural dependency.
ClaudeAgent and PiAgent ship as built-in Harnesses; integrations for other
Coding Agents are welcome.
See the Getting Started guide for the full command reference.
License
This project is licensed under the MIT License.
관련 프로젝트 살펴보기
불러오는 중…