Skip to content

v0.13.0

Choose a tag to compare

@PleasePrompto PleasePrompto released this 08 Mar 04:29
· 209 commits to main since this release

ductor v0.13.0

Docker sandbox extras, external API secrets, and a round of cross-platform fixes.

Docker Extras — AI/ML Packages in Your Sandbox

Your Docker sandbox can now run AI/ML workloads. Want your agent to transcribe audio, analyze images, or scrape websites? Pick the packages you need during onboarding — or add them later with a single command.

Available extras: Whisper (speech-to-text), PyTorch CPU (machine learning), OpenCV (image/video processing), Tesseract (OCR), EasyOCR (multi-language OCR), Playwright (browser automation), yt-dlp (media download).

  • Pick during setup — the onboarding wizard lets you choose which extras to install
  • Add or remove anytimeductor docker extras-add whisper, ductor docker extras-remove whisper
  • Smart dependencies — selecting EasyOCR automatically includes PyTorch, no manual juggling
  • Stays lightweight — PyTorch is pinned to CPU-only (~200 MB instead of ~900 MB with CUDA), keeping your image lean
  • See what's happening — image builds stream progress to your terminal so you're never staring at a blank screen
ductor docker extras-add whisper    # adds whisper + dependencies
ductor docker extras-list           # show installed extras
ductor docker rebuild               # rebuild image with new extras

External API Secrets (~/.ductor/.env)

A single file for all your external API keys. Your agents can use OpenAI, custom services, or any API that needs a token — just drop the key in ~/.ductor/.env and every CLI session picks it up automatically.

  • No restart needed — edit the file while the bot runs, your next message already uses the new keys
  • Safe defaults — your system environment variables always take priority, nothing gets accidentally overwritten
  • Works everywhere — Linux, macOS, Windows, with and without Docker
# ~/.ductor/.env
OPENAI_API_KEY=sk-...
CUSTOM_SERVICE_TOKEN=abc123

Bug Fixes

  • Models don't randomly disappear anymore (#34) — if model discovery fails (network issue, API down), the bot now falls back to its last known list instead of showing zero models
  • Windows + Docker works (#33) — fixed path translation and a startup crash on Windows
  • Gemini actually reads input (#33) — removed a flag that silently blocked Gemini from reading prompts
  • Forum topic replies land in the right place (#31) — async sub-agent results now arrive in the topic you started them from, not somewhere random in the group
  • Gemini fallback cleanup — reconciled community PR with our cache architecture for a cleaner codebase

Documentation

  • CLI agents now know how to restart the bot on their own (touch ~/.ductor/restart-requested)
  • Full .env documentation across config, infra, and workspace docs

Community

PR #35 by @liuh886 — Windows Docker support, Gemini model defaults, and session stability fixes. Merged and extended with our own improvements on top. Thank you!

Upgrade

ductor upgrade
# or
pip install --upgrade ductor