/kitchenai

Shareable runtime AI cookbooks

Primary LanguagePythonApache License 2.0Apache-2.0

🍽️ KitchenAI

KitchenAI

Instantly turn AI code into a production-ready backend.

Falco
Hatch Project
Docs


What is KitchenAI?

KitchenAI bridges the gap between AI developers, application developers, and Infrastructure developers making it easy to:

  • For AI Developers: Focus on your techniques like RAG or embeddings—KitchenAI handles scalable, production-ready features through ecosystem building blocks.

  • For App Developers: Seamlessly integrate AI with open-source APIs and robust backends built on Django.

  • For Infrastructure Developers: Integrate seamlessly with AI tooling, customize Django backends, and leverage built-in support for observability platforms like Sentry and OpenTelemetry, ensuring scalable and production-ready deployments with tools like Docker and Kubernetes.

Say goodbye to boilerplate!

Documentation

kitchenai-list


🚀 Why KitchenAI?

Building AI applications often requires juggling complex frameworks and backend systems. KitchenAI eliminates that complexity by:

  • Turning AI functions into APIs automatically.
  • Offering a production-ready server using proven technologies like Django, Django Ninja, an extensible plugin framework, background workers, and AI third party integrations.
  • Enabling extensibility while maintaining simplicity.

🔗 Learn more at docs.kitchenai.dev.


Quickstart

  1. Set Up Environment

    export OPENAI_API_KEY=<your key>
    export KITCHENAI_DEBUG=True
    python -m venv venv && source venv/bin/activate && pip install kitchenai
  2. Start a Project

    kitchenai cook list && kitchenai cook select llama-index-chat

    kitchenai-list

  3. Run the Server

    kitchenai init && kitchenai dev --module app:kitchen

    kitchenai-dev

    An entire API server is spun up in seconds.

    openapi

  4. Build Docker Container

    kitchenai build . app:kitchenai

📖 Full quickstart guide at docs.kitchenai.dev.


Features

  • 📦 Quick Cookbook Creation: Build cookbooks in seconds.
  • 🚀 Production-Ready AI: Turn AI code into robust endpoints.
  • 🔌 Extensible Framework: Add custom recipes and plugins effortlessly.
  • 🐳 Docker-First Deployment: Deploy with ease.

🔧 Under the Hood

  • Django Ninja: Async-first API framework for high-performance endpoints.
  • Django Q2: Background workers for long-running tasks.
  • Plugin Framework: Django DJP integration
  • AI Ecosystem: Integrations to AI ecosystem and tools
  • S6 Overlay: Optimized container orchestration.

KitchenAI is built for developers, offering flexibility and scalability while letting you focus on AI.


Developer Experience

Developer Flow

🛠️ Roadmap

  • SDKs for Python, Go, JS, and Rust.
  • Enhanced plugin system.
  • Signal-based architecture for event-driven apps.
  • Built-in support for Postgres and pgvector.

🧑‍🍳 Contribute

KitchenAI is in alpha—we welcome your contributions and feedback!


🙏 Acknowledgements

Inspired by the Falco Project. Thanks to the Python community for best practices and tools!


📊 Telemetry

KitchenAI collects anonymous usage data to improve the framework—no PII or sensitive data is collected.

Your feedback and support shape KitchenAI. Let's build the future of AI development together!