AI Worker worker.md

Director

AI video agents framework for next-gen video interactions and workflows.

Automation platform 1,345 stars Python MIT Worker-compatible

Source#

  • Repository: video-db/Director
  • Last source update: 2026-04-02
  • Last verified: 2026-04-05

Tags#

agentagent-frameworkai-agentsframeworkllmopenai

Integration notes#

Repository is workflow-oriented; map each workflow step to explicit worker contracts for predictability.

worker.md example#

Starter worker.md contract mapped from this registry entry. Copy this file and adapt schemas, constraints, and statuses for your task.

---
id: director-repo-derived-worker
name: Director Repo-Derived Worker
version: 1.0.0
source_registry_url: https://worker.md/registry/director/
source_repository: https://github.com/video-db/Director
repository_default_branch: main
repository_language: Python
repository_license: MIT
repository_updated_at: 2026-04-02
worker_mode: agent-orchestration-worker
derivation_method: github_repository_metadata_plus_raw_readme
derivation_confidence: 0.9
derived_on: 2026-04-05
tags:
  - agent
  - agent-framework
  - ai-agents
  - framework
  - llm
  - openai
---

# Director Repo-Derived Worker

## Repo-derived summary
- Registry summary: AI video agents framework for next-gen video interactions and workflows.
- Repository description: AI video agents framework for next-gen video interactions and workflows.
- Stars (snapshot): 1,345
- Primary language: Python
- Worker mode classification: agent-orchestration-worker

## Extracted from
- https://github.com/video-db/Director
- https://github.com/video-db/Director/blob/main/README.md
- https://github.com/video-db/Director/tree/main/backend

## Evidence notes (from repository text)
- README summary paragraph: [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![Website][website-shield]][website-url] [![Discord][discord-shield]][discord-url]
- Framework to build video agents that can reason through complex video tasks like search, editing, compilation, generation etc & instantly stream the results.
- Think of Director as ChatGPT for videos. It is a framework to build video agents that can reason through complex video tasks like search, editing, compilation, generation etc & instantly stream the results.
- ### πŸ€– 20+ pre-built video agents that you can customize to
- Experience a sleek, chat-based interface with built-in video playback and intuitive controls. It’s like having a personal assistant for your media.
- Easily add new agents and tools to your workflow. Whether you want to run it locally or on your cloud, The Director adapts to your needs.

## Installation hints found in README
- No explicit package installation command detected in README text.

## worker.md contract (derived starter)
Purpose: Execute one orchestrated agent task as a bounded worker step.

### Input schema
```json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "run_id",
    "task",
    "context"
  ],
  "properties": {
    "run_id": {
      "type": "string"
    },
    "task": {
      "type": "string"
    },
    "context": {
      "type": "object"
    }
  }
}
```

### Output schema
```json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "run_id",
    "status",
    "result"
  ],
  "properties": {
    "run_id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "ok",
        "retryable_error",
        "invalid_request",
        "invalid_output"
      ]
    },
    "result": {
      "type": "object"
    }
  }
}
```

### Constraints
- timeout_seconds: 30
- max_attempts: 2
- idempotency_key: run_id
- status_enum: [ok, retryable_error, invalid_request, invalid_output]
- notes: adapt to concrete APIs/classes documented in this repository before production use

## How this should be used
1. Treat this file as a repo-derived starter profile, not a claim of an official repository API contract.
2. Replace schemas with exact interfaces from code/docs you adopt.
3. Keep execution bounded and auditable using worker protocol constraints.

How to use#

  • Save this as a worker spec file (for example: director-my-task.worker.md).
  • Replace the input/output schemas and purpose with your real bounded task.
  • Enforce schema validation + timeout + retry policy in your runtime before production use.

Citation#

Reference URL: https://worker.md/registry/director/

Source URL: https://github.com/video-db/Director