---
title: "Cookbook"
description: "Practical recipes and examples for building with ai-query"
---

The cookbook contains practical, copy-paste recipes for common use cases. Each recipe is a complete, working example you can adapt for your projects.

## Basics

<CardGroup cols={2}>
  <Card title="Chatbot" icon="comments" href="/cookbook/chatbot">
    Build a conversational chatbot with message history
  </Card>
  <Card title="Multimodal Chatbot" icon="image" href="/cookbook/multimodal-chatbot">
    Handle images and files in conversations
  </Card>
</CardGroup>

## Agents

<CardGroup cols={2}>
  <Card title="Wikipedia Agent" icon="wikipedia-w" href="/cookbook/wikipedia-agent">
    Research agent that searches Wikipedia
  </Card>
  <Card title="Task Planner" icon="list-check" href="/cookbook/task-planner">
    AI-powered task breakdown and planning
  </Card>
  <Card title="Code Executor" icon="code" href="/cookbook/code-executor">
    Execute Python code safely in a sandbox
  </Card>
</CardGroup>
