48 Runnable AI Agent Examples
nihal_was_here · reddit · 2026-07-12
The author compiled 48 directly runnable AI agent examples spanning Python and TypeScript, aiming to bridge the gap between existing tutorials that are either too basic or too difficult to execute.
What's Included
- Beginner: Research, code review, SQL, data analysis, web scraping, email drafting
- Advanced: Deep research, coding with planning, code-test-loop, competitor monitoring, PR review
- Others: Multi-agent workflows, RAG, MCP server, memory, voice agents
- General engineering patterns: Human-in-the-loop, streaming output, retries, fallbacks
Structure
Every example follows the same lightweight structure:
- README
- Python implementation
- TypeScript implementation
- .env.example
The author emphasizes that these examples have no shared dependencies and require no complex setup, allowing users to quickly clone, understand, and build upon them.
More from coding & agent
- Soft Clamp cuts tool-call overuse in multi-teacher distillation, from 13.7% to 9.0% — antgroup · 2026-07-21
- SpecJudge runs locally on Ollama to pick the right-sized AI model for your project — jokiruiz · 2026-07-21
- A developer maps out six design rules for CLIs that humans and AI agents can both use — yujiezha · 2026-07-21
- A coding-agent skill that forces ADHD-friendly, answer-first output — ayghri · 2026-07-21
- A set of agent skills for CAD, robotics, and hardware design — earthtojake · 2026-07-21
- Outlines keeps LLMs on-rails with structured outputs — dottxt-ai · 2026-07-21