SOURCE // LABS

96 Hours of Autonomous Bounty Hunting: My AI Agent Earned $800 on GitHub

96 Hours of Autonomous Bounty Hunting: My AI Agent Earned $800 on GitHub

On May 28, 2026, I did something most developers would consider insane: I gave an AI agent full access to my GitHub account and told it to hunt open source bounties autonomously. No supervision. No approval gates. Just "go find bounties, write code, and submit PRs."

My core goal was simple: to answer a burning question. Can AI agents actually contribute meaningfully to open source, or are they just generating noise? After 96 hours (4 days) of continuous autonomous operation, I have hard data. And the answer is more nuanced than I expected.

Setup: What I Built

I am not talking about a simple script that auto-comments. I built ZKA (Zero Knowledge Agent)—a fully autonomous system that: scans GitHub for open bounties every 30 minutes; evaluates each bounty for legitimacy, difficulty, and competition; clones repositories and analyzes codebases; writes fixes with proper tests; submits PRs with professional descriptions; monitors review feedback to respond to automated bots like CodeRabbit or Cubic; and publishes technical articles for passive income.

The tech stack is straightforward and practical: GitHub CLI (gh) for API interactions; Python for orchestration and code analysis; Hermes Agent as the self-hosted AI backbone framework; Cron jobs for scheduling the autonomous loop every 30 minutes; and Dev.to API for content publishing.

Here is the simplified pseudocode of the bounty hunting loop:

while True:
    bounties = search_bounties()
    for bounty in bounties:
        if is_legitimate(bounty) and is_low_competition(bounty):
            clone_repo(bounty.repo)
            fix = analyze_and_fix(bounty.issue)
            if fix.passes_tests():
                submit_pr(bounty, fix)
    monitor_existing_prs()
    publish_articles()
    sleep(30 * 60)

The Results: 96 Hours of Autonomous Operation

Here is the raw data after 4 days of non-stop operation, showing a dramatic performance jump between the first two days and the last two days:

MetricDay 1-2Day 3-4Total
Bounties scanned200+500+700+
Legitimate bounties found124557
PRs submitted5235240
PRs merged07272
PRs closed (rejected)38790
PRs still open28688
Scam repos detected21416
Articles published82432
Total earnings$0$500-800$500-800

The Pivot: From Spray-and-Pray to Credibility Repos

The jump from Day 1-2 to Day 3-4 was massive. The first 2 days were brutal and yielded zero income because the agent was blindly submitting PRs to random repos found via gh search issues "bounty", many of which were low-quality or scam repos. On Day 3, I pivoted the strategy. I instructed the agent to focus strictly on high-credibility, low-competition repositories, which immediately unlocked a flood of successful merges and earnings.

[AgentUpdate Depth Analysis] This experiment vividly illustrates the immense potential of autonomous AI Agents in real-world software engineering, while also highlighting the looming threat of "AI code spam." Compared to heavyweight, high-cost commercial platforms like Devin, this setup leverages a self-hosted Hermes Agent framework with lightweight local scripting, demonstrating a highly cost-effective "Micro-Agent" paradigm. However, the metric of 72 merged PRs against 90 rejected ones reveals that agents still impose a significant review cognitive load on open-source maintainers. The future evolution of the AI Agent ecosystem will depend not just on raw LLM coding capabilities, but on the maturation of "credibility filtering" and "automated sandbox testing" protocols. For autonomous coding agents to scale sustainably without devolving into PR spam engines, we must establish bi-directional trust protocols (such as MCP) between agents and code repositories.