AIAny
AI API2023
Icon for item

Claude Cookbooks

Runnable Jupyter notebooks for building with the Claude API: tool use, RAG, vision, prompt caching, sub-agents, classification, summarization, and integrations like Pinecone and Voyage embeddings. Copy-paste recipes that drop into real projects.

Introduction

Most model providers ship a slick docs site and call it a day; the harder question is always "okay, but how do I actually wire this into my code?" These cookbooks answer that by skipping prose and handing you working notebooks you can run, break, and paste from. The recurring lesson across them: Claude's harder features (tool use, prompt caching, sub-agents) are less about the model and more about how you structure the orchestration around it.

What Sets It Apart
  • Runnable over readable. Nearly everything is a Jupyter notebook (~95% of the repo), so you execute the recipe instead of reading about it — the gap between "I read the tool-use guide" and "I have a working customer-service agent" collapses to one notebook.
  • Patterns, not just primitives. Beyond single API calls, it shows compositions that are easy to get wrong: sub-agents (cheap Haiku workers feeding an Opus planner), prompt caching to cut repeated-context cost, and RAG wired to real vector stores like Pinecone with Voyage embeddings.
  • Breadth that maps to real apps. Classification, summarization, vision (charts, forms, PDFs), JSON mode, content moderation, and automated evals cover most of what a production Claude integration actually needs.
Who It's For

Great fit if you learn by running code and want a reference implementation before committing a pattern to your own stack — especially for tool use, RAG, or multi-agent setups where the wiring is the hard part. Look elsewhere if you want conceptual depth on how Claude works internally, or a maintained framework: these are deliberately minimal, copy-and-adapt examples, not a library you'd take a dependency on.

More Items

GitHub
AI API2025

Gateway that pools multiple AI subscription accounts and issues platform API keys while handling authentication, token-level billing, load balancing, rate limits, and per-user/account concurrency—enables shared subscriptions for Claude, OpenAI, Gemini and Grok.

GitHub
AI API2026

Exposes a ChatGPT account as an OpenAI-compatible local API and SDK set, enabling chat, streaming, and image-generation calls via a dev proxy or "Sign in with ChatGPT". Includes a CLI and TypeScript/React adapters; unofficial and uses user ChatGPT credentials.

GitHub
AI API2020

Provides a self-hosted machine translation HTTP API that runs offline using the open-source Argos Translate engine; offers Docker-based deployment and a simple HTTP interface for integration. Suited for privacy-conscious or offline translation deployments.