Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Madness of Multiple Gemini CLIs Developing ...

The Madness of Multiple Gemini CLIs Developing Simultaneously with Jujutsu

Discover how Jujutsu, a next-generation VCS born from Google's experience, enables true parallel AI development. Learn how multiple Gemini CLI agents can work simultaneously without conflicts, achieving 10x productivity gains.

This talk explores:
• Why traditional Git workflows bottleneck AI agents
• How Jujutsu's first-class conflict support changes everything
• Real-world examples of parallel AI development
• Setting up multi-agent orchestration with Gemini CLI

Presented at Gemini CLI Meetup Japan #1, Google Tokyo, July 22, 2025.

Avatar for Gunther Brunner

Gunther Brunner

July 22, 2025
Tweet

More Decks by Gunther Brunner

Other Decks in Technology

Transcript

  1. About Me Developer Productivity & Performance Joined CyberAgent in 2012

    Creator of OSS OpenSTF AI Code Agents Festival Organizer Follow me on X Specialist 13k+ stars on GitHub 20,000+ viewers @gunta85 Jujutsu Next-Gen VCS
  2. The Problem Current Limitations Working sequentially with one Gemini CLI

    One agent at a time Fear of file conflicts Merge conflicts block progress Parallel development is just a dream Sequential bottlenecks Ideal World Multiple Geminis developing simultaneously True parallel development Conflict-free collaboration Seamless merging 10x development speed Exponential productivity What if AI agents could work like human teams?
  3. The Missing Piece: Google’s Story 86TB Repository Size 45K Commits/Day

    800K Peak QPS How Google solved version control at massive scale 2006 2014 2020 2025
  4. Jujutsu: From Google's Learnings Next-generation VCS born from Google's experience

    Martin von Zweigbergk Creator of Jujutsu Git rebase co-author (2008) Google Fig VCS architect 20+ years VCS experience Google sponsors full-time development Why Jujutsu Matters First-class conflicts - commit with conflicts Complete undo - any operation reversible True workspaces - parallel development No staging area - AI-friendly
  5. Scott Chacon @chacon GitHub Co-founder "If you like CLIs, Jujutsu

    is really interesting, and Git backended."
  6. Mitchell Hashimoto @mitchellh HashiCorp Founder "Almost two months since I

    tweeted this and I've used jujutsu exclusively the entire time. I want to write something longer form but the tweet form: jj is fantastic and I can't see myself going back, only one exception is I drop down to `git` for bisect still. That's it." Oct 15, 2024
  7. The Game Changer: Conflict Sharing Traditional Git Model Conflicts are

    blockers Work stops until resolved Must resolve before commit Cannot save conflicted state Each worktree is isolated No shared understanding Jujutsu Revolution Conflicts are data Stored as first-class objects Commit with conflicts Continue working immediately Workspaces share state All agents see the same conflicts Multiple AI agents can work on the SAME conflicted commit simultaneously
  8. Parallel Development Sample 3 Gemini CLIs working simultaneously A Backend

    backend-workspace REST API development Database integration B Frontend frontend-workspace React components UI/UX implementation C Testing test-workspace Unit tests Integration tests # Create three workspaces jj workspace add backend jj workspace add frontend jj workspace add test # Launch Gemini CLI in each cd backend && gemini -p "Build REST API" & cd ../frontend && gemini -p "Create React UI" & cd ../test && gemini -p "Write tests" &
  9. Conflict Resolution in Action The Conflict Scenario # Three AI

    agents modified server.js differently: Team Auth app.use(auth) Team Database app.use(database) Team Logging app.use(logger) Git: Sequential Resolution 1 Agent A hits conflict → BLOCKED 2 Agent B waits for A → BLOCKED Total: 3x resolution time Jujutsu: Parallel Resolution 1 All agents see the conflict 2 Each works on their part Total: 1x resolution time # Each agent in their workspace can: jj edit @ # Work on the SAME conflicted commit!
  10. Real-World Example: Feature Development Git Workflow # Create feature branch

    git checkout -b feature-payment # Work on backend git add backend/* git commit -m "Add payment API" # Switch context git stash git checkout -b feature-payment-ui # Merge conflicts! git merge feature-payment # CONFLICT (content): Merge conflict Jujutsu Workflow # Create workspace for backend jj workspace add backend # Create workspace for frontend jj workspace add frontend # Work simultaneously cd backend && jj new cd ../frontend && jj new # Merge anytime jj new @backend @frontend # Conflicts stored, work continues!
  11. The Result When parallel development meets coordination Backend + Frontend

    + Tests = Complete! Full Application in 5 Minutes
  12. Gemini CLI + Jujutsu: Perfect Match AI-Friendly Features No staging

    confusion AI never forgets git add Automatic snapshots All changes automatically saved Conflict-resilient Continue working with conflicts Productivity Gains Setup Time -90% Conflict Resolution -95% Overall Speed +1000%
  13. Advanced: Multi-Agent Orchestration Agent Network Architecture Coordinator Agent Task distribution

    Backend Agents (x3) API development Frontend Agents (x3) UI development Test Agents (x2) Quality assurance Sample Orchestration # Coordinator creates tasks jj workspace add coordinator jj new -m "Project structure" # Spawn specialized agents for i in {1..3}; do jj workspace add backend-$i gemini -p "Build service $i" & done # Auto-merge all work jj new @backend-* @frontend-*
  14. Real-time collaboration with minimal conflicts The Future at Scale 100+

    AI Agents Microservices One AI per service Specialized expertise Polyglot Language experts Python, Go, Rust, JS Specialized Roles Security, Perf, UX Domain experts Imagine 100 Gemini CLIs working in harmony
  15. Get Started Today # Install Jujutsu brew install jj #

    Initialize repository jj init --git # Create workspaces jj workspace add feature-a jj workspace add feature-b # Launch Gemini CLI gemini -p "Build amazing features" Documentation Official Jujutsu docs github.com/jj-vcs/jj Tutorial Interactive learning jj-vcs.github.io
  16. Thank You Günther Brunner CyberAgent, Inc. @gunta85 Let's Build the

    Future Together Jujutsu Evangelist • AI-Driven Development • Gemini CLI Meetup Japan