Autonomous Direction

Seven tools that power the /direct pipeline. Extract briefs from project context, plan story beats across multiple strategies, score and revise candidates, and run automated revision loops until convergence.


extract_story_brief

Extract a structured story brief from project context. Analyzes project assets, brand guidelines, and intent to produce a brief with a quality score and warnings for missing information.

  • Name
    project
    Type
    string
    Description

    Project slug or path to extract the brief from.

Returns: Structured brief with sections (hook, narrative, CTA), quality score (0-100), and warnings for gaps.

Try asking your AI:

"Extract a story brief from the fintech-demo project"


plan_story_beats

Convert a brief and archetype into a beat plan with durations, camera moves, and continuity markers. Generates multiple strategies (typically 3) for comparison.

  • Name
    brief
    Type
    object
    Description

    Structured brief from extract_story_brief.

  • Name
    archetype
    Type
    string
    Description

    Sequence archetype to use as the narrative structure.

  • Name
    strategies
    Type
    number
    Description

    Number of strategy variants to generate (default: 3).

Returns: Beat plan per strategy with scene durations, camera intent, transition types, and continuity IDs.

Try asking your AI:

"Plan 3 story beat strategies for this brief using the crescendo archetype"


score_candidate_video

Unified 6-dimension scorecard for a candidate video. Evaluates with per-scene subscores so you can pinpoint exactly where quality drops.

The six dimensions:

  • hook - Opening impact and attention capture
  • narrative_arc - Story structure and progression
  • clarity - Message clarity and visual hierarchy
  • visual_hierarchy - Compositional quality per scene
  • motion_quality - Animation smoothness and appropriateness
  • brand_finish - Brand consistency and polish
  • Name
    manifest
    Type
    object
    Description

    Sequence manifest to score.

  • Name
    brief
    Type
    object
    Description

    Original brief to evaluate adherence against.

Returns: Overall score (0-100), per-dimension scores, per-scene subscores, and specific improvement notes.

Try asking your AI:

"Score this candidate video against the original brief"


revise_candidate_video

Apply targeted revisions to a candidate manifest. Nine bounded transforms are available: trim, swap, reorder, retime, retransition, recamera, reinsert, remove, and regrade.

  • Name
    manifest
    Type
    object
    Description

    Current sequence manifest.

  • Name
    revisions
    Type
    object[]
    Description

    Array of revision operations to apply. Each specifies a transform type and target scene(s).

Returns: Revised manifest with applied transforms and a changelog of what changed.

Try asking your AI:

"Trim scenes 3 and 5 to 2 seconds each and swap scenes 4 and 6"


compare_candidate_videos

Rank 2-3 candidate videos with trade-off analysis. Compares candidates across all six scoring dimensions and highlights where each candidate excels or falls short.

  • Name
    candidates
    Type
    object[]
    Description

    Array of 2-3 scored candidate manifests.

Returns: Ranked candidates with per-dimension comparison, trade-off analysis, and a recommended winner.

Try asking your AI:

"Compare these 3 candidate videos and recommend the best one"


auto_revise_loop

Automated score-revise-rescore loop. Scores the current candidate, applies targeted revisions, re-scores, and repeats until the score converges or a maximum iteration count is reached.

  • Name
    manifest
    Type
    object
    Description

    Starting sequence manifest.

  • Name
    brief
    Type
    object
    Description

    Original brief for scoring reference.

  • Name
    max_iterations
    Type
    number
    Description

    Maximum revision iterations (default: 5).

  • Name
    target_score
    Type
    number
    Description

    Target overall score to stop at (default: 85).

Returns: Final revised manifest, iteration log with scores at each step, and convergence status.

Try asking your AI:

"Run the auto-revise loop on this manifest until it scores above 85"


generate_brief_stub

Generate a structured brief markdown file from project context. Useful for bootstrapping a project brief that can be edited by hand before running the full direction pipeline.

  • Name
    project
    Type
    string
    Description

    Project slug or path.

  • Name
    intent
    Type
    string
    Description

    Optional high-level intent description (e.g., "product launch video", "feature tour").

Returns: Markdown brief document with sections for hook, narrative, scenes, brand, and delivery.

Try asking your AI:

"Generate a brief stub for a new product launch project"

Was this page helpful?