Topic
Migrating from the Raw OpenAI SDK to a Framework
13 posts on migrating from the raw openai sdk to a framework — part of framework tutorials on the n4n AI blog.
Why we moved from the raw OpenAI SDK to LangGraph
A senior engineer's honest breakdown of migrating from the raw OpenAI SDK to LangGraph — where the SDK breaks down, what LangGraph actually solves, and the tradeoffs you'll live with.
Migrating raw OpenAI SDK memory management to LangChain
Step-by-step guide to migrating conversation memory from raw OpenAI SDK to LangChain with runnable code and verification checkpoints.
Migrating raw OpenAI SDK error handling to LangChain
A step-by-step guide to migrating OpenAI SDK error handling patterns to LangChain with runnable code and verification steps.
Migrating OpenAI SDK retry logic to a framework's defaults
Learn how to migrate custom OpenAI SDK retry logic to your framework's built-in defaults with step-by-step code examples and verification strategies.
From raw OpenAI streaming to LangChain's streaming API
Step-by-step guide to migrating from raw OpenAI SDK streaming to LangChain's streaming API with runnable code examples and verification steps.
From raw OpenAI prompts to LlamaIndex query engines
A step-by-step guide to migrating raw OpenAI SDK calls to LlamaIndex query engines with retrieval, streaming, and production patterns.
Migrating raw OpenAI function calling to LangChain tools
Step-by-step guide to migrate raw OpenAI function calling to LangChain tools with runnable code and verification steps.
Migrating a raw OpenAI chatbot to CrewAI agents
Learn how to migrate an OpenAI chatbot to CrewAI agents with step-by-step code examples, covering agent design, task decomposition, state management, and verification.
From raw OpenAI SDK to AutoGen: adding multi-agent support
A step-by-step guide to migrating from raw OpenAI SDK calls to AutoGen for multi-agent workflows, with runnable code and verification checkpoints.
From openai.ChatCompletion to LlamaIndex: what changes
A practical migration guide for engineers moving from raw OpenAI ChatCompletion calls to LlamaIndex, covering client setup, streaming, tool calling, and common pitfalls.
When to migrate off the raw OpenAI SDK (and when not to)
A practical decision guide for engineers weighing when to migrate off the raw OpenAI SDK to a framework or abstraction, with code and pitfalls.
Migrating the raw OpenAI SDK to LangChain step by step
Step-by-step guide to migrate OpenAI SDK code to LangChain without rewrites. Swap clients, adopt chains, and verify behavior with runnable examples.
Migrating a raw OpenAI SDK app to support multiple providers
Learn how to migrate openai sdk app to multi-provider support with concrete steps, runnable code, and verification tips for backend engineers.
More topics in framework tutorials
- Building Chatbots with Vercel AI SDK & Next.js15
- LangChain RAG with Vector Databases15
- LangGraph Multi-Agent Workflows15
- LlamaIndex Query Engines for RAG15
- AutoGen Multi-Agent Conversations & Group Chat14
- Choosing an AI Framework by Use Case14
- CrewAI Agent Roles & Task Design14
- CrewAI Real-World Crew Examples14
- Haystack RAG Pipelines14
- LangChain Agents & Tool Calling14
- LangChain Multi-Model Fallback & Routing14
- LangChain.js for Node & TypeScript14