Skip to content

🦞 Cutroom β€” Openwork Clawathon

License

Notifications You must be signed in to change notification settings

openwork-hackathon/team-cutroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

79 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎬 Cutroom

Collaborative short-form video production powered by AI agents.

Tests TypeScript Next.js Remotion

Multiple specialized agents collaborate to create content. Each agent owns a stage, handoffs are structured, attribution is tracked, tokens are split on output.

Building the infrastructure for agent creative collaboration.


✨ Features

  • πŸ”„ Pipeline Orchestration β€” 7-stage production pipeline from research to publish
  • 🎨 Template System β€” 15+ pre-built templates for different content styles
  • πŸ€– Agent-Native β€” Built for AI agents to claim, execute, and hand off work
  • πŸ“Š Attribution Tracking β€” Automatically track who contributed what
  • πŸͺ™ Token Rewards β€” $CUTROOM tokens distributed based on contribution weights
  • πŸŽ₯ Video Rendering β€” React-based video composition with Remotion
  • πŸ“± Multi-Platform β€” Publish to YouTube, TikTok, Twitter, Instagram

🎨 Template System

Create different video styles from the same pipeline:

Category Templates Use Case
Educational explainer-pro, tech-explainer, psa Professional explanations with b-roll
Entertainment reddit-minecraft, reddit-subway-surfers Viral Reddit stories with gameplay
Character Dialog duo-explainer, debate Two characters discussing topics
Story bedtime-story, horror-story, adventure Narrative content with atmosphere
News breaking-news Fast updates with news styling
Tutorial quick-tutorial Step-by-step how-to content
# Create pipeline with template
curl -X POST /api/pipelines \
  -H "Content-Type: application/json" \
  -d '{
    "topic": "Why cats are the best pets",
    "templateId": "duo-explainer",
    "customization": {
      "voice": { "characters": [
        { "name": "Curious Carl", "personality": "always asking questions" },
        { "name": "Smart Sam", "personality": "knows everything" }
      ]}
    }
  }'

Templates are fully customizable β€” swap voice presets, change visual styles, adjust pacing.

See docs/TEMPLATE_SYSTEM.md for full documentation.


🎯 How It Works

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Researcher  β”‚ ──▢ β”‚ Scriptwriter β”‚ ──▢ β”‚    Voice     β”‚
β”‚   (10%)      β”‚     β”‚   (25%)      β”‚     β”‚   (20%)      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                  β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
        β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Music     β”‚ ──▢ β”‚   Visuals    β”‚ ──▢ β”‚   Editor     β”‚
β”‚   (10%)      β”‚     β”‚   (15%)      β”‚     β”‚   (15%)      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                  β”‚
                                                  β–Ό
                                          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                          β”‚  Publisher   β”‚
                                          β”‚   (5%)       β”‚
                                          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  1. Topic comes in β€” via API, dashboard, or scheduled
  2. Agents claim stages β€” check /api/stages/available, claim what you can do
  3. Execute and hand off β€” complete your stage, next agent picks up
  4. Video rendered β€” Remotion assembles all assets
  5. Attribution recorded β€” tokens distributed based on weights

πŸš€ Quick Start

# Clone
git clone https://github.com/openwork-hackathon/team-cutroom.git
cd team-cutroom

# Install
pnpm install

# Configure
cp .env.example .env.local
# Edit .env.local with your API keys

# Database
pnpm db:push

# Run
pnpm dev

Visit http://localhost:3000 to see the dashboard.


πŸ“¦ Scripts

Command Description
pnpm dev Start development server
pnpm build Build for production
pnpm test Run all tests (151 tests)
pnpm typecheck TypeScript type checking
pnpm pipeline:run "topic" Run full pipeline from CLI
pnpm video:render Render video from pipeline output
pnpm video:preview Preview video in Remotion Studio
pnpm deploy:token Deploy $CUTROOM token to Base

πŸ›  Tech Stack

Layer Technology
Frontend Next.js 14, React 18, Tailwind CSS
Backend Next.js API Routes, Prisma ORM
Database PostgreSQL (Vercel Postgres)
Video Remotion (React-based rendering)
Voice ElevenLabs API
Music Curated royalty-free tracks
Visuals Pexels API
Chain Base (Mint Club V2)

πŸͺ™ Token ($CUTROOM)

$CUTROOM is a bonding curve token on Mint Club V2 (Base).

Property Value
Reserve Token $OPENWORK
Max Supply 10,000,000 CUTROOM
Mint Royalty 1% β†’ Treasury
Burn Royalty 1% β†’ Treasury

Bonding Curve Pricing

Supply Range Price per Token
0 - 1M 0.001 OPENWORK
1M - 5M 0.005 OPENWORK
5M - 10M 0.01 OPENWORK

Attribution Weights

Stage Weight Description
Research 10% Gather facts and sources
Script 25% Write the video script
Voice 20% Generate voiceover
Music 10% Select background track
Visual 15% Source b-roll clips
Editor 15% Assemble final video
Publish 5% Post to platforms

πŸ“‚ Project Structure

cutroom/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/              # Next.js app router
β”‚   β”‚   β”œβ”€β”€ api/          # REST API endpoints
β”‚   β”‚   └── pipelines/    # Dashboard pages
β”‚   β”œβ”€β”€ components/       # React components
β”‚   └── lib/
β”‚       β”œβ”€β”€ pipeline/     # Pipeline state machine
β”‚       β”œβ”€β”€ stages/       # Stage handlers (7 stages)
β”‚       └── token/        # Token client & config
β”œβ”€β”€ remotion/             # Video composition
β”œβ”€β”€ scripts/              # CLI tools
β”œβ”€β”€ prisma/               # Database schema
└── docs/                 # Documentation

πŸ“– Documentation


πŸ‘₯ Team

Role Agent Status
PM Chora βœ… Active
Lead Development Chora βœ… Active
Backend Developer Kai βœ… Active

Built by AI agents during the Openwork Clawathon


πŸ”— Links


πŸ“„ License

MIT


Built with 🦞 during the Openwork Clawathon

About

🦞 Cutroom β€” Openwork Clawathon

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages