Inspiration
Agentic cinema can create shots faster, but speed creates a new production risk: many automated workers can fail together just before package lock. We built CUTLINE to answer the last-mile question a production team actually faces: will the final shots ship, and can we prove a safe recovery?
CUTLINE is deliberately not another AI movie generator. It is a human-governed release-assurance agent that turns operational evidence into one bounded decision and preserves the complete audit trail.
What it does
The controlled Eclipse Protocol / SQ-42 demonstration begins with 18 final VFX shots, 4,800 frames of backlog, and 24 minutes until package lock.
- CUTLINE retrieves current Prometheus metrics and Loki logs through the official Grafana MCP runtime.
- Gemini 2.5 Flash synthesizes a bounded evidence packet with observations, a leading hypothesis, the strongest alternative, a discriminator, and a falsifier.
- Deterministic code—not the model—owns deadline arithmetic and proposes one narrow, reversible recovery.
- A named human operator must approve or reject the proposal.
- Only an approved, allowlisted plan can cross the authenticated Google Cloud action boundary.
- CUTLINE asks Grafana for later evidence and marks the run VERIFIED only when all six recovery gates pass.
In the demonstrated run, throughput rises from 120 to 320 frames per minute, the CUDA OOM state clears, and the projection moves from 16 minutes late to 9 minutes early. These are controlled-scenario results, not claims about an external studio pipeline.
How we built it
- Google ADK + Gemini 2.5 Flash on Vertex AI for evidence-grounded synthesis.
- FastAPI + Pydantic for the workflow state machine, deterministic impact math, approvals, receipts, and verification.
- Official grafana/mcp-grafana on private Cloud Run for Prometheus and Loki evidence through discovered MCP schemas.
- Google Cloud Run for the only authenticated, allowlisted mutation path.
- Firestore for durable atomic idempotency, so retries cannot apply a recovery twice.
- Secret Manager and Google service identity so provider credentials never reach the browser.
- An accessible, sequence-first web command center that exposes evidence, model boundaries, the human decision, the action receipt, and every verification gate.
Challenges we ran into
The hardest problem was not generating an answer—it was making every boundary honest and fail-closed. We had to distinguish the controlled workload from real provider evidence, normalize official MCP payload shapes and timestamps, bind every item to one run, prevent duplicate actions, and refuse to declare success from execution alone.
Live integration testing also exposed practical issues in datasource selection, PromQL label de-duplication, Loki nanosecond timestamps, and eventual ingestion delay. We fixed each issue against the official MCP contract and retained the evidence.
Accomplishments that we're proud of
- A real hosted flow from Grafana evidence to Gemini synthesis, human approval, authenticated Cloud Run action, and fresh verification.
- Visible uncertainty: CUTLINE shows the alternative explanation and falsifier instead of presenting model prose as certainty.
- 51 automated tests with 100% statement and branch coverage across the deterministic application scope.
- 44/44 audited user-visible stories verified with zero open critical or high issues.
- Clean-room judge access with no private GCP or Grafana credentials required.
What we learned
The strongest agentic pattern is not maximum autonomy. It is visible evidence, narrow model authority, human control, bounded mutation, and proof after action. An action receipt is not a successful outcome; fresh evidence is.
What's next for CUTLINE
Next we would add real studio pipeline connectors, multi-sequence release portfolios, role-based approvals, historical risk calibration, and richer incident comparison—without weakening the evidence, identity, or human-authority boundaries.
The SQ-42 workload is controlled and deterministic. The hosted Grafana MCP evidence path, Gemini synthesis, and Google Cloud action boundary are real and disclosed. CUTLINE does not generate a finished movie.

Log in or sign up for Devpost to join the conversation.