Skip to content

The best OpenAI Cookbook alternatives

3 tools that do a similar job to OpenAI Cookbook, 3 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.

You're replacing

OpenAI Cookbook

Example code and guides for common tasks with the OpenAI API.

  1. 1

    LangChain

    Open source · MIT · ★ 149k

    A Python framework for building AI agents and apps powered by language models.

    Best for: Python developers building LLM-powered applications; Teams that want to switch between model providers without rewriting code

  2. 2

    LlamaIndex

    Open source · MIT · ★ 52.8k

    Python framework for building LLM apps that query your own documents and data.

    Best for: Python developers building retrieval-augmented generation (RAG) apps over private documents; Teams wanting a modular toolkit where they can swap LLM, embedding and vector store providers

  3. 3

    Semantic Kernel

    Open source · MIT · ★ 28.7k

    Open-source SDK for building AI agents and multi-agent apps in Python, .NET and Java.

    Best for: Developers already using Azure OpenAI or OpenAI who want a structured SDK for agents; Teams working in .NET, Python or Java who want one framework across languages

How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to OpenAI Cookbook. We don't take payment for placement.