Thanks for your interest in improving this examples repository! This guide helps you propose changes smoothly and keep examples consistent.
- Fix typos, broken links, and small bugs
- Improve documentation or add quickstart sections
- Add tests or lightweight validation scripts
- Create a new example project (see template below)
Each example should be self-contained:
main.py— entrypoint to run the examplerequirements.txt— minimal, pinned dependencies where possibleagents/— reusable components (submodules allowed)agents/prompts/— prompt files if the example uses LLMsdata/,images/— sample inputs and outputs (small only)README.md— what it does, how to run, configuration knobs, optimally with a demo video
Keep any API keys out of the repo; prefer environment variables with clear placeholders in README. ME.
- Prefer Python 3.10+ features available broadly; keep dependencies lean
- Add type hints where obvious; avoid over-typing
- Handle errors gracefully and log actionable messages
- Keep network or scraping code respectful of target sites (rate limits, robots, ToS)
- Branch from
mainand keep PRs focused - Update top-level
Readme.mdto include your new example (2 lines) - Ensure
requirements.txtinstalls cleanly in a fresh venv - Verify basic run works:
python <example>/main.py
- Only include images/data you own or that are under a permissive license
- Avoid large binaries; link to external sources when necessary
Open an issue or start a discussion in the main Droidrun repository. Happy hacking!