Metadata-Version: 2.5
Name: altocue
Version: 0.1.1
Summary: Edit raw footage into finished video from your coding agent.
Project-URL: Homepage, https://www.stratosagency.ai/altocue
Project-URL: Repository, https://github.com/StratosHouse/altocue
Project-URL: Changelog, https://github.com/StratosHouse/altocue/blob/main/CHANGELOG.md
Project-URL: Issues, https://github.com/StratosHouse/altocue/issues
Author: Stratos House
License-Expression: MIT
License-File: LICENSE
License-File: LICENSES.md
Keywords: agent-skills,b-roll,captions,claude-code,codex,ffmpeg,video,video-editing
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Multimedia :: Video
Classifier: Topic :: Multimedia :: Video :: Non-Linear Editor
Requires-Python: >=3.11
Requires-Dist: faster-whisper<2,>=1.2.1; sys_platform != 'darwin' or platform_machine != 'arm64'
Requires-Dist: numpy>=2.0
Requires-Dist: opencv-python-headless>=4.10
Requires-Dist: parakeet-mlx<0.6,>=0.5.3; sys_platform == 'darwin' and platform_machine == 'arm64'
Requires-Dist: pillow>=11
Provides-Extra: faster-whisper
Requires-Dist: faster-whisper<2,>=1.2.1; extra == 'faster-whisper'
Provides-Extra: mlx-whisper
Requires-Dist: mlx-whisper<0.5,>=0.4.3; (sys_platform == 'darwin' and platform_machine == 'arm64') and extra == 'mlx-whisper'
Description-Content-Type: text/markdown

<div align="center">
  <a href="https://github.com/StratosHouse/altocue"><img src="https://raw.githubusercontent.com/StratosHouse/altocue/main/assets/social-preview.png" alt="Altocue. Raw footage in. Finished video out." width="100%"></a>

  <h1>Altocue</h1>

  <p><strong>The AI edit suite for coding agents.</strong><br>
  It cuts, cleans, grades, captions and directs. Then a separate Editor in Chief has to sign off.</p>

  <p>
    <a href="#install"><img src="https://img.shields.io/badge/Claude_Code-Plugin-b5f4d9?style=flat-square&labelColor=080d13" alt="Claude Code plugin"></a>
    <a href="#install"><img src="https://img.shields.io/badge/Codex-Skills-a5e7d1?style=flat-square&labelColor=080d13" alt="Codex skills"></a>
    <a href="https://github.com/StratosHouse/altocue/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-MIT-f3f7fa?style=flat-square&labelColor=080d13" alt="MIT licence"></a>
    <a href="https://github.com/StratosHouse/altocue/blob/main/LICENSES.md"><img src="https://img.shields.io/badge/Team_licence_fees-None-f3f7fa?style=flat-square&labelColor=080d13" alt="No team licence fees"></a>
    <a href="https://www.stratosagency.ai/altocue"><img src="https://img.shields.io/badge/Website-Altocue-b5f4d9?style=flat-square&labelColor=080d13" alt="Altocue website"></a>
    <a href="https://www.stratosagency.ai"><img src="https://img.shields.io/badge/by-Stratos_House-f3f7fa?style=flat-square&labelColor=080d13" alt="By Stratos House"></a>
  </p>
</div>

<div align="center"><img src="https://raw.githubusercontent.com/StratosHouse/altocue/main/assets/demo.gif" alt="A raw talking-head take beside the finished Altocue edit" width="100%"></div>

<p align="center"><sub>The presenter is AI-generated with Higgsfield. The mistakes are planted. The edit is real.</sub></p>

## What it does

You hand your coding agent a messy recording. Altocue gives it the eyes and ears to edit properly.

- **It reads every word.** Word-timed transcripts with fillers kept, so cuts land on real speech.
- **It writes down every decision.** Each removal has a reason in a file you can read and overrule.
- **It finishes the job.** Clean sound, correct colour, framing, B-roll, captions and motion graphics.
- **It does not mark its own homework.** A separate reviewer scores the final, on another vendor if you opt in, and code decides SHIP or FIX.

## Install

You need [uv](https://docs.astral.sh/uv/) and ffmpeg. Stock Homebrew or apt ffmpeg is fine. On Linux, add tesseract so QA can read text in the picture. Motion graphics need Node 22 or later. 16 GB of memory is comfortable, and it needs about 3.5 GB of disk: 2.5 GB for the speech model, the rest for the tool and its renderer.

```bash
uv tool install git+https://github.com/StratosHouse/altocue
altocue setup
```

`setup` asks before it installs anything: the motion renderer and a better noise remover. Both are optional. `altocue setup --yes` says yes to both.

**In Claude Code:**

```text
/plugin marketplace add StratosHouse/altocue
/plugin install altocue@altocue
```

**In Codex:** clone this repo and ask Codex to follow [INSTALL.md](https://github.com/StratosHouse/altocue/blob/main/INSTALL.md). It reads the skills in `.agents/skills`.

**Any other agent:** point it at [INSTALL.md](https://github.com/StratosHouse/altocue/blob/main/INSTALL.md) and `skills/altocue/SKILL.md`.

## Use it

Ask your agent:

```text
Edit take.mov into a 45 second reel for first-time founders.
```

Or drive it yourself:

<div align="center"><img src="https://raw.githubusercontent.com/StratosHouse/altocue/main/assets/terminal.gif" alt="A terminal running every Altocue stage, ending in SHIP" width="100%"></div>

```bash
altocue new my-video --input take.mov --aspect 9:16 --brief "A reel for first-time founders"
cd my-video
altocue run
```

`altocue run` stops before review. Read `work/cut-review.md`, rule on anything it could not decide with `altocue cut --apply-review decisions.json`, then run `altocue run` again. When QA passes, run `altocue review`.

## The tools

<table>
  <tr>
    <td width="33%"><img src="https://raw.githubusercontent.com/StratosHouse/altocue/main/assets/logos/cut-tile.svg" width="56" alt=""><br><strong>Cut</strong><br>Silence, fillers, stutters and retakes go. Edges snap to real speech. No cut lands inside a word.</td>
    <td width="33%"><img src="https://raw.githubusercontent.com/StratosHouse/altocue/main/assets/logos/clean-tile.svg" width="56" alt=""><br><strong>Clean</strong><br>Noise and hum out, voices levelled, mastered to a measured loudness and true peak.</td>
    <td width="33%"><img src="https://raw.githubusercontent.com/StratosHouse/altocue/main/assets/logos/grade-tile.svg" width="56" alt=""><br><strong>Grade</strong><br>iPhone HDR to SDR. White balance and exposure anchored on the face. Skin comes first.</td>
  </tr>
  <tr>
    <td><img src="https://raw.githubusercontent.com/StratosHouse/altocue/main/assets/logos/frame-tile.svg" width="56" alt=""><br><strong>Frame</strong><br>Any aspect ratio. Face-aware crops per shot, with punch-ins that hide jump cuts.</td>
    <td><img src="https://raw.githubusercontent.com/StratosHouse/altocue/main/assets/logos/caption-tile.svg" width="56" alt=""><br><strong>Caption</strong><br>Word-by-word highlight. Never crosses a cut. Only shows words really said.</td>
    <td><img src="https://raw.githubusercontent.com/StratosHouse/altocue/main/assets/logos/motion-tile.svg" width="56" alt=""><br><strong>Motion</strong><br>Hooks, lower thirds, stats, steps and end cards, timed to speech and placed clear of faces.</td>
  </tr>
  <tr>
    <td><img src="https://raw.githubusercontent.com/StratosHouse/altocue/main/assets/logos/direct-tile.svg" width="56" alt=""><br><strong>Direct</strong><br>Story shape, beats, keyframes and shot lists, with the craft rules built in.</td>
    <td><img src="https://raw.githubusercontent.com/StratosHouse/altocue/main/assets/logos/generate-tile.svg" width="56" alt=""><br><strong>Generate</strong><br>Inserts through Higgsfield and fal.ai, behind a spend gate. Every asset keeps its provenance.</td>
    <td><img src="https://raw.githubusercontent.com/StratosHouse/altocue/main/assets/logos/broll-tile.svg" width="56" alt=""><br><strong>B-roll</strong><br>Finds the spots that want a cutaway, then fills them from your clips, free stock or generation.</td>
  </tr>
  <tr>
    <td colspan="3"><img src="https://raw.githubusercontent.com/StratosHouse/altocue/main/assets/logos/review-tile.svg" width="56" alt=""><br><strong>Review</strong><br>A separate Editor in Chief scores the final. Code decides SHIP or FIX.</td>
  </tr>
</table>

## How it works

<div align="center"><img src="https://raw.githubusercontent.com/StratosHouse/altocue/main/assets/flow.png" alt="Sources go through transcribe, cut, clean, grade, frame, B-roll, direct, generate, caption, motion, render, master, QA gates and the Editor in Chief. FIX notes loop back to the cut. Passes ship." width="100%"></div>

Every stage reads and writes plain files, so you or your agent can step in anywhere. The picture and sound edit is built with ffmpeg. Graphics render as a transparent layer on top, so changing a caption never re-encodes the edit.

## The Editor in Chief

The editor never signs off their own work.

1. **Fact gates in code.** Loudness, true peak, black and frozen frames, duration, sound at every cut, words heard against words expected, captions, safe zones, text and graphics on faces. Any failure is an automatic FIX, with no model call.
2. **A separate reviewer.** Gemini watches the actual video, or Codex reads the review pack. It gets the film, the brief, the rubric and a note of anything planned on purpose, such as an end card. It never sees the reasons for a cut. With neither turned on, a fresh agent reviews the pack and the report says it is not independent.
3. **Code decides.** The reviewer only scores. SHIP needs every gate passing, nothing under 3, a weighted score of 3.8 or more and no blocker. Notes without a valid timecode are thrown away, unless they claim a blocker, which forces another look.
4. **Two rounds, then you.** After two rounds of fixes, the open list goes to a human.

The gates caught 20 of 20 planted faults in our canary set, with no false alarms on 5 clean controls. The demo above failed its first review because a caption overlapped at a cut. The tool was fixed, the film was rendered again, and it passed. It now scores 4.16 of 5.

Every report ends with what the reviewer could not see or hear. Skipped checks are shown as skipped, never as passed.

## What it costs

Altocue is free. Hosted providers are optional, off by default, and billed by them on your own key.

| Stage | Local, free | Optional hosted |
|---|---|---|
| Transcription | Parakeet on Apple Silicon, faster-whisper elsewhere | ElevenLabs Scribe |
| Noise removal | DeepFilterNet or ffmpeg | |
| Graphics | HyperFrames or the built-in basic renderer | |
| B-roll | Your own clips | Pixabay with a free key, or Pexels if you already hold one (Pexels has paused new keys) |
| Generation | | fal.ai, Higgsfield |
| Review | A fresh agent with the review pack | Gemini, Codex |

Altocue has no telemetry. Your coding agent reads transcripts and frames, so those reach its vendor. Paid generation shows its cost and waits for a yes. Anything that uploads names where it is going first. Stock search sends only the search words.

## Honest limits

- **Auto-reframe is per shot.** A static crop cannot follow someone walking across the frame.
- **Clean-up cannot rescue bad audio.** Clipping, heavy echo and loud music stay.
- **Retake detection has a small test set.** Anything uncertain waits for a ruling.
- **Word match can read low on noisy footage.** Off-mic speech and unusual names bring it down.
- **Spelling needs you.** The transcript can mishear names. Add them under `[transcribe.fix]`.
- **A gate that could not run blocks SHIP.** On a machine with no transcriber, the verdict stays FIX. Gates that do not apply, such as rules with no rules file, show as n/a.
- **Some hosted paths are not proven live yet.** Higgsfield has run for real through its MCP server and `generate --import`. Its CLI route, fal.ai, Gemini and stock search are tested against fake servers. Report what you find.
- **Some transcribers drop fillers.** Parakeet can miss an "um". The pause still goes, but the report calls it silence.
- **It is a heavy job.** Transcribing takes about 4 GB of memory and renders use every core. Altocue runs one heavy job at a time per machine, and a second one waits its turn.

## Licence

Altocue is [MIT](https://github.com/StratosHouse/altocue/blob/main/LICENSE). Every required dependency is open source, so a team of any size can use it with no licence fee. See [LICENSES.md](https://github.com/StratosHouse/altocue/blob/main/LICENSES.md).

<div align="center"><br><a href="https://www.stratosagency.ai"><img src="https://raw.githubusercontent.com/StratosHouse/altocue/main/assets/stratos-mark.png" width="32" alt=""></a><br><sub>A Stratos House product</sub></div>
