Contributing to Web3 Agent Kit
July 23, 2026 ยท View on GitHub
Thank you for your interest in contributing! ๐
Getting Started
Prerequisites
- Python 3.10+
- Git
- pip or uv
Setup
# Clone the repo
git clone https://github.com/ulsreall/web3-agent-kit.git
cd web3-agent-kit
# Create virtual environment
python -m venv venv
source venv/bin/activate # Linux/macOS
# venv\Scripts\activate # Windows
# Install dependencies
pip install -e ".[dev]"
# Run tests
pytest tests/ -v
How to Contribute
Reporting Bugs
- Check existing issues
- Create a new issue using the bug report template
- Include as much detail as possible
Suggesting Features
- Check existing issues
- Create a new issue using the feature request template
Submitting Changes
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes
- Add tests for new functionality
- Ensure all tests pass:
pytest tests/ -v - Commit your changes:
git commit -m 'feat: add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
Code Style
- Follow PEP 8
- Use type hints where possible
- Write docstrings for all public methods
- Keep functions focused and small
Commit Messages
We follow Conventional Commits:
feat: add new feature
fix: resolve bug
docs: update documentation
test: add tests
refactor: improve code structure
chore: update dependencies
Testing
# Run all tests
pytest tests/ -v
# Run specific test file
pytest tests/test_llm.py -v
# Run with coverage
pytest tests/ --cov=web3_agent_kit --cov-report=html
Project Structure
web3-agent-kit/
โโโ web3_agent_kit/ # Source code
โ โโโ agent/ # AI agent framework (core, LLM integration)
โ โโโ wallet/ # Wallet management (single, multi-wallet, approvals, watcher)
โ โโโ chains/ # Multi-chain support
โ โโโ defi/ # DeFi protocols (Uniswap V3, Aave, yield optimizer)
โ โโโ airdrop/ # Airdrop automation (discovery, farming, multi-wallet)
โ โโโ trading/ # Trading (DCA bot, token sniper)
โ โโโ security/ # Security analysis (honeypot, rug check, contract audit)
โ โโโ solana/ # Solana module (client, wallet, DEX, LP, NFT)
โ โโโ bridge/ # Cross-chain bridges
โ โโโ portfolio/ # Portfolio tracking
โ โโโ notifications/ # Alert system (Telegram, Email, Discord)
โ โโโ oracle/ # Multi-source price oracle aggregator
โ โโโ api/ # REST API server
โ โโโ cli/ # Command-line interface
โ โโโ simulator/ # Transaction simulation
โ โโโ mev/ # MEV strategies
โ โโโ governance/ # Governance interactions
โ โโโ nft/ # NFT operations
โ โโโ gas/ # Gas optimization
โ โโโ messaging/ # Cross-chain messaging
โ โโโ events/ # On-chain event monitoring
โ โโโ account_abstraction/ # ERC-4337 account abstraction
โ โโโ plugins/ # Plugin system (restaking, custom integrations)
โ โโโ oracle/ # Price feed aggregation
โ โโโ utils/ # Shared utilities & safety (SpendGovernor, Notifier)
โโโ tests/ # Test suite (1,248+ tests)
โโโ examples/ # Usage examples (20+ runnable examples)
โโโ .github/ # GitHub templates, workflows
โโโ docs/ # Documentation (GitHub Pages)
Questions?
Feel free to open an issue or reach out on Twitter.
License
By contributing, you agree that your contributions will be licensed under the MIT License.