feat: add autonomous bounty-hunting agent with multi-LLM orchestration (#861) [fj4WqyCCw3C5ShR1RfB7MoBPTpkRrBFYP1uT35g3MvT] - #1461
Open
waterWang wants to merge 2 commits into
Conversation
SolFoundry#861) Implements a full autonomous multi-agent system that: - Scans for unclaimed bounties via GitHub API - Plans implementation with LLM-powered analysis - Generates code with proper TypeScript conventions - Verifies solutions with test execution and static analysis - Reviews with multi-LLM scoring (quality, correctness, security) - Submits PRs with wallet address for bounty payment Closes SolFoundry#861
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements a full autonomous multi-agent system that finds bounties, analyzes requirements, implements solutions, runs tests, and submits PRs without human intervention, as specified in the
#861T3 bounty.Multi-LLM Agent Pipeline
BountyHunter.scan()PlannerAgentImplementerAgentVerifierAgentReviewerAgentSubmitterAgentNew Files
sdk/src/agent/types.ts— Agent system type definitions (roles, plan, review, verification)sdk/src/agent/agent.ts— Base LLM agent class with provider abstraction + mock modesdk/src/agent/planner.ts— Planning agentsdk/src/agent/implementer.ts— Code generation agentsdk/src/agent/verifier.ts— Test/verification agent with static analysissdk/src/agent/reviewer.ts— Multi-LLM review agentsdk/src/agent/submitter.ts— PR submission agentsdk/src/agent/orchestrator.ts—BountyHunterorchestrator tying the pipeline togethersdk/src/agent/index.ts— Module exportssdk/src/__tests__/agent.test.ts— 13 tests covering the full agent systemConfiguration
Testing
216 tests pass across all 11 SDK test files (including 13 new agent tests). Uses mock mode for deterministic LLM responses in tests.
Closes #861