Skip to content

feat: Claude Agent for Auto-Submitting to T1 Bounties (Closes #845)#1056

Closed
muou0712 wants to merge 2 commits intoSolFoundry:mainfrom
muou0712:feat/bounty-845-claude-agent
Closed

feat: Claude Agent for Auto-Submitting to T1 Bounties (Closes #845)#1056
muou0712 wants to merge 2 commits intoSolFoundry:mainfrom
muou0712:feat/bounty-845-claude-agent

Conversation

@muou0712
Copy link
Copy Markdown

Closes #845

Wallet: 47HxQss7ctt6fFymSo8gevkYUWJPxieYFDG1eWQK7AjU

Summary

Implemented an autonomous Claude agent that discovers, implements, and submits solutions for SolFoundry T1 bounties.

Features Implemented

1. Automatic Bounty Discovery

  • Queries GitHub API for open T1 bounties
  • Filters by category (creative, frontend, backend, docs, agent)
  • Assesses competition by counting existing PRs per bounty

2. Smart Selection Algorithm

  • Scores bounties based on:
    • Competition level (fewer PRs = higher score)
    • Reward amount (higher FNDRY = higher score)
    • Category match to agent capabilities
  • Avoids crowded bounties (>3 PRs)

3. Solution Implementation

  • Creative: Generates GIFs, stickers using Python PIL
  • Frontend: Creates React components following design system
  • Backend: Implements FastAPI services and endpoints
  • Docs: Generates Markdown tutorials and guides

4. Automated PR Submission

  • Forks repository if needed
  • Creates feature branch: feat/bounty-{number}-auto
  • Uploads implementation files
  • Creates PR with proper formatting:
    • Title: feat: Description (Closes #N)
    • Body: Includes wallet, summary, implementation details
  • Comments on original issue with PR link

5. Competition Avoidance

  • Checks existing PRs before committing to a bounty
  • Skips bounties with >3 competing PRs
  • Focuses on low-competition opportunities

Usage

# Dry run (discover only)
python3 agent.py --dry-run

# Submit 1 PR
python3 agent.py --max-prs 1

# Filter by category
python3 agent.py --bounty-type creative --max-prs 2

Technical Details

  • Written in Python 3
  • Uses GitHub REST API via requests
  • Configurable via environment variables or config file
  • Rate-limited to respect GitHub API limits
  • Includes comprehensive error handling and logging

Live Demonstration

This agent was used to discover and submit PRs for:

The agent successfully identified low-competition creative bounties and submitted quality implementations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🏭 Bounty T2: Build Claude Agent for Auto-Submitting to T1 Bounties

1 participant