Skip to content
@deepducks

deepducks

deepducks

Orchestrating ducks agents magically.

deepducks builds and maintains open-source primitives for deterministic, orchestrated multi-agent systems. Three lines of work:

  1. duckflux, a declarative YAML workflow DSL and runtime.
  2. A Scion fork with duckflux baked in as a first-class Hub entity (upstreamed via PR).
  3. OpenThreads, a unified ingress/egress layer for messaging platforms with native human-in-the-loop support.

🦆 duckflux

A minimal, deterministic, runtime-agnostic workflow DSL. You describe what should happen and in what order; the runtime handles execution. No SDK, no boilerplate, no vendor lock-in.

Five participant types (exec, http, mcp, workflow, emit), a CEL expression layer for flow control, and a self-contained runner (quack) that ships as a standalone Bun-compiled binary.

Official links

Install quack

# macOS / Linux via Homebrew
brew install deepducks/tap/quack

# Debian / Ubuntu
curl -fsSL https://deepducks.github.io/apt-repo/install.sh | bash

# npm / npx
npx duckflux run workflow.duck.yaml

🛰️ Scion × duckflux

Scion runs long-lived interactive agents beautifully. What it lacked was a complementary primitive for deterministic, terminating flows. Our fork adds exactly that, and we proposed it upstream.

Fork: github.com/deepducks/scion Upstream PR: GoogleCloudPlatform/scion#176

What the PR introduces

WorkflowRun, a new Hub entity peer to Agent. YAML in, JSON out, container-executed under the same sandbox, auth, and telemetry as agents, but with a different lifecycle: ephemeral, auto-reaped, no PTY, no attach.

Highlights:

  • New CLI surface: scion workflow run | validate | list | get | logs | cancel. Works local (subprocess to quack) and --via-hub (ephemeral container from the default agent image).
  • Integrates with scion schedule: cron-fired workflow runs.
  • Agents can invoke workflows from inside their own container via their JWT, opt-in per grove.
  • Zero re-implementation: duckflux owns execution semantics, Scion owns orchestration, state, sandbox, and auth. Subprocess stdio is the whole contract.
  • Additive: no breaking changes to existing agent, schedule, or grove surfaces. One forward-only schema migration.
  • Tested: 39 integration scenarios across 5 bash suites, ~110 new unit tests.

Theoretical grounding

The PR is backed by a position paper: LLMs Are Unreliable Routers. Orchestration Is Not an Inference Problem (Gondim, 2026). TL;DR: delegating orchestration decisions to LLM inference is fundamentally unreliable for production systems. Deterministic state machines, DAGs, and typed contracts exist precisely for this class of problem. Scion already had the Hub, the broker, the auth model. duckflux completes the picture by landing deterministic workflows as a peer primitive.


🧵 OpenThreads

A web server that abstracts messaging platforms (Slack, Discord, Telegram, WhatsApp, and others) into a unified ingress/egress interface with native human-in-the-loop support. One adapter surface for bots, agents, and tooling to reach humans across channels without re-learning each vendor SDK.

Repo: github.com/deepducks/OpenThreads

The repo also doubles as a reference for an agentic development workflow (three Claude Code GitHub Actions that autonomously implement issues from a meta-issue plan, with a loop that closes via workflow_dispatch). Generic enough to reuse on other projects.


License

All projects MIT unless noted otherwise in the repo.

Popular repositories Loading

  1. spec spec Public

    🦆📜 A minimal, deterministic, runtime-agnostic DSL for orchestrating workflows through declarative YAML specs.

    Shell 11

  2. runtime-js runtime-js Public

    duckflux runner CLI and library written in JavaScript.

    TypeScript 2

  3. autoducks autoducks Public template

    Template repo for agentic development workflows powered by Claude Code. Drop-in meta orchestrator + task worker + fix agent.

    Shell 2

  4. apt-repo apt-repo Public

    Shell

  5. docs docs Public

    Duckflux docs

    MDX

  6. site site Public

    duckflux website

    Astro

Repositories

Showing 10 of 10 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…