Build GenAI Agents with OpenAI + vLLM

Build GenAI Agents with OpenAI + vLLM

Stew Wao

64,79 €
IVA incluido
Disponible
Editorial:
GitforGits
Año de edición:
2026
ISBN:
9789349174245
64,79 €
IVA incluido
Disponible

Selecciona una librería:

  • Librería Samer Atenea
  • Kálamo Books
  • Librería Elías (Asturias)
  • Librería Kolima (Madrid)
  • Librería Proteo (Málaga)

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 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

Artículos relacionados

  • Web App Development Made Simple with Streamlit
    Rosario Moscato
    Unlock the full potential of Streamlit, mastering web app development from setup to deployment with practical guidance, advanced techniques, and real-world examplesKey FeaturesIdentify and overcome web development challenges, crafting dedicated application skeletons using StreamlitUnderstand how Streamlit’s widgets and components work to implement any kind of web appManage web ...
    Disponible

    70,91 €

  • Artificial Intelligence and Society
    SREEKUMAR V T / V T SREEKUMAR
    In 'Artificial Intelligence and Society: Navigating the Road Ahead,' readers embark on a comprehensive exploration of the intersection between artificial intelligence (AI) and the fabric of human society. Authored by experts in the field, this illuminating book delves into the transformative potential of AI technologies, their implications for various aspects of human life, and...
  • Knowledge Engineering
    Dorin Marcu / Gheorghe Tecuci / Mihai Boicu
    ...
  • Remaining Human in the Age of Artificial Intelligence
    Jeames Hanley
    Remaining human in the age of AI is a guide to understanding ourselves and the traits that make us human as well as understanding AI and how it is impacting our lives today and into the future. In a future so inexorably soaked in technology, characteristics such as creativity, empathy, and emotional intelligence will become more important than ever before.As the world continues...
    Disponible

    24,64 €

  • 'Careers in Information Technology
    Patrick Mukosha
    'Careers in Information Technology: AR/VR Developer' serves as an insightful guide for individuals aspiring to embark on a rewarding journey in the field of Augmented Reality (AR) and Virtual Reality (VR) development. Authored by an experienced IT professional, this book provides a comprehensive overview of the skills, knowledge, and opportunities that define the role of an AR/...
    Disponible

    18,60 €

  • The Measure of All Minds
    José Hernández-Orallo
    ...