Build GenAI Agents with OpenAI + vLLM: Develop portable AI agents in Python with structured outputs, tool calling, OpenAI Agents SDK, vLLM, model switching, CLI, API, and Docker deployment

★★★★★ 4.2 121 reviews

$34.99
Price when purchased online
Free shipping Free 30-day returns

Sold and shipped by www.bosugroup.com
We aim to show you accurate product information. Manufacturers, suppliers and others provide what you see here.
$34.99
Price when purchased online
Free shipping Free 30-day returns

How do you want your item?
You get 30 days free! Choose a plan at checkout.
Shipping
Arrives May 13
Free
Pickup
Check nearby
Delivery
Not available

Sold and shipped by www.bosugroup.com
Free 30-day returns Details

Product details

Management number 220802897 Release Date 2026/05/03 List Price $14.00 Model Number 220802897
Category

AI 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 short-concise 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.For 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.Instead 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.Key LearningsBuild GenAI agents using simple agent loop that accepts prompts, calls tools, and returns structured AI responses.Use structured JSON outputs and Pydantic schemas to make AI agent responses reliable and safe for automation.Design AI tools as deterministic Python functions so agents can call calculators, summarizers, and utilities predictably.Create portable AI agents by separating business logic from LLM and model APIs.Implement a model gateway pattern to switch between OpenAI models, local LLMs, or other providers via configuration.Run the same agent with OpenAI models or local LLM inference using vLLM.Prevent SDK lock-in by isolating AI SDK integrations behind runtime adapters.Use LLM regression prompts and schema validation for better stability of AI Agents during switching the models.Package AI agent as CLI tool and HTTP API for real applications and integrations.Deploy AI agents with Docker containers and environment variable.Table of ContentShipping GenAI Agent in MinutesBuilding Agent WorkflowsReliable and Structured Agent OutputSwitching Models without Rewriting AgentRunning vLLMDesigning Stable Business Logic across Multiple SDKsAgent Packaging and Deployment Read more

ISBN10 9349174243
ISBN13 978-9349174245
Language English
Publisher GitforGits
Dimensions 7.5 x 0.28 x 9.25 inches
Item Weight 7.8 ounces
Print length 120 pages
Publication date February 28, 2026

Correction of product information

If you notice any omissions or errors in the product information on this page, please use the correction request form below.

Correction Request Form

Customer ratings & reviews

4.2 out of 5
★★★★★
121 ratings | 50 reviews
How item rating is calculated
View all reviews
5 stars
78% (94)
4 stars
6% (7)
3 stars
3% (4)
2 stars
2% (2)
1 star
11% (13)
Sort by

There are currently no written reviews for this product.