Built for the ClickHouse Track — Google Cloud "Agentic Cinema: The Blockbuster Hackathon"
CineVector Vault is a multimodal media data lake and vector continuity search engine. The public evaluator runs Gemini 3.7 Flash through Vertex AI and official mcp-clickhouse against managed ClickHouse Cloud 26.2.1.558. A dedicated server-enforced read-only identity protects the live evidence database. It addresses a key challenge in AI filmmaking: detecting character wardrobe, facial, and lighting drift across video takes.
-
⚡ Columnar Vector Continuity Search:
- Executes
cosineDistancevector queries over 768-dim video frame embeddings using ClickHouse's vector distance functions. - Evaluates character wardrobe and lighting consistency between AI-generated shots.
- Executes
-
🗄️ MergeTree Columnar Schemas:
video_frames: Cataloged reference takes, timestamps, and embeddings.script_dialogues: Semantic full-text search across dialogue transcripts.
-
🔌 Official
mcp-clickhouseIntegration:- Direct runtime MCP integration using the official Python MCP SDK and
mcp-clickhouseserver package. - Leverages official MCP tools:
run_query,list_databases,list_tables.
- Direct runtime MCP integration using the official Python MCP SDK and
-
🤖 Specialized Gemini 3.7 Agent Crew:
- ContinuitySentinel Agent: Extracts visual attributes via Gemini 3.7 Flash and verifies vector match consistency.
- VideoIndexer Agent: Indexes video rush takes into ClickHouse tables.
- Analytics Agent: Delivers studio KPI reports and SQL performance metrics.
- Port 8123: Standard unencrypted HTTP protocol port.
- Port 8443: Standard HTTPS/TLS secure port (default for ClickHouse secure connections).
- The application uses a managed stdio session via the official Python
mcpSDK to launch the installedmcp-clickhouseserver process. - Environment variables (
CLICKHOUSE_HOST,CLICKHOUSE_PORT,CLICKHOUSE_USER,CLICKHOUSE_PASSWORD,CLICKHOUSE_SECURE) are passed directly into the stdio session environment.
# 1. Clone repository & navigate to backend
cd backend
# 2. Install dependencies (includes mcp and mcp-clickhouse)
pip install -r requirements.txt
# 3. Configure environment
cp ../.env.example .env
# Edit .env to set RUNTIME_MODE=demo (local fixture) or RUNTIME_MODE=live (Live ClickHouse cluster + Gemini credentials)
# 4. Start backend server
python run_backend.py- Interactive Studio Web UI available at:
http://localhost:8001/ - OpenAPI Swagger docs available at:
http://localhost:8001/docs
cd backend
python -m pytest -qLicensed under the MIT License.
Live judge demo: https://cinevector-vault.vercel.app/
Public source: https://github.com/AtchayamG/cinevector-vault
The stable Vercel judge URL proxies Cloud Run revision cinevector-vault-live-00003-w8l. Public health reports runtime_mode: live; a public SQL request through official mcp-clickhouse returned ClickHouse Cloud version 26.2.1.558 and three stored reference rows. See docs/evidence/PUBLIC_RUNTIME_VERIFICATION_2026-08-30.md.
Judging availability: ClickHouse Support case 00052860 confirmed the organization trial is extended through October 10, 2026, covering the complete judging window through October 8.
- Import your project into Vercel.
- In the project settings, set the Root Directory to
backend. - Vercel will automatically use
backend/vercel.jsonand deployapp.main:appvia@vercel/python.