Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,49 @@

Agent orchestration system that proxies and manages OpenCode instances.

## Installation

### Quick Install (One-Liner)

```bash
curl -sSL https://raw.githubusercontent.com/nbitslabs/flock/main/install.sh | bash
```

This will:
1. Install Go (if not present)
2. Install GitHub CLI (gh)
3. Install OpenCode
4. Build Flock from source
5. Create configuration files
6. Set up system services (systemd on Linux, launchd on macOS)
7. Configure auto-updates via cron

### Manual Installation

```bash
# Clone the repository
git clone https://github.com/nbitslabs/flock.git
cd flock

# Build the binary
go build -o flock ./cmd/flock

# Run
./flock
```

## Configuration

After installation, configure your environment:

```bash
# Authenticate with GitHub
gh auth login

# Authenticate with OpenCode
opencode auth login
```

## Run

```bash
Expand Down
Loading
Loading