Learn AI. Build AI. Share AI.
A community-driven collection of modern AI engineering resources β theory, runnable examples, production patterns, and learning paths. Think MDN for AI Engineering: freeCodeCamp + Awesome-AI + the OpenAI Cookbook, in one repository.
Note
Bee is not an AI application. It is a knowledge base β a curated, beautifully organized library of everything a developer needs to learn and build with AI.
- Why Bee?
- What's Inside
- Quick Start
- Repository Structure
- Learning Paths
- Featured Examples
- How Content Is Organized
- Contributing
- Roadmap
- Community & Support
- FAQ
- License
- Acknowledgements
AI engineering knowledge is scattered across blog posts that rot, framework docs that assume you already know the concepts, and tutorials that don't run. Bee gathers the good stuff in one place and holds it to a single quality bar:
- π§ Concepts explained from first principles β you'll understand why, not just how.
- π Every code example runs β each lives in its own folder with dependencies and a README.
- πΊοΈ Structured learning paths β go from "never called an LLM" to "shipping agents."
- π Production patterns, not toys β evaluation, security, cost, observability, deployment.
- π¨ Diagrams everywhere β Mermaid diagrams make architectures click.
- π Community-owned β designed for hundreds of contributors from day one.
|
π§ Foundations
|
βοΈ Building Blocks
|
π Retrieval (RAG)
|
|
π€ Agents
|
πΌοΈ Multimodal
|
π Production
|
Bee is a reading-and-doing repository. There are three ways to use it:
1. Browse on GitHub β every folder has a README.md. Start with docs/.
2. Read it as a website (nicer search, dark mode, diagrams):
git clone https://github.com/bee-ai-labs/bee.git
cd bee
pip install -r docs/requirements.txt
mkdocs serve # open http://127.0.0.1:80003. Run an example β each example is self-contained:
cd examples/01-chatbot
cp .env.example .env # add your API key
uv sync # or: pip install -e .
python -m app # run itTip
New to AI engineering? Don't read randomly β follow a Learning Path. It sequences the content so each concept builds on the last.
bee/
βββ docs/ π The knowledge base (also the MkDocs website)
β βββ concepts/ π’ Foundations: LLMs, transformers, tokenization, embeddings
β βββ prompting/ π‘ Prompting, system prompts, structured output, tool calling
β βββ rag/ π‘ Chunking, vector DBs, hybrid search, reranking, eval
β βββ agents/ π΄ Single/multi-agent, planning, memory, MCP, LangGraph, CrewAI
β βββ vision/ speech/ πΌοΈ Multimodal: vision, OCR, speech-to-text, TTS
β βββ evaluation/ π Evals, benchmarks, hallucination, guardrails
β βββ security/ π‘οΈ Prompt injection, safety, auth, rate limiting
β βββ deployment/ π’ Docker, Kubernetes, serving, scaling
β βββ mlops/ βοΈ CI/CD, observability, monitoring, cost
β βββ learning-paths/ πΊοΈ Curated sequences for each skill level
βββ examples/ π Self-contained, runnable Python projects
βββ architectures/ ποΈ Reference architectures + decision records (Mermaid)
βββ templates/ π¦ Copy-paste starters (FastAPI+LLM, RAG service, agent loop)
βββ guides/ π§ Task-oriented how-tos ("how do I stream responses?")
βββ tutorials/ π End-to-end walkthroughs (build X from scratch)
βββ datasets/ benchmarks/ π Curated data pointers + evaluation harnesses
βββ assets/ π¨ Banner, logo, brand guide, diagram sources
βββ scripts/ π οΈ Repo tooling (new-example scaffolder, link checks)
βββ .github/ π€ Issue/PR templates, CI workflows, automation
Instead of a pile of articles, Bee sequences content into paths. Pick where you are:
| Path | For | Starts with |
|---|---|---|
| π’ AI Engineer β Fundamentals | You can code, but LLMs are new | How LLMs Work |
| π‘ Building with LLMs | You've made API calls, want to build real features | Prompt Engineering |
| π‘ RAG Specialist | You need models to use your data | RAG Overview |
| π΄ Agent Engineer | You're building autonomous, tool-using systems | Agent Fundamentals |
| π΄ Production & MLOps | You need to ship, monitor, and scale | Deployment |
β‘οΈ See all learning paths β
Every example is a complete, runnable project with its own README, dependencies, and tests.
| Example | What it teaches | Level |
|---|---|---|
01-chatbot |
Streaming chat, conversation state, cost tracking | π’ |
02-rag-document-qa |
Chunking, embeddings, retrieval, cited answers | π‘ |
03-research-agent |
Tool use, planning, multi-step reasoning | π΄ |
β‘οΈ Browse all examples β
Every section of the knowledge base follows the same structure, so you always know what to expect:
Overview β Learning Objectives β Theory β Practical Examples β Code Snippets β Diagrams β Best Practices β Common Mistakes β Exercises β References
Content is tagged by difficulty so you can meet yourself where you are:
- π’ Beginner β assumes general programming knowledge only
- π‘ Intermediate β assumes you've built basic LLM features
- π΄ Advanced β assumes production experience
Bee is built by its community β and that means you. Whether you fix a typo, add a diagram, or write an entire tutorial, you're welcome here.
- Read the Contributing Guide (5-minute read).
- Find a good first issue or a
[WANTED]topic in any section README. - Copy the relevant
_TEMPLATE/and fill it in. - Open a PR β our CI checks formatting, spelling, and links so you don't have to.
By participating you agree to our Code of Conduct.
Bee grows in public. See the full Roadmap and Changelog.
- M0 β Foundation: structure, docs site, community & CI
- M1 β Flagship knowledge: Concepts, Prompting, RAG, Agents (deep)
- M2 β Runnable example fleet
- M3 β Breadth: vision, speech, eval, security, deployment
- M4 β Interactive notebooks & video companions
- π‘ Questions & ideas β GitHub Discussions
- π Bugs & content errors β Open an issue
- π Need help? β SUPPORT.md
- π Security concern? β SECURITY.md
Is Bee affiliated with any AI company?
No. Bee is an independent, community-driven, open-source project. It uses vendor SDKs in examples but the concepts are vendor-neutral.
Which LLM provider do the examples use?
Concepts are provider-agnostic. Code examples default to the Anthropic SDK for concreteness, with notes on adapting to OpenAI, Google, Ollama, and others. You can run most examples against any provider.
Do I need a GPU?
No. Almost everything uses hosted APIs. The few local-model sections clearly say so and offer CPU-friendly alternatives.
Can I use Bee content in my own course/blog/book?
Yes β docs are CC-BY-4.0 (give credit) and code is MIT. See LICENSE.
How do I keep code examples from breaking as APIs change?
Each example pins its dependencies and runs in CI. See CONTRIBUTING.md for the maintenance policy.
Bee is dual-licensed: documentation and prose under CC-BY-4.0, and all source code under the MIT License. In short β reuse freely, just give credit. π
Bee stands on the shoulders of the open-source AI community and is inspired by the clarity of MDN Web Docs, the practicality of the OpenAI Cookbook, the breadth of the Awesome lists, and the welcoming ethos of freeCodeCamp.
Built with π― by the Bee community.
If Bee helps you, consider giving it a β β it helps other developers find the hive.