NirDiamant/agents-towards-production is an AI-powered project on GitHub with 21.9k stars, written primarily in Jupyter Notebook. End-to-end, code-first tutorials for building production-grade GenAI agents. From prototype to enterprise deployment.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
AI Agents Made Simple reached #1 in Software Development, Software Engineering and Software Design Tools on Amazon.com's Kindle Store.
A decision guide to building AI agents that work: 28 chapters, 148 illustrations, no code. Get the book on Amazon →
Agents Towards Production
The open-source playbook for turning AI agents into real-world products.
Agents Towards Production is your go‑to resource for building production‑ready GenAI agents that scale from prototype to enterprise. Tutorials cover stateful workflows, vector memory, real‑time web search APIs, Docker deployment, FastAPI endpoints, security guardrails, GPU scaling, browser automation, fine‑tuning, multi‑agent coordination, observability, evaluation, and UI development.
⭐ If you find value in this project, PLEASE STAR IT to help others discover these tutorials!
AI Agents Made Simple - the decision guide to building agents that work: 28 chapters on what each pattern does, what breaks, what it costs, and when it is overkill. No code.
Get it on Amazon →
28 production-grade tutorials covering stateful workflows, vector memory, web search APIs, Docker deployment, security guardrails, GPU scaling, multi-agent coordination, and more.
💎 Tutorial Sponsors
Companies that have contributed step-by-step tutorials to this repository.
Click a logo to open the tutorial. Use Ctrl‑/⌘‑click to keep this page open.
Agent Framework & Workflows
Memory & Vector Database
RAG & Knowledge Management
Web Data Platform
Real‑time Web Search API
Self-Improving AI Memory
GPU Cloud Computing
Durable Execution
💎 General Sponsors
Companies that support this project through partnerships and resources.
Click a logo to visit their website.
AI Code Review
💎 Become a Sponsor
Get in touch:
📫 Stay Updated!
🚀 Cutting-edge Updates
💡 Expert Insights
🎯 Top 0.1%Content
Join over 50,000 AI enthusiasts getting unique cutting-edge insights and free tutorials! Plus, subscribers get exclusive early access and special 33% discounts on my books!
🎬 Prefer video?
I break these ideas down into short, one-idea-per-episode explainers on YouTube.
AI Agents Are Just While Loops. That's the Scary Part. the whole agent is a text file re-read in a loop, and it can trap itself
Context Is the New Code the shift from writing the code to shaping what the model sees
Stop Thinking Claude Code Is Magic. Here's How It Works what the agent loop is actually doing on every turn
How LLMs Actually Work (and Why AI Makes Things Up) recalling a fact and inventing one are literally the same move
Browse every episode →
💬 Join Our Community
Stay connected with the latest in GenAI and agent development:
r/EducationalAI
Join our growing community discussing cutting-edge AI research, agent development, and production insights!
✨ Introduction
Agents Towards Production is your hands-on guide to every building block of a GenAI agent stack.
All knowledge is delivered through runnable tutorials covering orchestration, memory, observability, deployment, security, and more. Each tutorial lives in its own folder with ready-to-run notebooks or code files, so you can move from concept to working agent in minutes.
🏗️ AI Agent Architecture
This diagram shows the flow of building a production-level agent. The tutorials in this repository cover each of these components step-by-step.
📚 Tutorials
🔌 Tool Integration
Tutorial
Description
View
Secure Tool Calling (Arcade)
Enable agents to securely call external tools (Gmail, Slack, Notion) with OAuth2 authentication and human-in-the-loop safety controls. Learn production-ready tool integration with user isolation and approval workflows.
📊 Data Processing
Tutorial
Description
View
Web Data Collection for AI Agents (Bright Data)
Build agents that collect and process web data at scale using enterprise-grade scraping infrastructure. Learn to integrate proxy networks, handle CAPTCHAs, and extract structured data from complex websites.
Real-Time Web Data Integration for Agents (Tavily)
Enable agents to access, search, and extract real-time web data. Build workflows that combine live web information with private knowledge for research, monitoring, and up-to-date recommendations.
Agent File Conversion, Locally and Privately (hushvert)
Kept for reference: the hosted hushvert API this tutorial calls was retired on 12 Oct 2026, so its server-lane code no longer runs. Still useful for the two-lane routing rule (convert on the user's device when possible, send only what needs a server) and an honest fidelity benchmark against popular extractors.
🔍 RAG & Knowledge Management
Tutorial
Description
View
Durable RAG Ingestion (Inngest)
Build an ingestion pipeline that survives partial failures, re-runs and backfills. Measure what a failed run at document 3,000 of 5,000 actually costs in duplicate chunks and re-billed embeddings, then fix it with idempotent upserts, durable steps, per-document fan-out, throttling and per-tenant concurrency, and a human review gate.
Production-Ready RAG Agents with Contextual AI (Contextual AI)
Build enterprise-grade RAG systems in 15 minutes using Contextual AI's managed platform. Learn document processing, intelligent indexing, agent deployment, and automated evaluation with LMUnit testing framework for financial document analysis.
Implement dual-memory (short-term and long-term), semantic search, and persistent state for agents that remember user preferences and learn from conversations.
Self-Improving Memory with Mem0: Hybrid Vector, Keyword & Entity Search
Build intelligent agents with self-improving memory that automatically extracts insights and evolves with each interaction. Learn hybrid retrieval that combines vector search for semantic recall with keyword and entity matching, on mem0 2.x.
AI Memory with Cognee
Build intelligent AI memory systems that learn from Python's creator and improve your development workflow. Transform scattered development data into unified knowledge graphs with contextual insights.
🚀 Deployment
Tutorial
Description
View
AWS Bedrock AgentCore: Managed Agent Deployment
Deploy and manage AI agents on AWS Bedrock AgentCore Runtime. Learn to transform local agents into production-ready managed services with automatic infrastructure, request tracking, and standardized communication patterns.
Containerizing Agents with Docker
Containerize agents for portability and scalability. Learn foundational patterns for running agents in containers across environments.
On-Prem LLM Deployment with Ollama
Run and interact with large language models locally. Replace cloud APIs with on-prem models for privacy, cost control, and low-latency agent workflows.
👥 Multi-agent Coordination
Tutorial
Description
View
Multi-Agent Communication with A2A Protocol
Simulate collaborative agent workflows and message exchange using open communication protocols for interoperability.
🚀 GPU Deployment
Tutorial
Description
View
Scalable GPU Deployment for AI Agents (Runpod)
Deploy AI agents on scalable GPU infrastructure. Learn to set up cost-effective, high-performance environments for demanding agent workloads.
🔒 Security
Tutorial
Description
View
Comprehensive Agent Security (LlamaFirewall)
Apply comprehensive input, output, and tool security guardrails for agents. Covers prompt injection, behavior alignment, and tool access control.
Hands-On Agent Security Evaluation (Apex)
Hands-on prompt injection attacks, defenses, and automated security testing for AI agents.
🧩 Agent Frameworks
Tutorial
Description
View
Tool & API Integration via Model Context Protocol (MCP)
Integrate agents with external tools and APIs using a standardized protocol. Example: Seamless tool and API integration for advanced agent workflows.
Stateful Agent Workflows with LangGraph
Design complex, stateful agent workflows using a directed graph architecture. Example: Multi-step text analysis pipeline with classification, entity extraction, and summarization.
Deploying Agents as APIs with FastAPI
Create and deploy agents as performant APIs, supporting both synchronous and streaming endpoints.
Building AI Agents in Kotlin with Koog
Build your first AI agent in Kotlin using JetBrains' Koog framework. Step-by-step from hello world to tool calling and structured output in under 30 minutes.
🛠️ Model Customization
Tutorial
Description
View
Fine-Tuning AI Agents for Domain Expertise & Efficiency
Learn how to fine-tune language models for specialized agent behavior and domain expertise, using LoRA on a small open model (Hugging Face TRL + PEFT) that trains on a laptop with no API key. Covers data preparation, training, evaluation against a facts-in-the-prompt baseline, and integration into agent workflows.
🔍 Tracing & Debugging
Tutorial
Description
View
Agent Tracing & Debugging with LangSmith
Add comprehensive observability to AI systems. Capture detailed traces, decision points, and timing data to debug, monitor, and systematically improve agent performance.
Automate agent evaluation with behavioral analysis, performance metrics, and actionable insights for improving agent quality.
🖥️ UI & Frontend
Tutorial
Description
View
Building a Chatbot UI with Streamlit
Build a beginner-friendly chatbot web app with a chat interface, file upload, and session state for interactive agent demos.
🚀 Getting Started
Transform your AI agent ideas into production-ready systems using our battle-tested patterns and implementations.
📖 Browse Online
Explore tutorials directly on GitHub to understand production-grade implementations, architectural decisions, and integration patterns. Each tutorial includes comprehensive documentation and code that you can study and adapt to your specific requirements without any local setup.
🛠️ Clone and Build
Download the repository to run tutorials locally, experiment with configurations, customize implementations, and integrate proven patterns directly into your agent development workflow.
Quick Setup
1. Get the Code
git clone https://github.com/NirDiamant/agents-towards-production.git
cd agents-towards-production
2. Install Dependencies
Navigate to your target tutorial and set up the environment:
# Example: a chatbot UI with Streamlit
cd tutorials/agent-with-streamlit-ui
pip install -r requirements.txt
3. Deploy and Test
Launch tutorials through their preferred interface:
# Run interactive notebooks for experimentation
jupyter notebook tutorial.ipynb
# Execute production scripts for integration testing
python app.py
📚 Recommended reading
This list contains Amazon affiliate links. As an Amazon Associate I earn from qualifying purchases. Every book below is one I've read and genuinely recommend to engineers working in this space. The companion book to this repo is featured separately at the top of this README.
Build a Large Language Model (From Scratch) by Sebastian Raschka. Build a GPT-style model end to end in PyTorch.
AI Engineering: Building Applications with Foundation Models by Chip Huyen. Canonical reference for productionizing foundation-model apps.
Hands-On Large Language Models by Jay Alammar and Maarten Grootendorst. Visual, practical LLM walkthroughs.
Natural Language Processing with Transformers by Lewis Tunstall, Leandro von Werra, and Thomas Wolf. From the Hugging Face team.
Designing Machine Learning Systems by Chip Huyen. ML systems in production, still the standard reference.
📚 More from DiamantAI
AI Agents Made Simple - the companion book to this repo: when each agent pattern is worth it, what breaks, and what it costs.
Agent Memory Made Simple - the visual guide to memory for AI agents: 30 techniques, zero code required.
RAG Made Simple - go deeper on RAG (Amazon bestseller, ⭐ 4.6) · read Chapter 1 free.
Prompt Engineering: Master the Art of AI Interaction - the prompting foundation, 22 hands-on techniques.
To hear when the next book comes out, follow the author on Amazon.
Run a course, newsletter, or dev community? You can earn 25% recommending RAG Made Simple to your audience.
🤝 Contributing
We welcome contributions of tools, infrastructure, and frameworks that support agent development. This includes monitoring, deployment platforms, security tools, databases, APIs, and other horizontal services that enable production agent systems.
Please see our Contributing Guidelines for more details.
⚠️ Disclaimer
Educational use only. Authors disclaim all responsibility for use, misuse, or consequences. We do not endorse, verify, or guarantee third-party companies, tools, or services referenced herein. Not liable for damages, losses, security breaches, or fraudulent activities by referenced parties.
Your responsibility: Conduct due diligence, verify legitimacy, test in isolation, ensure legal compliance. Security tools require ethical use with proper authorization.
By using this repository, you agree to this disclaimer.
📜 License
This project is licensed under a custom non-commercial license - see the LICENSE file for details.
⭐️ If you find this repository helpful, please consider giving it a star!
How active is development on NirDiamant/agents-towards-production?
The most recent commit recorded on NirDiamant/agents-towards-production was 23 days ago, based on the GitHub push timestamp. The repository has 2.9k forks — one of the better signals of community interest.
How many stars does NirDiamant/agents-towards-production have?
NirDiamant/agents-towards-production has 21.9k GitHub stars — refresh the page for the live number, or check github.com/NirDiamant/agents-towards-production. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
What else is in the AI Tools space?
NirDiamant/agents-towards-production is tracked by TopGit under the AI Tools category, alongside 19 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
What language is NirDiamant/agents-towards-production written in?
NirDiamant/agents-towards-production is written primarily in Jupyter Notebook. GitHub's language field is based on the largest share of bytes in the default branch.
What topics is NirDiamant/agents-towards-production associated with?
GitHub's repository topics for NirDiamant/agents-towards-production: "agent", "agent-framework", "agentic-ai", "agents", "ai-agents", "deployment", "genai", "generative-ai", "langgraph", "llm", "llms", "mcp", "mlops", "multi-agent-systems", "observability", "production", "python", "rag", "tutorials". TopGit's editorial category is AI Tools.
Where do I read more about NirDiamant/agents-towards-production?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/NirDiamant/agents-towards-production is the definitive source.
Why is NirDiamant/agents-towards-production categorized under AI Tools?
TopGit places NirDiamant/agents-towards-production in the AI Tools category based on its GitHub topics and description (tagged: "agent", "agent-framework", "agentic-ai"). Categories are assigned from real repository metadata, not editorial guesswork.
Read full README in the tab above.
Still deciding about agents-towards-production?
One click hands the question to an AI along with this page — see what it says about agents-towards-production.