Video thumbnail

OSS-Rewards-Agent

A tool that uses an AI agent to evaluate the contribution level of contributors based on the source code they committed and the review comments from reviewers when a pull request is merged on an OSS GitHub repository and automatically distributes rewards accordingly.

OSS-Rewards-Agent

Created At

Agentic Ethereum

Winner of

Coinbase Developer Platform - AgentKit Pool Prize

Prize Pool

Privy - Best consumer experience built with Server Wallets

Project Description

Our project is revolutionizing the open-source software (OSS) ecosystem by introducing a reward system for contributions—evaluated and distributed automatically by an AI agent. By bridging the gap between those who want to see improvements and the developers who can deliver them, we’re set to accelerate OSS development like never before.

How It Works:

  1. For Donors:

    Anyone who is willing to pay to see a particular OSS issue improved (whether they are a part of the OSS community or an interested third party) becomes a donor. Donors log in through the OSS-Agent-Reward donor page using Coinbase’s Smart Wallet. Once logged in, they fill in the info about the issue they want to improve and set the reward amount. At that moment, an AI agent—built with Coinbase’s AIAgentKit—triggers an approval via a smart contract, effectively locking in the reward funds.

  2. For Contributors:

    Developers confident in their coding and hacking skills log in to the contributor page on OSS-Agent-Reward using GitHub authentication powered by Privy’s server wallet. This process automatically generates a wallet address linked to their GitHub account. Contributors can later update this address to their personal MetaMask wallet if desired.

  3. Contributing and Claiming Rewards:

    After logging in, contributors can browse the list of issues with attached rewards and submit pull requests on GitHub to fix the ones they believe they can solve. Once a pull request is merged by the OSS community, the AI agent detects the merge, automatically triggers the corresponding smart contract, and attaches a claim link to the GitHub issue. Contributors then simply click the link to claim their reward. The claim process is secured through authentication, ensuring that only the GitHub account that submitted the pull request can receive the reward.

OSS faces challenges with development speed due to a lack of human resources. By matching donors who seek improvements with skilled contributors—and automating the reward distribution via AI agents—our project dramatically boosts the speed and efficiency of OSS development.

How it's Made

  • Coinbase AgentKit: Automates fund locking and triggers smart contract approvals through AI-driven transaction management.
  • Coinbase AgentKit(Powered Reward Distribution): Detects pull request merges in real time, analyzes commit contributions dynamically, and executes smart contracts to allocate rewards fairly.
  • Coinbase Smart Wallet: Enables seamless wallet creation on the frontend, allowing donors to log in and manage funds without additional setup.
  • Coinbase OnchainKit: Provides frontend UI components, enhancing the user experience.
  • Privy GitHub Authentication: Generates contributor wallet addresses and links them securely to their GitHub accounts.
  • Privy Server Wallet: Verifies the authenticity of the contributor's GitHub account and signs transactions securely to ensure only authorized users can claim rewards.
  • Privy Policy Engine: Enforces security policies on server wallets to allow only controlled transaction signing.

By leveraging Privy for authentication and Coinbase for transaction automation, the system ensures a frictionless and secure process for both donors and contributors. The AI agent handles fund management, security enforcement, and reward allocation, creating a trustless and efficient reward distribution mechanism.

background image mobile

Join the mailing list

Get the latest news and updates