{"product_id":"build-genai-agents-with-openai-stew-wao-9789349174245","title":"Build GenAI Agents with OpenAI + vLLM: Develop portable AI agents in Python with structured outputs, tool calling, OpenAI Agents SDK, vLLM, model swit","description":"\u003cp\u003eAI agents are getting easier to build, but the surrounding ecosystem of models, SDKs, and frameworks is changing quickly. A lot of agent apps get tricky to maintain since they depend too much on a certain provider, library, or deployment setup. This book looks at a practical alternative, which is to make AI agents whose main logic doesn't change while models, SDKs, and runtimes can be changed around it. It's not about using complicated frameworks. Rather, this book shows you simple architectural patterns that let you set up an agent application so that tools, schemas, prompts, and business logic can stay separate from the runtime layer.\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eFor starters, it'll be a simple loop with agents, and we'll gradually build on that with tools that make things deterministic, outputs in a structured JSON format, and schema validation. It'll teach skills, like switching between models through configuration, running the same agent with hosted models or local inference using vLLM, and isolating SDK-specific integrations behind small adapter layers. Later, we will focus on packaging and deployment, in which we will convert the agent into a command-line tool, expose it through a minimal HTTP API, and package the application using Docker. Ultimately, the book puts the project together as a reusable starter template that can be used as a basis for future agent-based applications.\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eInstead of talking about shortcuts or automation, this book focuses on practical development patterns for building maintainable AI agents. Basically, this book is perfect for Python developers, software engineers, and AI practitioners who want a step-by-step process for designing agents that can adapt as the surrounding ecosystem changes.\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003eKey Learnings\u003cp\u003eBuild GenAI agents using simple agent loop that accepts prompts, calls tools, and returns structured AI responses.\u003c\/p\u003e\u003cp\u003eUse structured JSON outputs and Pydantic schemas to make AI agent responses reliable and safe for automation.\u003c\/p\u003e\u003cp\u003eDesign AI tools as deterministic Python functions so agents can call calculators, summarizers, and utilities predictably.\u003c\/p\u003e\u003cp\u003eCreate portable AI agents by separating business logic from LLM and model APIs.\u003c\/p\u003e\u003cp\u003eImplement a model gateway pattern to switch between OpenAI models, local LLMs, or other providers via configuration.\u003c\/p\u003e\u003cp\u003eRun the same agent with OpenAI models or local LLM inference using vLLM.\u003c\/p\u003e\u003cp\u003ePrevent SDK lock-in by isolating AI SDK integrations behind runtime adapters.\u003c\/p\u003e\u003cp\u003eUse LLM regression prompts and schema validation for better stability of AI Agents during switching the models.\u003c\/p\u003e\u003cp\u003ePackage AI agent as CLI tool and HTTP API for real applications and integrations.\u003c\/p\u003e\u003cp\u003eDeploy AI agents with Docker containers and environment variable.\u003c\/p\u003e\u003cp\u003e \u003c\/p\u003eTable of Content\u003cp\u003eShipping GenAI Agent in Minutes\u003c\/p\u003e\u003cp\u003eBuilding Agent Workflows\u003c\/p\u003e\u003cp\u003eReliable and Structured Agent Output\u003c\/p\u003e\u003cp\u003eSwitching Models without Rewriting Agent\u003c\/p\u003e\u003cp\u003eRunning vLLM\u003c\/p\u003e\u003cp\u003eDesigning Stable Business Logic across Multiple SDKs\u003c\/p\u003e\u003cp\u003eAgent Packaging and Deployment\u003c\/p\u003e\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAuthor:\u003c\/b\u003e Stew Wao\u003cbr\u003e\u003cb\u003eISBN-10:\u003c\/b\u003e 9349174243\u003cbr\u003e\u003cb\u003eISBN-13:\u003c\/b\u003e 9789349174245\u003cbr\u003e\u003cb\u003ePublisher:\u003c\/b\u003e Gitforgits\u003cbr\u003e\u003cb\u003eLanguage:\u003c\/b\u003e English\u003cbr\u003e\u003cb\u003ePublished:\u003c\/b\u003e 02\/28\/2026\u003cbr\u003e\u003cb\u003ePages:\u003c\/b\u003e 122\u003cbr\u003e\u003cb\u003eFormat:\u003c\/b\u003e Paperback\u003cbr\u003e\u003cb\u003eWeight:\u003c\/b\u003e 0.49lbs\u003cbr\u003e\u003cb\u003eSize:\u003c\/b\u003e 9.25h x 7.50w x 0.26d","brand":"Stew Wao","offers":[{"title":"Paperback","offer_id":48588453413119,"sku":"9789349174245","price":74.99,"currency_code":"USD","in_stock":true}],"url":"https:\/\/www.whiterainbookhouse.com\/products\/build-genai-agents-with-openai-stew-wao-9789349174245","provider":"WR Book House","version":"1.0","type":"link"}