repobird-cli

module
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2025 License: AGPL-3.0

README ΒΆ

RepoBird CLI

cli-logo-loading

Go Version CI Status Release

One-Shot Issue to PR with Complete Git Automation

RepoBird CLI is the command-line interface for RepoBird.ai - one-shot coding agents that handle everything from issue to PR. No chat, no iterations, no manual Git operations. Write your issue once, get a perfect PR back. Clear entire backlogs with bulk parallel runs.

🎯 What is RepoBird?

RepoBird provides one-shot coding agents with complete Git automation. Unlike chat-based AI tools that require back-and-forth iterations and manual Git operations, RepoBird is simple: issue in, PR out.

Write your issue description once, and our autonomous agents handle everything - research, implementation, testing, commits, and PR creation. No chat interface, no copy-pasting code, no Git commands. The CLI enables massive scale with bulk parallel runs - clear your entire backlog in one command.

Key Features
  • πŸš€ One-Shot Execution: No chat, no iterations - write once, ship automatically
  • πŸ”§ Complete Git Automation: Never touch Git - perfect commits, branches, and PRs every time
  • ⚑ Bulk Parallel Runs: Clear 50+ issues simultaneously with one command
  • πŸ€– Autonomous Agents: Full cycle from research to PR without human intervention
  • πŸ“Š Real-Time Monitoring: Track progress of all parallel runs in the TUI dashboard
  • πŸ”’ Isolated VM Execution: Each agent runs in its own secure Debian microVM with full development tools
  • 🌐 Complete Dev Environment: Multi-language support, package managers, databases - everything needed to build real software

🎯 Why RepoBird?

The Problem with Other AI Tools
  • Copilot/Cursor: Requires constant interaction, you still handle all Git operations manually
  • ChatGPT/Claude: Copy-paste code snippets, manage Git yourself, lose context between sessions
  • Other AI Agents: Chat interfaces, multiple iterations, manual PR creation
The RepoBird Difference

One-Shot Simplicity: Write your issue once, get a PR back. No chat, no iterations, no manual steps.

Complete Git Automation: Our agents handle everything - branching, commits with proper messages, PR creation with descriptions. You never touch Git.

Massive Scale: Submit 50+ tasks in parallel. While you're in a meeting, RepoBird clears your entire backlog.

Perfect Every Time: Atomic commits, proper commit messages, clean Git history. Impossible to mess up because it's not AI making Git decisions - it's bulletproof predetermined workflows.

πŸ“¦ Installation

Quick Install (Linux/macOS)
curl -sSL https://raw.githubusercontent.com/RepoBird/repobird-cli/main/scripts/install.sh | bash
Direct Download
macOS
# Apple Silicon
curl -L https://github.com/RepoBird/repobird-cli/releases/latest/download/repobird-cli_darwin_arm64.tar.gz | tar xz && \
sudo mv repobird /usr/local/bin/

# Intel
curl -L https://github.com/RepoBird/repobird-cli/releases/latest/download/repobird-cli_darwin_amd64.tar.gz | tar xz && \
sudo mv repobird /usr/local/bin/
Linux
curl -L https://github.com/RepoBird/repobird-cli/releases/latest/download/repobird-cli_linux_amd64.tar.gz | tar xz && \
sudo mv repobird /usr/local/bin/
Windows

Download the latest ZIP from the releases page and extract repobird.exe.

Build from Source
# Requires Go 1.20+
git clone https://github.com/RepoBird/repobird-cli.git
cd repobird-cli
make build
sudo cp build/repobird /usr/local/bin/

πŸš€ Quick Start

1. Get Your API Key

Sign up for a free account at RepoBird.ai and get your API key from Dashboard β†’ API Keys.

2. Authenticate
# One-time setup
repobird login
# Enter your API key when prompted
3. Submit Your First Task (One-Shot)
# Quickest way - direct command with flags (no file needed)
repobird run -r your-org/your-repo -p "Fix the login bug where users get stuck on loading screen"

# Or use a JSON file for more options
echo '{
  "repository": "your-org/your-repo",
  "prompt": "Fix the login bug where users get stuck on loading screen"
}' > fix.json

repobird run fix.json --follow
# That's it. PR will be created automatically. No further action needed.
4. Clear Your Entire Backlog (Bulk Mode)
# Submit multiple issues at once
echo '{
  "repository": "your-org/your-repo",
  "runs": [
    {"prompt": "Fix login bug"},
    {"prompt": "Add dark mode"},
    {"prompt": "Improve error handling"},
    {"prompt": "Update dependencies"},
    {"prompt": "Add unit tests for auth module"}
  ]
}' > backlog.json

# Fire and forget - all PRs created in parallel
repobird bulk backlog.json

# Monitor all runs in real-time
repobird tui

πŸ“– Usage Guide

Authentication Management
repobird login          # Interactive login with API key
repobird verify         # Verify your API key is valid
repobird info           # Show authentication status
repobird logout         # Remove stored credentials

# Alternative: Use environment variable
export REPOBIRD_API_KEY=your-api-key
Submitting Tasks
# Single task
repobird run task.json --follow

# From different formats
repobird run task.yaml          # YAML format
repobird run task.md            # Markdown with frontmatter
cat task.json | repobird run -  # From stdin

# Bulk operations
repobird bulk tasks.json        # Submit multiple tasks
Monitoring & Management
# Check status
repobird status                 # List all runs
repobird status RUN_ID          # Check specific run
repobird status --follow RUN_ID # Live updates

# Interactive dashboard
repobird tui                    # Launch terminal UI
Terminal UI Navigation
tui-example

The interactive dashboard features a Miller column layout inspired by the ranger file manager, providing hierarchical navigation through repositories β†’ runs β†’ details in a three-column view. This intuitive layout allows you to see context at every level while drilling down into specific run details.

Key Action
Tab / β†’ Navigate forward between columns
Shift+Tab / ← Navigate backward
↑ / ↓ Move selection up/down
Enter Select item
f Fuzzy search in current column
n Create new run
r Refresh data
? Show help
q Quit
Example Templates
# Generate example configurations
repobird examples generate minimal -o task.json
repobird examples generate bulk -o bulk.json
repobird examples schema  # View full schema documentation

πŸ“ Task Configuration

Tasks are defined in JSON, YAML, or Markdown files with two required fields:

  • repository - Target repository (format: "owner/repo")
  • prompt - Task description for the AI
Simple Example
{
  "repository": "myorg/webapp",
  "prompt": "Add user authentication with JWT tokens"
}
Advanced Example
{
  "repository": "myorg/webapp",
  "prompt": "Implement OAuth2 authentication",
  "source": "main",
  "target": "feature/oauth",
  "title": "Add OAuth2 support",
  "context": "Use Google and GitHub as providers",
  "files": ["src/auth/", "config/oauth.json"]
}
Bulk Operations

Submit multiple tasks in a single file:

{
  "repository": "myorg/webapp",
  "runs": [
    {"prompt": "Fix login bug", "target": "fix/login"},
    {"prompt": "Add password reset", "target": "feature/reset"},
    {"prompt": "Improve error handling", "target": "fix/errors"}
  ]
}

For complete configuration options and examples, see the Run Configuration Guide.

πŸ›‘οΈ Advanced Features

Smart Caching
  • Local caching reduces API calls and improves performance
  • Repository and run data cached for quick access
  • Automatic cache invalidation on updates
Retry Logic
  • Automatic exponential backoff for transient failures
  • Configurable retry attempts and timeouts
  • Graceful handling of rate limits

πŸ“š Documentation

Getting Started
User Guides
Reference
Development

🀝 Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

Development Setup
# Clone your fork
git clone https://github.com/your-username/repobird-cli.git
cd repobird-cli

# Install dependencies
make deps

# Run tests
make test

# Build locally
make build

πŸ“„ License

This project is licensed under the GNU Affero General Public License v3.0 - see the LICENSE file for details.

🌟 Support

πŸ™ Acknowledgments

Built with:


Made with ❀️ by the RepoBird team

Directories ΒΆ

Path Synopsis
cmd
repobird command
internal
api
tui
tui/components
Package components provides reusable UI components for the TUI
Package components provides reusable UI components for the TUI
pkg
tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL